Restricting scope to files that are currently open [message #1860220] |
Mon, 24 July 2023 07:10  |
Eclipse User |
|
|
|
Hello,
I was wanting to know whether there was a way to restrict scope to files that are currently open in the editor, irrespective of whether they are present in the project or else where.
I tried using the PlatformUI class to obtain the paths of the files that are currently open, and then created a new Xtext resource for each file path. I then load the contents and add the required reference objects to a list that I pass to the scope.
But loading the contents to the resource is taking too much time and affecting the performance. Is there any better way?
Thank you,
Atul
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03600 seconds