user-components-editor-edit-code.rst 846 B

123456789101112131415161718
  1. .. include:: ../_header.rst
  2. Edit the component code
  3. ```````````````````````
  4. To edit the `code generated <user-components-compiler.html>`_ for a component, you can double click on a component in the editor. It will open the component code file in the built-in code editor.
  5. Also, you can select the component and press the ``Q`` key. It will open a Quick Edit dialog with a code editor:
  6. .. image:: ../images/scene-editor-user-components-edit-code-20221101.webp
  7. :alt: Edit component code in the Quick Edit dialog.
  8. The context menu shows all the options to edit the output file of a component:
  9. .. image:: ../images/scene-editor-user-components-open-editor-menu-20221101.webp
  10. :alt: Open output file options.
  11. The **Open Output File in Visual Studio Code** (``Ctrl+Alt+E``) command opens the output file in the configured external editor.