JetBrains, IntelliJ IDEA, WebStorm, PHPStorm etc.
Disable code formatter for specific areas in the code
- Under
Settings / Editor / Code Style / Formatter
activate theTurn formatter on/off with markers in code comments
option. - Turn the formatter off and on with the
@formatter:off
and@formatter:on
comments.
Enable SCSS Watcher on MacOS
Install sassc with
brew install sassc
Configuration
- Program
/opt/homebrew/bin/sassc
- Arguments
- compressed
--sourcemap --style=compressed $FileName$ $FileNameWithoutExtension$.css
- not compressed
--sourcemap $FileName$ $FileNameWithoutExtension$.css
- compressed
- Output Path
$FileNameWithoutExtension$.css
Where is the tomcat work
directory?
~/Users/[USERNAME]/Library/Caches/JetBrains/IntelliJIdea[VERSION]/tomcat/[PROJECT]/work