Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Intellij idea “使用财产”;idea.config.path“;在IDEA插件中,但值为空 我只使用stringpath=System.getProperty(“idea.config.path”)在actionPerformed方法中,然后我得到null 但在调试我的插件时,可以找到此属性,其值为C:\Users\myusername\.IntelliJIdea2017.1\system\plugins sandbox 最后,我使用System.getProperties().store(新文件编写器(新文件(“C:/temp/a.txt”),”)将所有属性放入一个文件中,而a.txt文件中确实不存在idea.config.path“属性_Intellij Idea_Intellij Plugin - Fatal编程技术网

Intellij idea “使用财产”;idea.config.path“;在IDEA插件中,但值为空 我只使用stringpath=System.getProperty(“idea.config.path”)在actionPerformed方法中,然后我得到null 但在调试我的插件时,可以找到此属性,其值为C:\Users\myusername\.IntelliJIdea2017.1\system\plugins sandbox 最后,我使用System.getProperties().store(新文件编写器(新文件(“C:/temp/a.txt”),”)将所有属性放入一个文件中,而a.txt文件中确实不存在idea.config.path“属性

Intellij idea “使用财产”;idea.config.path“;在IDEA插件中,但值为空 我只使用stringpath=System.getProperty(“idea.config.path”)在actionPerformed方法中,然后我得到null 但在调试我的插件时,可以找到此属性,其值为C:\Users\myusername\.IntelliJIdea2017.1\system\plugins sandbox 最后,我使用System.getProperties().store(新文件编写器(新文件(“C:/temp/a.txt”),”)将所有属性放入一个文件中,而a.txt文件中确实不存在idea.config.path“属性,intellij-idea,intellij-plugin,Intellij Idea,Intellij Plugin,你应该这样做 我可以问另外一个问题吗。。我只是用它来读取后台任务中的文件,然后我得到了“仅允许从事件调度线程访问”。我应该怎么做…我已经通过支持票证回答了您的问题,请查看详细信息。不要在一个问题或评论中问多个问题来获得答案。始终提交一个新问题。如果有帮助的话,也可以考虑接受这个答案。请看。 com.intellij.openapi.application.PathManager#getConfigPath

你应该这样做


我可以问另外一个问题吗。。我只是用它来读取后台任务中的文件,然后我得到了“仅允许从事件调度线程访问”。我应该怎么做…我已经通过支持票证回答了您的问题,请查看详细信息。不要在一个问题或评论中问多个问题来获得答案。始终提交一个新问题。如果有帮助的话,也可以考虑接受这个答案。请看。
com.intellij.openapi.application.PathManager#getConfigPath