Just stumbled across a simple and incredibly useful Netbeans plugin. http://plugins.netbeans.org/plugin/676/path-tools Path Tools. It’s not listed in the standard list of available plugins, but if you download the nbm file and just drag and drop it into the plugin install dialog window it works easily enough. Once installed you can right click any folder or [...]
Archive: netbeans
A nice little feature I stumbled across the other day. If you hold down [Ctrl] whilst left clicking a variable, you get taken straight to its definition. Handy! More Reading:Quickly Comment Code in NetbeansNetbeans AutoComplete on Magento Objects called by Mage::getModel()Path Tools Netbeans Open File in external program plus guake codePHPUnit, LAMP, Magento and NetbeansVery [...]
I love Netbeans, but there has been one bug bear that I just learned to deal with. Files with very long lines (or even quite long lines) and Netbeans inability to line wrap. Now though there is a possiblity to enable line wrapping. And its dead easy. And it works! You can use word wrap [...]
If your Netbeans project is behaving a bit weirdly with regards to code auto completion then this little fix might be for you. Netbeans maintains a cache folder and it looks like this can get corrupted sometimes and need clearing out. Close Netbeans down, empty your $HOME/.netbeans/6.9/var/cache/ folder and then restart Netbeans and hopefully that [...]
The bash shell is awesome and scripting using a combination of PHP and Bash is a favourite technique of mine. I want to be able to do it all in Netbeans but if you have the PHP flavour of Netbeans then its missing shell scripting support as standard. To get it to work easily, simply [...]
Simple one this but I keep forgetting it. To navigate around the code you can use [cntrl] + left or right arrow to go Forward or Back its a big time saver, but for some reason the keyboard shortcut doesn't show under the Navigate drop down menu, which makes you think there isn't a keyboard [...]
If you are using netbeans for PHP classes and you have some of your class properties are instances of other objects and you want to get autocomplete working for them, then you might struggle to figure out which PHPDoc syntax to use to get autocomplete working. Here is the answer: PLAIN TEXT PHP: /** * [...]
If you use Netbeans for PHP like me (its awesome) and you ever use any kind of function or method to return objects, then you will have noticed that Netbeans' autocompletion doesn't work for these variables. However, you can make Netbeans work how you expect, by using some special comments. Check out these two blog [...]
If you underscores are not displaying properly in Netbeans, there is a very simple solution. Just change your default font by going to Tools->Options and then Fonts and Colours. In there, select default and change the font to a different one and it should work fine. More Reading:Netbeans Uppercase, Lowercase and Switch Case – useful [...]
If you are browsing around a load of files on your object oriented project using the great features like right click -> go to definition, then you like me are probably also hankering after a nice backwards and forwards functionality so you can easily jump between places in your project. After a bit of looking [...]