If you have a dual monitor setup you might decide to undock some of your Netbeans windows, for example for running XDebug sessions or PHPUnit testing. However you will find that by default, Netbeans sets the transparency of these windows to unreadable levels when they are not active. This really defeats the object and is [...]
Archive: netbeans
Posts Tagged ‘netbeans’
If you use Netbeans then you have no doubt seen the red wavy underline that pops under lines that have errors. Unfortunatley if your errors relate to punctuation, eg concatenation full stops, then the red wavy line can actually obscure these making finding and fixing the error tricky. An nice alternative is to set Netbeans [...]
If you want or need sun java for your Linux Ubuntu desktop, perhaps for running Netbeans, then you will like this link http://blog.flexion.org/2012/01/10/updated-sun-java6-packages-for-ubuntu/ There is a PPA for sun java. Problem solved. More Reading:Ubuntu Git Install 1.7.5 and WhyUbuntu 10.04 Sun JavaNetbeans Disable Transparent Undocked WindowsStart windows on a specified workspacePath Tools Netbeans Open File [...]
Not many people are aware of the Path Tools extension for netbeans, and even fewer know how to make it really useful. Effectively it provides 4 buttons - Copy Path, Open Folder, Open Terminal and Edit Path, the latter three being configurable. Its default for Open Folder is great (for gnome users) but that's the [...]
When using PHPUnit with xampp the first the to do is install PHPUnit through pear. You usually need to update pear first, after that you should be able to follow the instructions here Getting PHPUnit working with Magento is fairly straight forward. It's just a case of including Mage.php and then calling Mage::app(); in the [...]
If you use Netbeans along with Xdebug to facilitate step through debugging when coding PHP then you may come across this issue. It's possible to get it into a semi working scenario where you can have working breakpoints and see variable values but you have no idea which bit of code you are actually stepped [...]
If you want to quickly comment out a block of code in netbeans you might find the following really useful Simply highlight the block of code and then hit [ctrl]+[shift]+[c] The same key combination will uncomment it again. Handy! More Reading:Netbeans Quick find Variable DeclarationPath Tools Netbeans Open File in external program plus guake codeNetbeans [...]
Comments your code are essential to help both other developers and, in some cases, yourself understand what the code is meant to be doing. When developing PHP in NetBeans there are two types of comments to consider. The first type of comments are the normal type of comments that are for a human to read [...]
If you ever find yourself in that annoying situation where netbeans refuses to see a file or set of files you've added to a folder, there is a solution. My instinct having used netbeans for the past year was to right-click the folder and click Refresh. The problem being that the Refresh item was missing [...]
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 [...]