Speeding up searches in Eclipse
December 1st, 2009
This is probably obvious to many of you, but I just discovered that placing the string ‘*.as, *.mxml’ in the ‘File name patterns’ field of Eclipse’s search dialog results in blazingly-fast code searches.
Eclipse’s “Team – Ignored Resources” Ignored?
May 7th, 2009
I’m trying to use the Eclipse “Ignored Resources” preference so that I can maintain my own personal settings for Flex projects that I’m working on. Specifically, when I make changes to the .actionScriptProperties, .flexProperties & .project files, I want SVN to ignore them. We use the Subversive Eclipse plugin and these settings seem to have no effect on how it operates. When I go to Team | Synchronize with Repository, Subversive still lists these files as files that need to be committed.
If you have any idea on how to make this work, please add a comment!
Eclipse Plugins & Settings
April 26th, 2009
Here are some of the plugins and settings that I use in Eclipse. I’m putting this up here mainly for my own refererence, but you might find something useful…
- Plugins:
- AnyEdit
- FlexBuilder (of course)
- Subversive – SVN client
- Also, I’ll be looking into the PrettyPrinter plugin
- Preferences:
- General | Editors | AnyEdit Tools
- Auto-Convert tab: Select ‘Remove trailing whitespace’ and ‘Convert tabs to spaces’
- Convert tab: Set ‘Tab width’ to 4 and select ‘Remove trailing whitespace while convert’ and ‘Replace all tabs’
- General | Editors | Text Editors
- Select ‘Insert spaces for tabs’
- Select ‘Show line numbers’
- General | Workspace | Linked Resources
- One can define tokens here so that source code paths can be made relative.
- Ant | Editor
- Problems tab: Select ‘Ignore all buildfile problems’
- Flex | Editors | ActionScript Code
- Select ‘Keep imports organized’ and ‘Remove unused imports’
- Flex | Installed Flex SDKs
- Specify default SDK
- Team | Ignored Resources
- Specify resources that you don’t want committed to SVN
- General | Editors | AnyEdit Tools
- Project Properties:
- Flex Compiler | Additional compiler arguments
- -keep – Short for -keep-generated-actionscript
- Flex Compiler | Additional compiler arguments
Also, I put these settings into eclipse.ini:
–launcher.XXMaxPermSize
1024M
–launcher.XXMaxPermSize
1024m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
-XX:PermSize=128m
-XX:MaxPermSize=256m