How to add a Stop icon to NetBeans 8.2 - netbeans-8

On mac in NetBeans 8.2 I have a panel with a run button.
It's a bit strange to me after Visual Studio that there is no Stop button there. Is there a simple way to add it?
It should do the same as Shift+command+fn+delete or Stop Build/Run
It's a bit tricky to restart it every time to test my changes.

I don't think it is possible to easily do what you want.
The only place the Stop icon/button appears in NetBeans is in the Output window, and that is not available for reuse elsewhere, so NetBean's View > Toolbars > Customize functionality won't be of any use.
However....it is trivial to specify a shortcut key for the action associated with the Run > Stop Build/Run menu entry:
In NetBeans select Tools > Options
Click the Keymap icon. All the actions will be listed, along with their shortcuts.
Type Stop in the Search field to locate the Stop Build/Run action.
For the listed action named Stop Build/Run click the ellipsis and select Edit... from the popup menu.
The cursor will move to the Shortcut field. You can now select any available shortcut. For example, in the screen shot below I pressed the ALT key, and then selected ALT+T from the drop menu of available shortcuts.
Then, you can just submit ALT-T from the keyboard to terminate a running application, instead clicking the Stop button in the Output window, or selecting Run > Stop Build / Run.
I know that you were asking for a toolbar solution, but in the absence of one perhaps a keyboard shortcut is a viable alternative.

Related

How to disable keyboard in a PyCharm project window?

I want to use search, undo, delete etc. using keyboard in my main editor window and NEVER on my project window.
But once I click file in the project window, I must now do second click into the editor, otherwise my keyboard will start wreaking havoc in the filesystem.
Please tell me there is an intelligent way to disable this!
Could not find it myself, mostly because I don't know how to even name this behaviour.

Intellij Idea: what is shortcut for main window

Imaging the situation when you writing some code and then you wish to continue your work in the terminal. Alt + F12 and you are in the terminal. After 1 sec you wish to continue to work under your code. So you need some shortcut that allows you return back to the code window (I would like to avoid using the mouse). What should I press for this case?
Terminal has an option to override IDE shortcuts which is enabled by default, this is done so that you can use common shortcuts in the terminal applications.
If you disable this option, you can use Esc to get the focus back to the editor, otherwise it will be intercepted and can be used in the apps running in the terminal tool window.
Shift+Esc will hide the Terminal tool window and move the focus back to the editor no matter if the option mentioned above is enabled or not.
For all the other cases Esc will work fine as mentioned in my other answer.

Keyboard shortcut to navigate between IntelliJ views

In IntelliJ, there are some underlined numbers on the side menus :
1: Project
7: Structure
Like below :
So there is probably a keyboard shortcut which allows to navigate from one view to another by just entering the view number.
I tried the different digits with Ctrl, Ctrl+Shift, Ctrl+Alt etc but could not find the right shortcut.
How can I easily navigate between those views?
The shortcut is Alt + [number]
ps. There's a plugin force-shortcuts if you wanna replace your mouse click actions with shortcuts (https://github.com/treytrahin/force-shortcuts-intellij-plugin). It's super annoying but you learn really fast. And by the way here are such plugins to most editors and IDEs.
ALT+F1 opens a window where you can choose one of the views by pressing the corresponding number.
Info: It actually opens the selected file in the selected view - which is not that bad maybe - but not 100% what you want?
Also there are cool things like pressing C to open a file chosen in Project Explorer directly in Explorer for example.

IntelliJ IDE (IDEA, PhpStorm, WebStorm): Shortcut for focusing Filter field in e.g. Change Log tool window

Is there a shortcut for focusing the Filter box in tool windows, specifically the Change Log?
See the attached screenshot to know which field I'm talking about. I searched the net and key map, but found nothing like that.
I have confirmed at Jetbrains that unfortunately it's not possible yet: http://devnet.jetbrains.com/message/5520523#5520523
Just start typing with the focus inside the tool window. IDEA invokes the search automatically. To select the item, press Enter. To cancel, press Esc.
This feature is called Tool Window Speed Search.

Change intellij/android studio tool window quick access shortcuts

Is it possible to change the quick access shortcut numbers for a tool window?
i.e. the numbers next to a tool window name, used by the keyboard shortcut to toggle the window, talked about here
Yep. They are listed in Keymap. MainMenu -> View -> ToolWindows.
P.S.: Idea has a nice Find by shortcut function in Keymap settings page, I used it, to answer your question.
In Android Studio, you can change the Keymap this way:
Preferences -> Keymap
Then open Tool Windows. You may need to scroll down to see all the options.
Right-click on the element you want to assign a new key-stroke. Select Add Keyboard Shortcut. Make sure that the rectangle with a plus in it is selected (use your mouse) and press the key-stroke that you want for this item.
Android Studio will warn you if that key-stroke is already assigned. Click OK to reassign that key-stroke to the item. It'll warn you one more time that you will need to remove the previous assignment for that key-stroke. Click Remove to proceed. You should see the updated keystroke in the right-most column.