IntelliJ IDEA global environment variable configuration

后端 未结 5 1426
萌比男神i
萌比男神i 2020-12-06 04:26

I need to use an envirnoment variable in all of my idea run configurations. I currently use run->edit configurations->and then ente

5条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 04:38

    The problem is, that IntelliJ does not "see" the environment variables that are set in .bashrc (Also to be found in CrazyCoders answer). The easiest way to enable IntelliJ to import those variables is to start it from bash e.g. by typing intellij-idea-community.

提交回复
热议问题