mIRC-Scripters / mSL-VSCode-Extension

VSCode Extension - mIRC Scripting Language Support. (WIP)
MIT License
11 stars 0 forks source link

mSL Formatter for VS Code #18

Open westor7 opened 3 years ago

westor7 commented 3 years ago

It would be nice to figure out how we can build a mSL formatter for VSC .

Formatter suppose to work like CTRL + H on mIRC/AdiIRC Scripts Editor

Key combination : Shift + Alt + F says there is not any made yet.

Kedyn commented 3 years ago

I am currently focusing on other projects, but I do plan to come back and add new things to this project. Adding a formatter is one of those things I was thinking of adding, but if anyone is interested in working in this, you may check out:

https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices

would recommend using the formatting API instead of the command as stated on the page above it provides a way to add Format on Save option without having to add it yourself.