-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Vue.js support? #83
Comments
cc @jabby |
I will take this one. |
@jabby build is back to green. What's the status of this one, anything to merge? |
Not yet. I would like to provide a basic configuration to vue-language server in order to provide some good completion. Actually, the default behaviour is not really good. |
@mickaelistria is that a problem if we have a dependency to gson? I think I will parse a JSON file with default configuration and send the conf to vue-language-server |
Not so much. Wild Web Developer already transitively requires GSon which is used by LSP4J. We'd just need a CQ to officialize that we consume it directly though. |
@jabby GSON is used by LSP4j and it is embed in Eclipse IDE. So I think it will not a problem. After you can use Map like I have doen to intialize JSON Language Server https://github.com/eclipse/wildwebdeveloper/blob/master/org.eclipse.wildwebdeveloper/src/org/eclipse/wildwebdeveloper/json/JSonLanguageServer.java#L70 (uggly code) I assume you will need some preferences page. I'm interested by this topic because I would like to contribute with XML Language Server lsp4xml which requires preferences too (where we must set the preferences page, formattings preferences page should perhaps exists in lsp4e, but how to add new formatting options, etc?). |
There will be no preference page in LSP4E for options or preferences until those are defined in the LSP specification. |
I mean |
Ok, those can be in the preference page, and be specified from the
extension point also.
I guess we could have a "formatting" page which would list the various LS
and the default (could be IDE defaults if not set) values which could then
be edited by end-user. We need to make sure the PreferenceNode we use are
easy enough to bind listeners so specific integration plugin could
manipulate those properties or listen to them changing from different
preference pages.
|
Sorry for the delay. The other part comes from other plugins of vscode.
Only the At the end, I would provide preferences pages for managing this configuration. |
@jabby Can we have a 1st version that just hardcodes the preferences and later we'll see which ones require to be exposed as dedicated preferences? |
I will try to add next week. Not sure because I will move from my home to new one in few weeks and I need to pack all my things. |
just 👍 here. And hoping @jabby moving went with dominantly good feelings. |
…age-server Signed-off-by: Gautier de Saint Martin Lacaze <[email protected]>
…age-server Signed-off-by: Gautier de Saint Martin Lacaze <[email protected]>
…age-server Signed-off-by: Gautier de Saint Martin Lacaze <[email protected]>
…age-server Signed-off-by: Gautier de Saint Martin Lacaze <[email protected]>
Hi all, Has there been any further progress in getting the licensing issues sorted out for this? Would really love Vue support in Eclipse! |
Unfortunately there is no progress. Please add a comment to this issue vuejs/vetur#1458 |
Hi all, still no update on this ? |
At the moment, this IP issues seems not likely to be resolved. Anyone willing to use vetur in an Eclipse IDE plugin should consider building a separate plugin and publishing it as a separate entry on Eclipse Marketplace. |
Thx for the prompt answer. 🙏 Regarding :
There is maybe some solution but stylint project seems to be not so active : vuejs/vetur#1458 (comment) |
if anybody would know how to do a PR request, they would welcome it (Unfortunately it would take me forever :-( ) |
All, Has there been any progress at all in getting this resolved? |
No. |
Is there any estimated time for this to get sorted and have vue js support in eclipse wild web developer? |
Right now I'm not aware of anyone working to add support for it so it won't be available until someone dedicates time to work on it. |
@kashyap1113 to be clear, the project is waiting for an interested contributor to take care of contributing it. Would you be interested? |
@mickaelistria I would love to contribute if I get the opportunity. The thing is, I have used Eclipse but never worked on its development. I would need someone's guidance from time to time as I am completely new to Eclipse development and language servers. I did some research about language server and have understood the concept of it. From @jabby 's comment I have understood that we have to take reference of Vetur which is build in typescript but same way we have to implement it in java and fit it into Eclipse. I can find reference of integration of other language server at: Could you please share any resources which help me better understand or any topics which I must understand before starting this? Especially related to Eclipse development? |
To get at least syntax highlighting for *.vue files, you can use my plugin https://github.com/sebthom/extra-syntax-highlighting-eclipse-plugin |
It was suggested to try Volar Language Server ( @volar/vue-language-server npm package). To try it in Wild Web Developer:
That should be all! @sebthom if you're willing to contribute some support for vue.js in Wild Web Developer, that would be welcome. |
I am not (yet?) using vue.js myself. Once I do, I may contribute something. No promises made however. |
Note they recently renamed latest release to |
Working on latest snapshot :D Please tests, so I'll be able to provide potential fixes |
It seems like there is a language server for Vue.js. Should we add it to Wild Web Developer? Is it good enough? Is Vue.js popular and sustainable enough to be worth it?...
The text was updated successfully, but these errors were encountered: