Code View and Smart Editor - 2023.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

The Source Code editor in the Vitis Unified IDE supports the following features:

  • Syntax highlight for C, C++, Python, Makefile, CMakeList.txt file
  • Hint for variable names, function names, etc
  • Jump to the definition of variables or functions
  • Peek the definition of variables or functions so that you need not leave the editing file
  • Report the references of variables and function

You can open the outline window by selecting the button on the right, or selecting the Outline View from the View menu. The Outline window can list the function names in your source code.

The smart editor for launch.json files and build.json files can switch views between GUI rendering, Text rendering and Text Editor view with the table button and code button . The GUI rendering only displays the options that it can recognize for the context. For advanced use cases, you need to edit the configuration file manually. The modifications in one view updates the other view instantly. The following figures are GUI format and text format.

Figure 1. GUI Format
Figure 2. Text Format

The changes are saved automatically when Auto Save is enabled. Optionally, you can manually save changes in a file with keyboard shortcut Ctrl + S.