Apply quick fixes

To apply quick fixes while refactoring code, select them in a context menu in the code editor. The fixes available depend on the position of the cursor in the code editor.

  1. To apply quick fixes to QML code, right-click an item ID or name.
  2. In the context menu, go to Refactoring and then select a quick fix.

Or, press Alt+Enter to open a context menu that has quick fixes available in the current cursor position.

By default, the refactored files are saved automatically. To turn off this feature, go to Preferences > Environment > System and select Auto-save files after refactoring.

See also Rename symbols and QML Quick Fixes.

Available under certain Qt licenses.
Find out more.