mbraude-chwy opened a new issue, #4406:
URL: https://github.com/apache/netbeans/issues/4406

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   My VS Code editor can no longer resolve symbols from my application code 
when authoring unit tests. This makes it impossible to write or create new Java 
unit tests.
   
   ### How to reproduce
   
   1) Create a new directory to hold a blank gradle project.
   2) run the gradle project initialization with: `gradle init`, then select:
     - '2' for application.
     - '3' for Java.
     - '1' for no.
     - '1' for 'Groovy'
     - '4' for 'JUnit Jupiter'
   3) After the project is created, launch VS Code with `code .`. Make sure 
that the Apache Netbeans Language Service extension is installed.
   4) Open AppTest.java
   
   OBSERVE: You will see squiggles underneath the 'App' symbol because the 
language service cannot resolve 'App'. It will resolve all test code but not 
product code.
   
   NOTE: The gradle build will succeed, and the 'Test' task will as well. 
However the language service cannot resolve any product code which makes it 
impossible to actually write tests with Netbeans.
   
   I am fairly certain that this used to work....though I do not remember.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 13
   
   ### Operating System
   
   Ubuntu 18.04.0 om Windows 11 via WSL
   
   ### JDK
   
   11.0.12-open
   
   ### Apache NetBeans packaging
   
   Other
   
   ### Anything else
   
   This is really blocking me from getting any work done, so I would greatly 
appreciate a workaround ASAP!
   
   ### Are you willing to submit a pull request?
   
   Yes
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to