My Java extensions do not seem to be able to actually recognize my project as a Java project. As a result, my project management, linter and formatter extensions do not work.. I use the Java extension pack from Microsoft along with the Java language support extension by Red Hat.
It might have something to do with the fact that I renamed my package from 'productestservice' to 'producttestservice'. I tried an answer from a related thread, which is to 'clean the Java language server workspace'. Unfortunately, this did not solve the issue.
Here is a repository that I prepared for the reproduction of this issue.
EDIT: I found out that my language server extension fails to scan my project.
You can install the Project Manager for Java extension,The effect is as follows
It turns out that a folder named 'postgres-data' (generated from my PostgreSQL database) has strict permissions that disallowed my project manager extension to scan my project. A workaround is to run chmod 777 -R postgres-data
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.