Skip to content

CategoryEclipse

CTRL+TAB in Eclipse

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:

  1. Run Eclipse
  2. Window -> Preferences
  3. General -> Keys
  4. Search for: Next Editor
  5. Put the cursor in the “Binding” textbox and delete that hotkey. Then, press and hold CTRL+TAB
  6. Hit Apply.
  7. Search for: Previous Editor
  8. Put the cursor in the “Binding” textbox and delete that hotkey. Then, press and hold CTRL+SHIFT+TAB
  9. Hit Apply and OK.

Apply similar steps for Ctrl+Shift+Tab.

Tag a Revision using Subclipse

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/

New Eclipse Project with SVN Import

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.

  1. Create a directory where you want to import your files from the SVN server
  2. Right click on any existing project (doesn’t matter which one)
  3. Click on import
  4. Select SVN -> Checkout Projects from SVN
  5. "Use existing repository location" radio button
  6. Select a folder (you must select a folder, not just the repo) for the folder to be checked out from SVN
  7. "Check out as a project configured using the New Project Wizard"
    Leave all options as default and click finish.

  8. Select the project type
  9. put in a project name and the location of where the files are going to be
    put in (from step 1).