herbix / hoi4modutilities

A VSCode extension that contains utilities for Heart of Iron IV mods developers
MIT License
83 stars 10 forks source link

[Feature request] Formatter for hoi4 files #9

Closed MattMcFarland closed 4 years ago

MattMcFarland commented 4 years ago

Is your feature request related to a problem? Please describe. I like to use vs-code's format document feature when working on various projects.

Describe the solution you'd like I'd like the filetype described as "hio4" to have a formatter associated with it.

Describe alternatives you've considered A workaround is to use the extension "paradox formatter" but that requires changing the language type to "paradox" instead of "hoi4", from there, you can format the document and then switch back to "hoi4" filetype. This doesnt' always work and is error prone, so even if we were stuck with this workaround, it would not really be a viable solution.

herbix commented 4 years ago

Hi @MattMcFarland, cwtools has formatter for hoi4 file type. Could you please have a try?

MattMcFarland commented 4 years ago

That worked! Thank you!

On Sat, Aug 29, 2020 at 11:28 PM Chaofan Yang notifications@github.com wrote:

Hi @MattMcFarland https://github.com/MattMcFarland, cwtools https://marketplace.visualstudio.com/items?itemName=tboby.cwtools-vscode has formatter for hoi4 file type. Could you please have a try?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/herbix/hoi4modutilities/issues/9#issuecomment-683371266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEYHOLNJBTMGBVNF6ZODG3SDHBNVANCNFSM4QPEOGWQ .

--

Matt McFarland

Software Engineer | @docodemore https://twitter.com/docodemore | LinkedIn http://www.linkedin.com/pub/matthew-mcfarland/6a/b9a/135/en | Mobile: 513.638.8685 | Office: 937.865.6800 xt: 125010