.. _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 :kbd:`Right+Click` and select :menuselection:`Source --> Quick Fix` from the context menu.

.. figure:: ../../images/common/sv_quick_fix_menu_first_page.png

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

.. figure:: ../../images/common/sv_quick_fix_list_first_page.png

.. 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 :kbd:`Right+Click` on an entry in the :ref:`Problems View` and select **Quick Fix** from the context menu.

.. figure:: ../../images/common/sv_quick_fix_problems_menu_first_page.png

.. toctree::

   fix-with-ai-assistant.rst
   explain-with-ai-assistant.rst
   add-parameter-to-module.rst
   add-port-to-module.rst
   add-signal-to-sensitivity-list.rst
   add-virtual-qualifier-to-interface-type.rst
   correct-spelling-in-comments-and-strings.rst
   create-class-in-new-file.rst
   create-file-from-build-config-editor.rst
   create-included-file.rst
   create-interface-class-in-new-file.rst
   declare-extern-prototype.rst
   declare-method.rst
   declare-variable.rst
   did-you-mean.rst
   explicitly-declare.rst
   fully-qualify-type.rst
   implement-extern-constraint.rst
   implement-extern-method.rst
   implement-missing-pure-virtual-methods.rst
   import-type.rst
   remove-local-or-protected-qualifier.rst
   remove-signal-from-sensitivity-list.rst
   remove-signal-never-used.rst
   update-extern-prototypeimplementation.rst
   update-module-instance.rst
   update-virtual-method-signature.rst
   waive-compilation-problems.rst

