Coding
Writing, editing, and navigating in source code are core tasks in application development. Therefore, the code editor is one of the key components of Qt Creator. You can use the code editor in the Edit mode.
The following sections describe coding with Qt Creator:
- Using the Editor describes how to work in the code editor, use the editor toolbar, split the view, add bookmarks, and move between symbol definitions and declarations.
- Semantic Highlighting describes highlighting code elements and blocks, as well as using syntax highlighting also for other types of files than C++ or QML.
- Checking Code Syntax describes how errors are visualized while you write code.
- Completing Code describes how code and code snippets are completed for elements, properties, an IDs.
- Indenting Code describes how to specify indentation either globally for all files or separately for: text, C++, or QML files.
- Finding and Replacing describes the incremental search that highlights the matching strings in the window while typing and the advanced search that allows you to search from currently open projects or files on the file system. In addition, you can search for symbols when you want to refactor code.
- Refactoring describes the features that help you improve the internal quality or your application, its performance and extendibility, and code readability and maintainability, as well as to simplify code structure.
- Using Qt Quick Toolbars describes how to use the Qt Quick Toolbars to edit the properties of QML elements in the code editor.
- Searching With the Locator describes how to browse through projects, files, classes, methods, documentation and file systems.
- Pasting and Fetching Code Snippets describes how to cooperate with other developers by pasting and fetching snippets of code from a server.
- Using Text Editing Macros describes how to record and play text editing macros.
- Configuring the Editor describes how to change the text editor options to suit your specific needs.
- Using FakeVim Mode describes how to run the main editor in a manner similar to the Vim editor.
|