سؤال

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$ should do the thing You can also try configuring a file watcher for compass - see this thread for details

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top