Writing Code

The Qt Design Studio code editor is fully equipped with semantic highlighting, syntax checking, code completion, code indentation, context sensitive help, and in-line error indicators while you are typing.

  • Semantic Highlighting

    Qt Design Studio enables you to write well formatted code by highlighting code elements and blocks. You can use syntax highlighting also for other types of files than C++ or QML.

  • Checking Code Syntax

    Qt Design Studio checks for errors when you write code and displays inline error and warning messages. Similarly, it checks the data structure of an instance of a JavaScript object notation (JSON) entity. In addition, you can run static checks on the QML and JavaScript code in your project to find common problems.

  • Complete code

    Qt Design Studio anticipates what you are going to write and completes code and code snippets for elements, properties, and IDs.

  • Indent text or code

    Qt Design Studio indents text and code according to rules that you specify separately for files that have C++, QML, or Nim (experimental) code and for other text files.

  • Using Qt Quick Toolbars

    When you edit QML code in the code editor, you specify the properties of QML components. For some properties, such as colors and font names, this is not a trivial task. For example, few people can visualize the color #18793f. To easily edit these properties, you can use the Qt Quick Toolbars.

Available under certain Qt licenses.
Find out more.