By default, CTRL+Tab (forward switching of windows) and CTRL+SHIFT+TAB (previous switching of windows) aren’t set in Eclipse to switch between editors windows. There are other Eclipse, non-standard defaults like CTRL+F6 for forward switching. To set these shortcuts, do the following:
- Run Eclipse
- Window -> Preferences
- General -> Keys
- Search for: Next Editor
- Put the cursor in the “Binding” textbox and delete that hotkey. Then, press and hold CTRL+TAB
- Hit Apply.
- Search for: Previous Editor
- Put the cursor in the “Binding” textbox and delete that hotkey. Then, press and hold CTRL+SHIFT+TAB
- Hit Apply and OK.
Apply similar steps for Ctrl+Shift+Tab.
Tagging a revision is a simple task if you’re using the subclipse plugin for Eclipse. For this example, we’re going to tag the trunk in our repository. This also assumes that your repository uses the traditional “3 directory setup” of branches, tags, and trunk.
1. Make sure you have a SVN View tab in Eclipse.
To do this, go to:
Window > Show View > Other > SVN > SVN Repositories
2. Under “WebSites” (in the following screenshot), right click on the trunk, and select “Branch/Tag…”:
3. Make sure you use the appropriate tag version that adheres to your versioning needs. Also, make sure it’s under the “tags” folder: svn://WebSites/Project-2/tags/
This requires Subclipse. If you want to create a new project and fill it with SVN source code, you can do as follows. This creates a project where you can apply Subclipse operations.
- Create a directory where you want to import your files from the SVN server
- Right click on any existing project (doesn’t matter which one)
- Click on import
- Select SVN -> Checkout Projects from SVN
- "Use existing repository location" radio button
- Select a folder (you must select a folder, not just the repo) for the folder to be checked out from SVN
- "Check out as a project configured using the New Project Wizard"
Leave all options as default and click finish.
- Select the project type
- put in a project name and the location of where the files are going to be
put in (from step 1).