# Editor setup (/docs/orm/v6/more/dev-environment/editor-setup)

Location: ORM > v6 > More > Dev environment > Editor setup

This page describes how you can configure your editor for an optimal developer experience when using Prisma ORM.

If you don't see your editor here, please [open a feature request](https://github.com/prisma/prisma/issues/new?assignees=\&labels=\&template=feature_request.md\&title=")" and ask for dedicated support for your editor (e.g. for syntax highlighting and auto-formatting).

VS Code extension [#vs-code-extension]

You can install the official [Prisma VS Code extension](https://marketplace.visualstudio.com/items?itemName=Prisma.prisma). It adds extra capabilities to VS Code when developing applications with Prisma ORM:

* Syntax highlighting of `schema.prisma`
* Linting
  * Diagnostic tools are used to surface errors and warnings in your schema file as you type.
* Code Completion
  * Completion results appear for symbols as you type.
  * You can trigger this manually with the `Ctrl+Space` shortcut.
* Documentation help
  * Documentation of a completion result pops up as completion results are provided.
* Quick info on hover
  * Documentation Comments (`///`) of models and enums appear anywhere you hover over their usages.
* Go to Definition
  * Jump to or peek a model or enum's declaration.
* Formatting
  * Format code either manually or on save (if configured).
    * To automatically format on save, add the following to your `settings.json` file:
      ```json
      "editor.formatOnSave": true
      ```
    * To enable formatting in combination with `prettier`, add the following to your `settings.json` file:or use the [Prettier plugin for Prisma](https://github.com/umidbekk/prettier-plugin-prisma)
      ```json
      "[prisma]": {
        "editor.defaultFormatter": "Prisma.prisma"
      },
      ```
* Rename
  * Rename models, enums, fields and enum values
    * Click into the model or enum, press `F2` and then type the new desired name and press `Enter`
    * All usages will be renamed
    * Automatically applies `@map` or `@@map` on the schema
* Quick-fixes
  * Quickly fix typos in model and enum names
  * Create new models and enums with a single click

> [!NOTE]
> If you're using VS Code, you can use [VS Code agent mode](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) to enter prompts such as “create Postgres database” or “apply schema migration” directly in the chat. The VS code agent handles all underlying Prisma CLI invocations and API calls automatically. See our [VS Code Agent documentation](/guides/postgres/vscode#agent-mode) for more details.

Community projects [#community-projects]

> **Note**: Community projects are not maintained or officially supported by Prisma and some features may by out of sync. Use at your own discretion.

Emacs [#emacs]

* [emacs-prisma-mode](https://github.com/pimeys/emacs-prisma-mode) provides syntax highlighting of the Prisma Schema Language and uses the Prisma Language Server.

Vim [#vim]

* [vim-prisma](https://github.com/prisma/vim-prisma) provides file detection and syntax highlighting of the Prisma Schema Language.

neovim [#neovim]

* [coc-prisma](https://github.com/pantharshit00/coc-prisma) implements the Prisma Language Server.

JetBrains IDE [#jetbrains-ide]

* [Prisma ORM](https://plugins.jetbrains.com/plugin/20686-prisma-orm) Provided by JetBrains. This plugin provides PSL grammar, syntax highlighting, LSP, and more.

Sublime Text [#sublime-text]

* [Prisma](https://packagecontrol.io/packages/Prisma) - For Sublime Text 3 & 4 - Provides syntax highlighting for the Prisma Schema Language. ([Source Code](https://github.com/Sublime-Instincts/PrismaHighlight/))
* [LSP-prisma](https://packagecontrol.io/packages/LSP-prisma) - For Sublime Text 4 - Language Server helper package for Prisma schema files that uses Prisma's Language Server to provide linting, error checking, formatting, autocompletion, renaming etc. Note: It requires the Prisma package to be installed. ([Source Code](https://github.com/Sublime-Instincts/LSP-prisma))

nova [#nova]

* [nova](https://extensions.panic.com/extensions/robb-j/robb-j.Prisma/) provides syntax highlighting of the Prisma Schema Language and uses the Prisma Language Server.

Helix [#helix]

* [Helix](https://helix-editor.com/) (from version 22.08) provides syntax highlighting of the Prisma Schema Language and uses the Prisma Language Server.

CLI autocomplete [#cli-autocomplete]

inshellisense [#inshellisense]

You can get IDE-style autocompletion for Prisma CLI using [`inshellisense`](https://github.com/microsoft/inshellisense/tree/main). It supports: bash, zsh, fish, pwsh, powershell (Windows Powershell).

To install, run:

  

#### npm

```bash
npm install -g @microsoft/inshellisense
```

#### pnpm

```bash
pnpm add -g @microsoft/inshellisense
```

#### yarn

```bash
yarn global add @microsoft/inshellisense
```

#### bun

```bash
bun add --global @microsoft/inshellisense
```

## Related pages

- [`Environment variables`](https://www.prisma.io/docs/orm/v6/more/dev-environment/environment-variables): Learn how to manage environment variables in your Prisma ORM project