• Understanding and navigating NaCls

    • Find and replace

      • Provides find and replace functionality within a certain file
      • Control/command + F when focused inside a file editor to open the find and replace box
      • The > icon on the left exposes the replace part of the UI
      • Hover over buttons to learn their function, e.g. Match Case, Match Whole Word, and more
    • Syntax highlighting

    • Right-click menu options

      • Go to definition
        • Works when focused on an element ID: an element definition block or a reference to an element
        • For elements with multiple definition blocks, it will show all blocks and let you choose which one to navigate to
        • Clicking a definition opens the relevant file at the relevant line
      • Go to references
        • Works when focused on an element ID: an element definition block or a reference to an element
        • For elements with multiple references, it will show all references and let you choose which one to navigate to
        • Clicking a reference opens the relevant file at the relevant line
      • Copy element ID
        • Works when focused on an element ID: an element definition block or a reference to an element
        • Copies the full element ID to your clipboard
        • Useful when you need an element's full ID in order to reference it
  • Changing NaCls

    • Right-click menu options
      • Includes options like Move Element to Common, Clone Element to Another Env and more
      • For detailed descriptions see How Multi-env works
    • Autocomplete
  • Command Palette

    • To access the command palette right-click inside any NaCl file and it should be an option in the right-click menu. With your cursor focused inside a file using the F1 keyboard button works as well
    • The palette includes many useful commands for viewing and editing NaCls, such as:
      • Fold and unfold commands are helpful in making sense of larger files
      • Zoom commands for controlling the editor's font size without changing the size of any other element of the app
      • and many more

Did this page help you?