.. _Quick Fix Proposals:

Quick Fix Proposals
===================

.. rst-class:: lead

**Quick Fix Proposals** are available for the problems indicated with a light-bulb on the left vertical bar of the editor.

Place the editor cursor on the problem's line and press :kbd:`Ctrl+1`, or **right-click** and select :menuselection:`Source --> Quick Fix` from the context menu.

.. figure:: ../../images/common/e_quick_fix_menu_first_page.png
	:align: center




The available quick fix proposals are shown in a pop-up list. Use the :kbd:`Up` and :kbd:`Down` arrows to select a quick fix, then press :kbd:`Enter` to apply it.

.. figure:: ../../images/common/e_quick_fix_list_first_page.png
	:align: center




.. tip::

	When there are more problems reported on the same line, the list aggregates all proposals. If you place the editor cursor inside a problem's highlight range (squiggle underline) the proposals for that particular problem are shown first.

.. tip::

	You can also **right-click** on an entry in the :ref:`Problems View` and select :guilabel:`Quick Fix` from the context menu.

.. figure:: ../../images/common/e_quick_fix_problems_menu_first_page.png
	:align: center




.. toctree:: 

   fix-with-ai-assistant.rst
   explain-with-ai-assistant.rst
   correct-spelling-in-comments-and-strings.rst
   create-file-from-build-config-editor.rst
   create-imported-file.rst
   declare-enum-constant.rst
   declare-event.rst
   declare-variable.rst
   did-you-mean.rst
   waive-compilation-problems.rst

