简体   繁体   中英

IntelliJ Macro for external tool (compass)

I am trying to integrate the use of the compass scss framework in intellij. For that I created a new external tool in a group named "My Tools".

Under "Program" I entered the path to the compass.bat file, "Parameters" is "watch". For "Working directory I entered

$ProjectFileDir$\\$ModuleName$\\src\\main\\webapp

at first, but this is kind of ugly because the folder with the config.rb is not always in the same directory-structure... Is there any way to enter a Macro for a selected folder in the project tree of IntelliJ so I can start "compass watch" via context menu in the selected folder?

I changed the "Working directory" to "$FilePrompt$" now which is a better solution than the first one, but I still have to point to the directory with the config.rb and I want it to be selected via right click in the Project Tree...

$ FileDir $应该可以执行此操作您也可以尝试为罗盘配置文件监视程序-有关详细信息,请参见此线程

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM