Assign "Ctrl+S" to Subversion commit - netbeans

In NetBeans, how can I make it so that every time I save a file it gets committed to Subversion?

This sounds like a recipe for disaster!
That being said . . .
Go to Tools : Options in the menu.
Go to the Keymap tab.
Type commit in the Search box.
Locate the row for "Commit..." / "Subversion".
Double-click in its Shortcut cell.
Press the desired shortcut (e.g. Ctrl + Alt + Shift + S).
Click the OK button.
As committing a file automatically saves it first, you could use Ctrl + S as the shortcut if you wish.
Note that this also works when you select one or more files in the Projects pane. Thanks for asking the question as I get really sick of navigating through the popup menus all the time. :)

Related

PhpStorm jump to remote file

I know there is a function to jump in the "remote tab" from the current local file I am editing. Does anybody know the name, so I can find it in the Keymap options.
Sometimes it is useful to just edit it on the server and test it, instead of uploaded all the changes.
Use the menu Navigate > Select in... or press Alt + Shift + 1 or on MacOs ⌥F1
When you choose this, a popup will appear where you can choose Remote Host or hit 3

Eclipse paste from clipboard history (keyboard shortcut)

I am using eclipse juno, I need to know if there is any keyboard shortcut for pasting some text from the copied clipboard history, I mean in JDeveloper there is a combination of keys CTRL + SHIFT + V this will bring a popup showing all the earlier copied texts, then the user selects whatever text he wants to paste, is there anything similar in eclipse?
Yes as #MatF said you can use MoreClipboard plugin. -1 to PDE Tools Cliboard View as it not brings up popup window to select old entries.
Also moreclipboard has the same short cut key as in Jdeveloper i.e CTRL + SHIFT + V
Quick links:
Quick Guide
Donwload Link
Update site

shortcut for 'update to HEAD'

is there any way to have either
shortcut or
icon
for svn Update to HEAD of one project (not all of them) in eclipse? It would make my life much much easier.
I have few php projects though. Time to time I click 'commit' by accident.
Running Eclipse for PHP Developers - Helios release - on OS X.
I'm posting this to help anyone interested since I got a lot of grief before figuring this out..
You have to go to Settings > General > Keys and bind the shortcuts as the others have said.
I have:
Commit: Ctrl + Alt + C
Update to HEAD: Ctrl + Alt + U
Synchronize with Repository: Ctrl + Alt + S, all "In Windows"
But, in order for the shortcuts to work, you must go to Window dropdown menu > Customize Perspective > Command Groups Availability and there check the SVN box.
With this option you also get a dropdown menu called SVN with all the relevant commands.
Selecting the file/package/project/working set and pressing the keys does its magic.
In preferences go to Bindings
Sort by category
Find SVN
Assign a shortcut to "Update"
Mine is Ctrl + U
Go to preferences and type "Bindings" in the search at the top and play around with that. You can't bind a button to it, but you might be able to bind a key to do what you want.

Searching files in Eclipse

I want to search a file in Eclipse. What's the shorcut to open file search dialog box?
If you want to search in files: Ctrl+H and then choose tab File Search.
If you want to search for resources: Ctrl+Shift+R.
If you want to search for Java types: Ctrl+Shift+T.
If you want more shortcut keys: Ctrl+Shift+L.
There is no default shortcut to open the "Search a File" dialog directly.
Anyway you can use CTRL + H to open the "Search Dialog".
You can also use CTRL + Shift + L to open the "Key Assist" which will show you all configured shortcuts as a kind of tooltip.
Pressing again CTRL + Shift + L in the "Key Assist", you can directly configure your own shortcuts. Enter "File Search" for the filter and simply set your own key combination.
I often search for a file and want also to open it directly. So I use the "Search for Resource" Dialog called with CTRL + Shift + R.
Use the Window->Preferences menu and select the General-Keys tab to see and change any key binding.
Shortcut for this: Press two times CTRL + Shift + L
There's also a plugin called MouseFeed that shows all keyboard shortcuts for the menu operations you do. You could even set it to prevent you from using the menu alternative and force you to use the shortcut.
A good way to help you become quicker at using Eclipse.
Edit: The domain associated with the plugin seems to be gone now and replaced with a porn site. So at this point the status of the plugin is a bit unsure :)

Eclipse C++: How do you quickly switch between header and implementation files?

How do you switch between header (.h) and implementation files (.cpp) in Eclipse when using the C++/CDT environment with a keyboard shortcut?
In XCode you can quickly switch between headers and implementation with applekey option and up/down arrow keys. I was hoping that eclipse had something similar, but I haven't found it yet.
Ctrl + Tab.
See in menu Window --> Preferences --> "General" category (far left) --> Keys --> "Toggle Source/Header"
Ctrl + Tab is the default shortcut and here is a list of some of the more useful shortcut keys in Eclipse.
Ctrl + Tab is the default shortcut. You can change it in Window->Preferences->General->Keys - Toggle Source/Header
F3 to jump between declarations and definitions of specific methods
This is another good one to know in this context:
double click on the method name with the mouse, selecting it
hit F3 (shortcut for Right Click > Open Declaration)
This takes you from the declaration (.hpp) to definition (.cpp) and vice versa depending on which one you are currently in, which is useful if you want to go to the other file to see a specific method when the file is large.
Tested in Eclipse CDT 2019-09.
You can also Ctrl + click on an identifier ( method name of member,... ). That way you seldomly need Ctrl + Tab.