From 5274efb43e25f5422946634ccbda2ef9fc71ac08 Mon Sep 17 00:00:00 2001 From: Nicholas Molnar <65710+neekolas@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:11:45 -0700 Subject: [PATCH] build: set default formatter --- .vscode/settings.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 269fe736..7911ace8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,12 @@ { - "protoc": { - "compile_on_save": false, - "options": [ - "--proto_path=build/tmp/vendor", - ] - }, - // protolint complains if lines are longer than length 80, display a ruler - "editor.rulers": [80] + "protoc": { + "compile_on_save": false, + "options": ["--proto_path=build/tmp/vendor"] + }, + "[proto3]": { + "editor.defaultFormatter": "bufbuild.vscode-buf", + "editor.formatOnSave": true + }, + // protolint complains if lines are longer than length 80, display a ruler + "editor.rulers": [80] }