|
Re: Code Mining with Embedded Editor [message #1807495 is a reply to message #1807485] |
Fri, 31 May 2019 07:50 |
|
(1) the enable expression does not make sense
(2) xtext embedded editor does not support code minings
(2a) org.eclipse.jface.text.source.SourceViewerConfiguration.getCodeMiningProviders(ISourceViewer) is not customized
(2b) there is no equivalent to org.eclipse.ui.texteditor.AbstractTextEditor.installCodeMiningProviders()
(3) org.eclipse.ui.internal.texteditor.codemining.CodeMiningProviderRegistry.getProviders(ISourceViewer, ITextEditor) does require a real editor - so this might be a general platform problem
feel free to file an enhancement request at https://github.com/eclipse/xtext-eclipse
(if you come up with a solution or an idea how to solve this or even can come up with a pull request
that would be nice - i dont know if there are other place in eclipse that we could take as inspiration )
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
[Updated on: Fri, 31 May 2019 07:53] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03161 seconds