My project consists of two parts:
Directory structure:
my-project/
frontend/
package.json
src/
node_modules/
backend/
build.gradle.kts
src/
main/
test/
I want to use IntelliJ IDEA (ultimate) for developing both backend and frontend.
Questions:
I’d recommend you use one IDE window and add backend/frontend projects as modules https://www.jetbrains.com/help/idea/creating-and-managing-modules.html
This way you could use one IDE window for navigating between files in both projects which is more convenient rather that using two different IDE windows.
Also, you can unload some modules if you don’t need them to make the IDE work faster. See https://www.jetbrains.com/help/idea/unloading-modules.html