Skip to content

Visual Studio Code Configuration

We recommend using Visual Studio Code (VS Code) as the main code editor at Terra. It’s lightweight, fast, and highly customizable with a huge library of extensions — perfect for the variety of technologies we use across projects (Astro, WordPress, Vue, Nuxt, PHP, etc).

Also: 👉 if you’re using some cool extension or trick that helps your workflow, share it with the team in Slack! We’re always up for improving our setup. 😄

To ensure consistency across projects, we use 4 spaces for indentation.
You can configure this in VS Code by following these steps:

  1. Open Code > Preferences > Settings
  2. Search for Editor: Tab Size
  3. Set the value to 4
  4. Make sure “Insert Spaces” is enabled

We suggest installing the following extensions to improve your development experience:

ExtensionPurposeLink
Better CommentsHighlight different types of comments🔗
Auto Close TagAutomatically closes HTML/XML tags🔗
Auto Rename TagRenames paired HTML/XML tags simultaneously🔗
Prettier - Code formatterAuto-formats code on save🔗
Console NinjaHelps with console.log management and debugging🔗
AstroSyntax highlighting and language support for Astro🔗
Git BlameShows git blame information inline🔗
Nuxt Extension PackCollection of helpful Nuxt.js extensions🔗
NuxtrSnippets and helpers for Nuxt 3🔗
PHP IntelephensePHP language server for better autocompletion and linting🔗
Vue - OfficialOfficial Vue language tools (recommended for Vue 3)🔗