Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 'buf format' #67

Closed
amckinney opened this issue Mar 25, 2022 · 2 comments
Closed

Add support for 'buf format' #67

amckinney opened this issue Mar 25, 2022 · 2 comments

Comments

@amckinney
Copy link
Contributor

Now that buf format is released, we need to integrate it here.

@haunt98
Copy link

haunt98 commented May 5, 2022

In latest version, vscode-buf auto format my .proto files. Is there any config to disable that.

@rubensf
Copy link
Member

rubensf commented May 5, 2022

Forgot to tag this is as fixed by #70.

@haunt98 see this stackoverflow response: https://stackoverflow.com/questions/61827206/vscode-disable-all-auto-formatting-on-save#:~:text=Use%20vs%2Dcode%20default%20shortcut,search%20for%20save%20without%20formatting.

TL;DR: you can add this to your settings:

    "[proto]": {
        "editor.formatOnSave": false
    }

@rubensf rubensf closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants