Speedup IntelliJ-Idea

前端 未结 12 1737
轮回少年
轮回少年 2020-12-22 15:06

I\'m using intelliJ for Scala development and got 8 GB of new RAM last week, so I thought: time to use it. I checked my task manager and found intelliJ using ~2

12条回答
  •  生来不讨喜
    2020-12-22 15:18

    Regarding:

    How do I hide this cmd window while running intelliJ through the .bat?

    Use the 'start' command and javaw.exe together, so, if you have:

    SET JAVA_EXE=%IDEA_JDK%\jre\bin\java.exe
    ...
    "%JAVA_EXE%" %JVM_ARGS% -cp "%CLASS_PATH%" %IDEA_MAIN_CLASS_NAME% %*
    

    change it to:

    SET JAVA_EXE=%IDEA_JDK%\jre\bin\javaw.exe
    ...
    start "Intellij IDEA" /b "%JAVA_EXE%" %JVM_ARGS% -cp "%CLASS_PATH%" %IDEA_MAIN_CLASS_NAME% %*
    

提交回复
热议问题