marko-js / marko

A declarative, HTML-based language that makes building web apps fun
https://markojs.com/
MIT License
13.37k stars 643 forks source link

Language Server #859

Closed mlrawlings closed 6 years ago

mlrawlings commented 7 years ago

We should create a language server to support our advanced editor features across multiple editors

patrick-steele-idem commented 6 years ago

Proposed features:

maxmilton commented 6 years ago

That would be amazing. I'm happy to help with it implemented in a VS Code extension :)

For reference here's the Vue equivalent: Lang server: https://github.com/vuejs/vetur/tree/master/server VS Code extension: https://github.com/vuejs/vetur

austinkelleher commented 6 years ago

@MaxMilton Thanks for your interest! @CestDiego is currently working on this and we should have this project open sourced in the near future. I'm sure that there will be additional features that you could help with if you want 👍 👍

CestDiego commented 6 years ago

So far we've got go to definition and jump to symbols in a marko file (only on the template ones) The tricky part about this is going to have multi-language-support.

I believe the Vue equivalent already does this, so we at least know it's not impossible.

DylanPiercey commented 6 years ago

@CestDiego got this started 😄. Lets track future features over here.