- Newest
- Most votes
- Most comments
1. Check Module Configuration
IntelliJ uses modules to understand project structure. You should ensure that each of your components (client, server, and docker) is configured as separate modules in the workspace.
Open Project Structure (File > Project Structure > Modules).
Ensure that the client and server directories are recognized as separate modules. If they aren't, you can manually add them: Click the "+" button to add new modules.
Choose Import Module and select the pom.xml (for Maven) or build.gradle (for Gradle) file in the server folder and package.json in the client folder.
2. Check Source Directories
IntelliJ might be indexing only the docker folder if it thinks the others are not relevant.
Right-click on the client and server folders in IntelliJ’s Project View.
Select Mark Directory as > Sources Root or Resource Root (for Spring Boot resources).
Ensure that no folders in the client or server directories are mistakenly marked as Excluded. You can check this in the Project Structure > Modules section.
3. Invalidate Caches and Restart
Sometimes, IntelliJ caching issues can lead to incomplete indexing.
Go to File > Invalidate Caches / Restart.
Select Invalidate and Restart.
4. Check idea.log for Clues
If you continue to see only the docker folder being indexed, check the idea.log for more specific errors.
Go to Help > Show Log in Explorer.
Look for any warnings or errors related to workspace indexing.
5. Reconfigure the Workspace Index
You can try resetting or customizing the workspace indexing feature:
In Settings (Ctrl + Alt + S), go to Languages & Frameworks > Amazon QLDB > Workspace Index.
Review any folder exclusions or include/exclude patterns.
Try resetting it by disabling and re-enabling the feature.
6. Consider Project Configuration Settings
Ensure the project configuration reflects the monorepo structure correctly:
JavaScript client: Ensure Node.js or relevant JavaScript framework support is enabled.
Spring Boot: Ensure the Spring Boot plugin is active and recognizes the server folder as a valid module.
Relevant content
- asked 4 years ago
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thank you for your prompt response!
I believe I've identified the issue within the IntelliJ plugin. In ProjectContextProvider.kt at line 152, the plugin calls project.guessProjectDir(), which returns only the first directory it finds.