Eclipse shortcuts for salesforce IDE
As we all know, there is one great saying ‘There are no shortcuts for success’. But here are some shortcuts that can really help you getting success. Yes, I am talking about Force.com IDE shortcuts. Each and every developer should use these shortcuts as these save our significant amount of time that we usually waste and don’t realize.
Here are some of them:
- Use CTRL+SHIFT+R, to open the file from package explorer quickly. Would be better if you use ‘*’ in your search strings.
- Use CTRL+H to search the files.
- Use CTRL+L to navigate to the desired line number. This is extremely useful when your code contains thousands of number of lines.
- Use CTRL+D to delete the entire line.
- Use F12 to quickly activate the editor.
- Use CTRL+K to find the next occurrence of the selected text. You can select a text or any word and press CTRL+K to find the next occurrence of the same text in that file.
- Use CTRL+F6 to switch to the next editor.
- Open the file -> Right Click -> Compare With -> Local History -> Select the Revision Time -> it will open a comparison window.
- Use CTRL+SPACE, for the code context assistance. This is the most common and I think most of eclipse users are aware of this shortcut.
- Use CTRL+W to close the current window/editor.
- Use ALT+F7 to open the sub tab in the editor like Metadata and Source.
- Use ALT+/ to show the correct variable name (type some letters and use this key).
- Use CTRL+SHIFT+L to get the context menu help for all the available keyword shortcuts.
We should make our habit of using these shortcuts. These are very helpful and time saving. It will take only a few days to make it a habit and it can benefit you across your career.