Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>protolintNew to Visual Studio Code? Get it now.
protolint

protolint

Astryna Tools

|
367 installs
| (2) | Free
Integrates protolint linter into Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

protolint for Visual Studio Code

Integrates protolint into VS Code.

📀 Installation

To use this extension, you need to install protolint via any convenient method. Follow instructions at https://github.com/yoheimuta/protolint#installation.

The minimum supported version is 0.58.0. If you are stuck on an older binary, please read our Migration & Downgrade Guide.

⚙️ Configuration

protolint.command

⚙️protolint.command setting specifies the command to run protolint or the absolute path to its executable file.

If protolint is added to the system's PATH, typically the default configuration should work correctly.

Relative paths must start with a ./ and are supported only for Folder settings. In that case, the path will be resolved relative to the root of the corresponding Workspace Folder.

For example, if you've installed protolint into your project through npm, you can set the following value for the Workspace Folder setting:

./node_modules/protolint/bin/protolint

On Windows, you can omit the .exe file extension, so the example configuration works across all operating systems.

✨ Features

🔍 Lint-on-Type

Diagnostics generated by protolint update automatically when editing a .proto file without saving it.

This operation runs completely in memory via stdin, no temporary physical files needed.

The diagnostics for untitled protobuf documents is provided only when there is a protobuf language extension active in VS Code and the document language ID is "proto3".

💡 Quick Fixes

Some problems allow applying granular quick fixes directly.

protobuf message name quick fix

💡 Autofix

protolint lint -fix corrections are applied to the selected document while keeping the original .proto file unchanged on disk.

Use the editor command protolint.editorAutofix to autofix the active document.

📐 Support for .protolint.yaml

The extension fully delegates configuration discovery to the native protolint CLI logic but has some nuances due to the stdin execution context:

  • In single-folder and multi-root workspace modes, only configuration files located at the root of a Workspace Folder are considered. Any nested configuration files (located in subdirectories deeper than the active Workspace Folder root) are ignored. For multi-root workspaces, the closest Workspace Folder root is used as the execution directory.
  • Untitled protobuf documents do not inherit these configurations.

📂 Multi-Root Workspace Support

Different versions of the protolint binary can be set up per Workspace Folder.

💬 Language Status Item

A language status item shows the protolint version used for the active .proto file.

protolint status item

📄 License

This project is licensed under the terms of the MIT license.

📜 Attribution

This extension uses the utility protolint.

The icon design was inspired by the TSLint logo.

🌟 Help Us Grow

If you found this extension useful, please rate it on the Visual Studio Marketplace and give us a star on GitHub. Your support helps more people discover and benefit from our tool. Thank you!

🤝 Contributing

Will be documented later.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft