• : Function ereg() is deprecated in /home/starbowc/drupal6/includes/file.inc on line 895.
  • : Function ereg() is deprecated in /home/starbowc/drupal6/includes/file.inc on line 895.
  • : Function ereg() is deprecated in /home/starbowc/drupal6/includes/file.inc on line 895.

Notes from BADCamp Eclipse Installfest

Start here: http://www.eclipse.org/pdt/downloads/

My plugins

  • Subversive
    • Now official eclipse project, multistage download is easier
  • Explorer
    • Simple plugin for opening a file browser from inside elcipse. Windows only.
  • Aptana
    • I am still not happy with the basic Javascript editor that comes with PDT. In particular, it's outline view for the Drupal javascript files is useless.
    • Aptana can be installed as a PDT plugin, and just used for Javascript Editing.

Configuring Eclipse - http://drupal.org/node/75242
(Most of these are about getting Eclipse to match the Drupal coding standards)
 
  • General->Content Types: Add the PHP Content types (*.install, *.module, *.engine, *.test, *.theme).
  • General->Editors->Text Editors: Insert spaces for tabs
  • General->Editors->Text Editors: Show whitespace (to avoid issues in patches)!!
  • General->Workspace: Text file encoding = UTF-8
  • General->Workspace: New text file line delimiter = Unix
  • General->Editors->File Associations: Set *.js default to Aptana JS Editor
  • General->Editors->File Associations: Add *.info, and add Text Editor as default.
  • Aptana->Editors: Tab Insertion = Use spaces
  • Aptana->My Aptana: Never display
  • Aptana->Editors->JavaScript->Code Assist: add jQuery 1.3
  • Aptana->Editors->Javascript: Display JavaScript Toolbar - turn off b/c uses tabs not spaces.
  • Aptana->Editors->Jaascript->Validation: Turn on JSLint Validator
  • PHP->Code Style->Formatter: Tab Policy Spaces, 2
  • Web->CSS Files->Editor: Indent using spaces, 2
  • Web->HTML Files->Editor: Indent using spaces, 2
  • Team->CVS: Convert text files to use platform line ending = no