NetBeans
Resources
Installation
- Download from http://netbeans.org/downloads/index.html ("PHP")
- chmod u+x netbeans-6.8-ml-php-linux.sh
- ./netbeans-6.8-ml-php-linux.sh
- Do a default installation
- Run Netbeans
- Plugins -> Install subversion support
Configuration
Tools -> Options
- Editor -> Formatting:
- Expand Tabs to Spaces
- Number of spaces per Indent: 2
- Tab size: 2
- Keymap:
- Profile: "Eclipse"
- Map "Toggle Comment" to CTRL-SHIFT-7 (=slash)
View -> Syncronize editor with view
xdebug file_link
Unbuntu uses xdebug 2.04 which doesn't support file_link_format yet :-/
apps/frontend/config/settings.ymlall:
.settings:
file_link_format: editor:%f:%l
Xdebug:sudo vi /etc/php5/conf.d/xdebug.inixdebug.file_link_format = editor:%f:%l
sudo apache2ctl restart
Firefox 3.5:about:configClick right -> new Boolean:network.protocol-handler.expose.editorValue: false
ullright setup
- Team -> Subversion -> Checkout
- URL: http://bigfish.ull.at/svn/ullright
- Target directory: /var/www/ullright
- Wait for checkout....
- Create new project
- From existing sources
- Select directory /var/www/ullright
Cool Stuff
CTRL-G returns to the last edit location - handy when "F3"ing through the class hierachy- Eclipse has the same functionality. CTRL-Q
- No problems with "outdated" - need to refresh
Not so cool compared to eclipse
- Open file tabs -> in eclipse the tabs of the last edited files are always visible. Not so in NetBeans: they are ordered in the sequence when they where opened
- Subversion:
- Revert: not possible to view a diff in the dialog directly
- Commit: complicated to de-select files from commit - no tree view (de-select a whole file tree)
What's not working yet
- In the action -> go to the template (Mentioned in the symfony netbeans videocast)