Archive for the 'Eclipse' Category

Install Subversion on Mac OS X Lion (10.7)

Edit the SystemVersion.plist file to change your Mac OS X version from 10.7 to 10.6:
sudo vi /System/Library/CoreServices/SystemVersion.plist
Replace each occurrence of 10.7 with 10.6
Save the file
Install Universal Subversion 1.6.17 Binaries for Snow Leopard (Mac OS X 10.6) from http://www.collab.net/downloads/community/
Revert the file we edited previously (10.6 to 10.7 this time)

Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 5 – Keyboard Shortcuts

 

SEARCHING

CTRL + Shift + RJump to a resource. Includes classes and any other files (such as XML files)
CTRL + HSearch (rather than find) allows you to search within the entire workspace
CTRL + FSearch in one file (CTRL+K/CTRL+SHIFT+K: next/previous)
CTRL + JFind within document. Type the word you want to find then use up and down to skip between instances. Press ESC to cancel
CTRL+J/CTRL+SHIFT+JIncremental search (search as you type)

NAVIGATING

F2Select class in flash explorer
F3Show property/method declaration/implementation
F4Show type declaration
F5Show superclass
CTRL + TShow type hierarchy
CTRL + RSearch references
CTRL + LGo to line
CTRL + UShow type dependency
CTRL + OShow quick outline

EDITING SINGLE FILES

ALT + UpArrowMove line up
ALT + DownArrowMove line down
CTRL + D / CTRL + SHIFT + DDelete line/duplicate line
SHIFT + ENTER / CTRL + SHIFT + ENTERAdd indented line after/before
CTRL + 7Comment/uncomment line
CTRL + (numeric)- / CTRL + (numeric)+Fold/unfold other methods
CTRL + MMaximize view
CTRL + (numeric)ENTERAlternative to CTRL+M

EDITING MULTIPLE FILES

CTRL + PageDown / CTRL + PageUpMove to next/previous open file
CTRL + F6Alternative to CTRL+PageDown/CTRL+PageUp
ALT + LeftArrow/ ALT + RightArrowNavigate to next/previous opened files (history)

GENERATING

CTRL + SpaceInsert code template/auto complete code
CTRL + SHIFT + OOrganize imports

FIXING

CTRL + 1Show fixes (if error bulb is shown)

BUILDING

CTRL + F11Start last run
CTRL + OOpen an outline of functions within the current class to jump to
CTRL + Shift + TJump to a type (class or interface). Only works when an .as or .mxml file is open
CTRL + LJump to a line number
CTRL + Shift + CWrap / Unwrap selected text in a block comment (/* */)
CTRL + Shift + /Comment / uncomment the selected line using an inline comment (//)
CTRL + Shift + DAdd ASDoc style comment
CTRL + DDelete the selected text or the actual cursor line
CTRL + UPMove the selected up
CTRL + DOWNMove the selected text down
CTRL + Option + UP or DOWNDuplicate the selected text above or below the selected line
CTRL + XMake selected text ALL CAPS
CTRL + YMake selected text all lowercase
CTRL + Shift + RRename selected element (using refactor)
CTRL + MMaximize / Minimize current view
CTRL + TabJump to an open file editor
CTRL + Shift + LKeyboard command list. Press it again to edit commands
CTRL + Shift + GFind any references to the selected element within your project
CTRL + Click or F3Jump to the definition of the selected element
CTRL + Shift + PJump to matching bracket. e.g. jump from } to {
Tab / Shift + TabIndent / Un-indent selected text
CTRL + Option + Left / RightJumps to the location of the previous / next edit without undoing your change

Source: http://dispatchevent.org/mims/flexbuilder-keyboard-shortcuts/

Eclipse 3.5 and FDT 3.2 for Actionscript development – Part 4 – Customization

1) Eclipse Splash Screen

There are two ways of changing the Eclipse splash screen, manually or using the Random Splash Screen plugin:

  • Manually
    Put the “splash.bmp” file in the folder C:\eclipse\ and add the following line to the file C:\eclipse\eclipse.ini:

    1
    2
    -showsplash
    splash.bmp
  • Random Splash Screen
    Everytime Eclipse starts, Random Splash Screen overwrites Eclipse’s splash screen with a random image picked from your personal image folder. This image is then displayed on the next Eclipse start.Website: http://sourceforge.net/projects/rndsplash/To modify the plugin options go in

Since I was not satisfied with the splash screens that I found I asked my friend Denio Barani to design a splash screen more appealing, and here are the four versions:

Eclipse Splash Screen 1 (391.67 kB)
Eclipse Splash Screen 2 (391.67 KB)
Eclipse Splash Screen 3 (391.67 KB)
Eclipse Splash Screen 4 (391.67 KB)

Here a list of various splash screens that I found around the web:

2) Eclipse icon

I don’t like a lot the standard Eclipse icon so here you can find some different ones:

To convert the images to icons use the iConvert website.

Next Page »