-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always interpret the full workspace symbol query as a package name. #2174
Conversation
...e.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/WorkspaceSymbolHandlerTest.java
Outdated
Show resolved
Hide resolved
...clipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/WorkspaceSymbolHandler.java
Show resolved
Hide resolved
...clipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/WorkspaceSymbolHandler.java
Show resolved
Hide resolved
e220ed6
to
24e7f6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Before merging, I'll try to compare the performance of this feature on queries that produce roughly the same results before & after this change. That way we can know what overhead is introduced by the additional search. As for using |
That sounds good @rgrunber. |
- For a query of 'foo.bar.baz', in addition to searching for all types matching 'baz', whose package matches 'foo.bar', we should also search for all types whose package matches 'foo.bar.baz' - Refactor custom TypeNameMatchRequestor & MethodNameMatchRequestor - Add testcase Signed-off-by: Roland Grunberg <[email protected]>
24e7f6a
to
4a6a4c2
Compare
test this please. |
test this please. |
1 similar comment
test this please. |
test this please |
matching 'baz', whose package matches 'foo.bar', we should also search
for all types whose package matches 'foo.bar.baz'
Signed-off-by: Roland Grunberg [email protected]
This was discussed in redhat-developer/vscode-java#2538 (comment)
CC : @gayanper