-
Notifications
You must be signed in to change notification settings - Fork 431
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
doesnt work outside of methods #3422
Comments
this led me to #3186 but idk how to fix it |
|
Tried on VS Code 1.85.0 with vscode-java 1.25.1 but can't get this to happen.
The only thing I can think of is maybe JDT Core changed how it handles the token context. Fixing it would be an easy check at https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/cd8467833e3c988cdeca69badf60c169698f8902/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/contentassist/CompletionProposalRequestor.java#L698 Update: Or maybe something in VS Code 1.85.0 has changed some aspect of how code completions are cancelled ? I did notice @snjeza can you reproduce this at all ? |
This is the kind of bug that should be fixed even if people cannot replicate it. See https://github.com/eclipse-jdtls/eclipse.jdt.ls/pull/2997/files |
- Fixes redhat-developer/vscode-java#3422 Signed-off-by: Rob Stryker <[email protected]>
- Fixes redhat-developer/vscode-java#3422 Signed-off-by: Rob Stryker <[email protected]>
This should be fixed in the latest pre-release and will be in the next release. |
yea it seams to work on the latest prerelease but one really nice thing that was possible before but isn't now is that if you typed ma or main you could auto complete the entire main method. i don't see any snippets outside of methods in autocomplete, just classes and such |
In recent versions, we made snippets a bit more context aware (see above). So if you typed Do you have a case where you wanted the |
there is 0 intellisense outside of methods
Environment
Steps To Reproduce
ma
orso
Coll
trying to outcomplete main method or println or some class like Collection and it wont work, all the autocompletion is just dictionary stuff (it says abc)it was fine like a month ago
the extension not auto importing classes and stuff makes writing java actually horrible
works fine if u make a method and start typing inside of the method
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Expected Result
Additional Informations
The text was updated successfully, but these errors were encountered: