"Open grunt console" in menu only when in Gruntfile.js

I see "Open grunt console" item in the menu and can use shortkey to open it only when Gruntfile.js is active in editor. Is it correct behaviour?

What If I just closed grunt console and want to open it any time without going to Gruntfile.js?

0
4 comments

Hi there,

I see "Open grunt console" item in the menu and can use shortkey to open it only when Gruntfile.js is active in editor. Is it correct behaviour?

Context/right click menu -- Yes.

Why do I need to see that option if I work with completely different file at the moment? Context menu is big enough already -- why making it even bigger?

open it only when Gruntfile.js is active in editor.

The option is present in context menu when you invoke it in Project View as well .. so no need to have that file opened in Editor.

What If I just closed grunt console and want to open it any time without going to Gruntfile.js?

  • "Tools | Open Grunt Console" seems to be always available.
  • "Settings | Keymap" -- search for "grunt" and assign any shortcut you want for "Open Grunt Console" action.
  • Alternatively access it via "Help | Find Action..." (Ctrl+Shift+A) (of via "Search Everywhere") from anywhere


Possibly related:
http://youtrack.jetbrains.com/issue/WEB-12200

0
Avatar
Alex Oshchepkov

I meant not file context menu but Tools menu - if I'm not on Gruntfile I don't see the option in Tools menu either, I think It should be alwas available and shorkey I assigned probably should be active always as well, no?

The related issue you've posted I had before update to 8.0.2.

0

Toole/Open Grunt Console is enabled always if the Gruntfile.js is located in the project root. So this is exactly the issue mentioned by Andriy

0
Avatar
Alex Oshchepkov

Ok, thanks. Then I will wait issue resolve. Now I can place empty Gruntfile.js in the root as workaround.

0

Please sign in to leave a comment.