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.

See also QML Quick Fixes and Refactoring.

Available under certain Qt licenses.
Find out more.