sedyh/ebitengine-kage-vscode

Bug: vscode plugin turns off gofmt/goimports formatting from go plugin

Closed this issue · 2 comments

sedyh commented

Problem

When I select a file's type to kage, go language server stops auto-formatting even when I set the file extension to .kage.go.

sedyh commented

It seems that defining the default formatter for a custom language extension from another extension does not work in general. I've made an issue in vscode repo.

sedyh commented

Judging by the words of the developers, the only way is to make your own formatter. I'll try to make lsp server, but I can't promise anything yet.