Code View and Smart Editor - 2025.2 English - UG1400

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

Document ID
UG1400
Release Date
2025-11-20
Version
2025.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
  • Jumping to the definition of variables or functions
  • Peeking the definition of variables or functions so you do not to leave the editing file
  • Reporting 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 lists 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. Use the table button and code button to switch between views. 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.

Figure 1. GUI Format
Figure 2. Text Format

The system saves the changes automatically when you enable Auto Save. Optionally, you can manually save changes in a file with the keyboard shortcut Ctrl + S.