Skip to main content



      Home
Home » Modeling » TMF (Xtext) » quickfixprovider for vscode
quickfixprovider for vscode [message #1796847] Fri, 19 October 2018 13:12 Go to next message
Eclipse UserFriend
Does quickfix provider fragment of xtext work only with eclipse?

Normally if we are developing an eclipse plugin an automatic quickfixprovider class will be generated

However this is not the case if we have an eclipse project for a generic ide.

How can I use a quickfix provider for VS-Code?

Thanks
Re: quickfixprovider for vscode [message #1796848 is a reply to message #1796847] Fri, 19 October 2018 13:16 Go to previous messageGo to next message
Eclipse UserFriend
No you have to come up with a own impl that uses commands/code actions
To mimic quick fix behaviour
https://github.com/theia-ide/yang-lsp/blob/master/yang-lsp/io.typefox.yang.ide/src/main/java/io/typefox/yang/ide/codeAction/CodeActionService.xtend
Re: quickfixprovider for vscode [message #1796853 is a reply to message #1796848] Fri, 19 October 2018 14:34 Go to previous messageGo to next message
Eclipse UserFriend
thanks for the link
Re: quickfixprovider for vscode [message #1796855 is a reply to message #1796853] Fri, 19 October 2018 15:05 Go to previous messageGo to next message
Eclipse UserFriend
here is an example that uses pure codeactions: https://github.com/itemis/xtext-languageserver-example/pull/37
Re: quickfixprovider for vscode [message #1796857 is a reply to message #1796855] Fri, 19 October 2018 15:17 Go to previous message
Eclipse UserFriend
@Christian
thanks alot. The last link will be very useful.
Previous Topic:Could not serialize Mission via backtracking
Next Topic:Graphical view of an XText model
Goto Forum:
  


Current Time: Thu Jun 12 09:20:35 EDT 2025

Powered by FUDForum. Page generated in 0.53841 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top