albrow / fo

An experimental language which adds functional programming features to Go.
Other
1.24k stars 34 forks source link

Code formatting support for VSC and IntelliJ #4

Open just1689 opened 6 years ago

just1689 commented 6 years ago

Love the project. Great work! Looking forward to seeing where things go from here.

This is not an issue for you necessarily but would be profitable should Fo be adopted.

It would be nice to have code formatting support for Fo in VS Code and Intelli-J

albrow commented 6 years ago

Thanks @just1689 This is definitely something I'll be thinking about. Wanted to focus on getting the core language working first.

For now, it usually works okay-ish to use Go syntax-highlighting. Formatting can sometimes work too.

albrow commented 6 years ago

I'm marking this as a good first issue for someone who wants to contribute. It's pretty independent and probably won't require much knowledge of the Fo internals. There might be some tricky bits around ambiguous expressions involving [ and ] but my hope is that this ambiguity will not matter for code formatting or syntax highlighting. The other thing to keep in mind is that the language is going to move fast in the beginning and things might break and need to be updated often.

If someone does want to tackle this, please feel free to comment here or email me if you have any questions.

If no one takes this up, I'll probably try it myself eventually. I'll start with the editor I use (VS Code).