Configuring Cursor to Recognize Multi-Project Gradle Java Setup

Hi, I imported a folder containing multiple Gradle-based projects into Cursor, but it doesn’t recognize them as Java projects. Each project has its own build.gradle file, and there’s also a base Gradle file shared across most projects. How can I configure Cursor to detect and work with these Java projects properly

2 Likes

I have the same issue and I’ve tried a bunch of things to get this fixed. It is the same on vscode, I don’t think they’ll ever fix it.

Edit: the issue happens when you create the java project with cursor. I just created a vscode java project and everything worked.

Hi @yahalom, would be great if you could share the project you’re importing and/or the Java language server logs. Open the project folder, do a “Java: Clean Language Server Workspace” and then “Java: Open all Log Files”. This will open two editors with the content of the relevant log files.