thrift-syntax-support icon indicating copy to clipboard operation
thrift-syntax-support copied to clipboard

Consider supporting the formatter function?

Open nolongerwait opened this issue 3 years ago • 4 comments

In terms of current functional experience, this extension is the best among all the thrift extension in VS Code I have used.

But now almost all thrift plugins do not support native vscode format shortcuts(Shift + Option + F in macOS).

There is an extension(developed by our compatriots) that has a formatting function, but it is not very useful and has many problems when formatting.

nolongerwait avatar Dec 23 '21 06:12 nolongerwait

Thank you for your suggestion! I will first see the official documentation to assess the complexity of implementation.

MrKou47 avatar Dec 31 '21 05:12 MrKou47

Thanks for the reply. In fact, I am also thinking about learning how to add features to vscode extension by myself. If you really don’t have time, I can follow up with a PR to enhance the extension.

However, as a C++ development, there may be a lot for me to learn. :-D

nolongerwait avatar Dec 31 '21 09:12 nolongerwait

Sure! PR welcome!

MrKou47 avatar Jan 02 '22 02:01 MrKou47

hi guys. i have write an another thrift formatter extension base on antlr4ts https://github.com/thrift-labs/thrift-fmt-vscode

欢迎体验 👀 👀

alingse avatar Dec 01 '22 15:12 alingse