AvinZarlez / processing-vscode

A Visual Studio Code extension for the programming language Processing
https://marketplace.visualstudio.com/items?itemName=Tobiah.language-pde
MIT License
177 stars 25 forks source link

[FEATURE] Formatting #77

Closed raphaelgabbay closed 5 years ago

raphaelgabbay commented 5 years ago

I feel like there's no good extension for VS Code to automatically format .pde files, like there are with .js, .html, .py, and most popular coding languages basically.

I know that Processing is based on java so I tried my luck with using Google Java Format with the Google Java Format Provider extension for VS Code as my default formatter for .pde files, but I couldn't get it to work.

I'd love it if this extension supported auto formatting. I know it's a lot of work, but I'd be glad to help. The thing is I've never contributed to an existing project on Github so I'm a little bit lost and don't really know where to start. Moreover, since Google Java Format is an open-source project, I think it could be used as a starting point if we were to implement formatting to this extension.

For reference, I'm sure many of you have heard of / use Prettier.

raphaelgabbay commented 5 years ago

Oopsie, didn't read the closed issues before posting this one. Found my luck with #52 .