Community
Participate
Working Groups
I have started to implement Ctrl+Shift+G inside tern.java by implementing org.eclipse.wst.jsdt.ui.search.IQueryParticipant. See issue https://github.com/angelozerr/tern.java/issues/339 It works great for simple case like variable declaration: --------------- var a a // here Ctrl+Shift+G shows references) console.log(a); --------------- But there are a lot of limitations with that, because JSDT doesn't support ES6 (you cannot do the same thing with let variable, JSDT doesn't care of the scope like node.js where file has her own scope). In tern.java case I need: * file name * start offset of selection where Ctrl+Shift+G is lanched (not required) * end offset of selection where Ctrl+Shift+G is lanched So it should be cool if we could have a IQueryParticipant2 which works not with JST AST but just with file name, end offset. Do you think it's possible? Otherwise I will implement my own JavaSearchQuery (it will be very shame).