.. _Code Formatting:

Code Formatting
===============

.. rst-class:: lead

In order to format a selected region of code or an entire file, use the **Format Source** action. 

Press :kbd:`Ctrl+Shift+F` or use editor's right click menu :menuselection:`Source --> Format Source`.

All code formatting preferences are available at menu :menuselection:`Window --> Preferences --> DVT --> SystemVerilog --> Editor --> Formatting`.

.. toctree:: 

   whitespace.rst
   indentation.rst
   vertical-alignment.rst
   line-wrapping.rst
   disable-format-for-code-sections.rst
   format-multiple-files.rst
   external.rst
   preferences-keys.rst
   automatic-indentation-as-you-type.rst
