Editor Settings

Table of Contents

VS Code / VSCodium

VS Code (and its Libre Open Source version VSCodium) is an extremely powerful editor, favored by many developers at LS&T. Here are some settings and extensions you might find useful.

To edit settings hit CMD + ,, or go to VSCode > Settings… > Settings. From there, you can search for the setting by name.

  • Files: Insert Final Newline - enabled
    • POSIX definition of a line requires a line to end with a newline character.
    • This setting helps avoid those ugly red newline warnings in Git and GitHub.
    • This setting is required.
  • Files: Trim Final Newlines - enabled
    • Prevents users from over-compensating for the above setting
  • Editor: Render Final Newline - on
    • Up to user preference, dimmed is another good option
  • Editor: Render Whitespace - all
    • This will help spot mismatched indentation, excess whitespace, and other whitespace-related issues.
    • Can take some getting used to, but worth trying for a bit
    • Ultimately up to user preference

Extensions

Have a recommended setting or cool extension to share? Submit a PR!