Autocomplete suggestion files in project [message #1831521] |
Fri, 21 August 2020 12:45  |
Eclipse User |
|
|
|
Hey,
I have question - at certain points in editor I want to suggest:
1. JSONPaths from other file
2. file names that are in user project
I was able to set up simple grammar and generator, language server that Theia is using.
Somehow files are ending up in src-gen in user project anyways :)
So now in .ide module in IdeContentProposalProvider I want to get list of files that are in user's workspace (or in src-gen in user's workspace)
Additionally I want user to provide sample JSON or XML from which I can get all JSONPaths or XMLPaths and add some proposal as well.
In generator I have IFileSystemAccess2 that allows me to access user files, but I cannot inject same object into IdeContentProposalProvider. Is there any way to do this?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05566 seconds