PHPStorm - Run Filewatcher on existing files?

前端 未结 1 729
渐次进展
渐次进展 2020-11-29 03:17

I\'ve installed the nodejs plugin in PHPStorm and setup the yuicompressor npm for minifying css/js.

I got the file watcher working so that .min.css files are produ

相关标签:
1条回答
  • 2020-11-29 03:35
    1. Select such file(s)/folder(s) in Project View panel
    2. "Help | Find Action" (Ctrl + Shift + A), activate check box for better results
    3. Search for "run file w" (without quotes, obviously) and choose Run File Watchers entry

    Alternatively:

    1. "Settings | Keymap"
    2. Find that Run File Watchers action (under "Plugins | File Watchers" branch)
    3. Assign some custom shortcut
    4. Select desired file(s)/folder(s) in Project View panel
    5. Use that shortcut from step 3

    Alternatively:

    1. "Settings | Menus and Toolbars"
    2. "Project View Popup Menu" branch
    3. Find desired location and click on "Add After..." button
    4. Locate Run File Watchers action (it's under "Plugins | File Watcher" branch) and click on "OK" button
    5. The action is now accessible via content menu in Project View panel and can be used on desired files and folders.
    0 讨论(0)
提交回复
热议问题