-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
The extension fails to work appropriately on creating a new file in a new directory. That is, it would not display suggestions further. I thought it was a user-end problem. I tried reinstalling the extension. Yet, it persisted.
Environment
- Operating System: Linux Mint 21.1 Vera
- JDK version: javac 17.0.7
- Visual Studio Code version: 1.80.0
- Java extension version: v1.20.0 (Language Support for Java by RedHat)
Steps To Reproduce
- Open Code with the extensions enabled
- Create a new file in a new directory
- Start writing code
Image version of the misbehavior
* I don't think it needs a text version here.
Edit: The problem goes away on an app restart.
Java Extension Logs
To ease dev work, my intuition says the problems are logged from line no. 19732-'37:
!ENTRY org.eclipse.jdt.ls.core 4 0 2023-07-11 19:09:12.705
!MESSAGE Error occured while building workspace. Details:
message: Syntax error, insert ";" to complete BlockStatements; code: 1610612976; resource: /home/rohan/code/java-lang/src/mathematics/FibonacciSeries.java; line: 6
message: sout cannot be resolved; code: 570425394; resource: /home/rohan/code/java-lang/src/mathematics/FibonacciSeries.java; line: 6
message: Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration; code: 1610612976; resource: /home/rohan/code/java-lang/src/mathematics/FibonacciSeries.java; line: 6
Expected Result
Anyone would expect some suggestion to appear.
Additional Information
Well, I know contributing is fun.
At this moment in my life, I have no idea what additional information to provide. But yeah, I can say it works correctly sometimes, very unpredictable.
testforstephen and oaklandcorp-jkaisersdsarun
