X

PHP Tools: Minor improvements

Hi all, today we will show you our improved support for some PHP tools which will be part of NetBeans 8.2. As you already know, NetBeans uses a lot of existing tools (great, right?!) and we will now focus on improvements for two of them. PHPUnit Perhaps the most unpleasant thing in PHPUnit support in NetBeans is (was! ;) that test results are visible once all the tests finish. In other words, one has to wait for all the tests to complete and after that, NetBeans is able to...

Monday, May 30, 2016 | Features | Read More

PHP 7: How can I help with testing?

Hi all, this blog post is kind of  related to the previous blog posts about PHP 7 support in NetBeans 8.2 (Part 1, Part 2). Today, we will tell you how you can help with testing this support and believe us, everyone of you is important for us and your help is more than welcome! Luckily, it is very simple because there are no specific instructions! :) Simply, test (use) PHP 7 support in NetBeans if possible (yes, we know that it can be quite soon for using PHP 7 in production...

Thursday, May 12, 2016 | Features | Read More

Symfony support improved

Hi all, today we will show you our improved support for Symfony which will be part of NetBeans 8.2. Some time ago, Symfony 3 was released so its support has been added to NetBeans. And because Symfony 3 is not much different from Symfony 2, we just extended our existing support instead of creating a completely new one. However, NetBeans recognizes the proper version of the Symfony you use in your project, of course: It means that all features that work in Symfony 2 work now...

Wednesday, May 11, 2016 | Features | Read More

PHP 7 Support (Part 2)

Hi all, today we will show you our support for PHP 7 which will be part of NetBeans 8.2. (This is the second part; for the first part, please follow this link.) First, please let me thank our NetBeans user Junichi Yamamoto who is helping a lot with developing of new features as well as fixing of existing issues. Thanks a lot, Junichi! Please note that PHP 7 is a huge update of NetBeans PHP support so your help with testing and reporting issues is more than welcome (and really...

Wednesday, May 4, 2016 | Features | Read More

PHP 7 Support (Part 1)

Hi all, today we will show you our support for PHP 7 which will be part of NetBeans 8.2. First, please let me thank our NetBeans user Junichi Yamamoto who is helping a lot with developing of new features as well as fixing of existing issues. Thanks a lot, Junichi! Please note that PHP 7 is a huge update of NetBeans PHP support so your help with testing and reporting issues is more than welcome (and really appreciated!), thank you. Instructions can be found at the end of this...

Monday, May 2, 2016 | Features | Read More

Spellchecker for PHPDoc comments

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who is helping a lot with implementing enhancements and fixing issues in all the areas of NetBeans PHP support. He has also contributed a few plugins, e.g. support for CakePHP framework. He would like to tell you a few words about one new PHP feature in NetBeans. Thanks a lot, Junichi! Hi all. Today we will show you the Spellchecker for PHPDoc comments which will be available in the next...

Monday, February 29, 2016 | Features | Read More

{@inheritdoc} tag support added

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who is helping a lot with implementing enhancements and fixing issues in all the areas of NetBeans PHP support. He has also contributed a few plugins, e.g. support for CakePHP framework. He would like to tell you a few words about one new PHP feature in NetBeans. Thanks a lot, Junichi! Hi all. Today we will show you the {@inheritdoc} tag support for PHPDoc comments which will be available in the next...

Monday, February 22, 2016 | Features | Read More

Code completion for your custom code template

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who is helping a lot with fixing issues in all the areas of NetBeans PHP support. He has also contributed a few plugins, e.g. support for CakePHP framework. He would like to tell you a few words about one new PHP feature in NetBeans. Thanks a lot, Junichi! Hi all. Today we will show you the new code completion feature for your custom code template which will be available in the next NetBeans version.Yo...

Monday, January 18, 2016 | Features | Read More

New brace matching feature

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who is helping a lot with fixing issues in all the areas of  NetBeans PHP support. He has also contributed a few plugins, e.g. support for CakePHP framework. He would like to tell you a few words about one new PHP feature in NetBeans. Thanks a lot, Junichi! Hi all. Today we will show you the new brace matching feature which will be available in next NetBeans version.If a caret is on a closing brace...

Monday, January 11, 2016 | Features | Read More

NetBeans IDE 8.1 released

Most of you have already noticed but still, let me inform you that NetBeans IDE 8.1 has been released! All the information can be found here.

Monday, November 9, 2015 | Features | Read More

NetBeans IDE 8.1 Beta released

Let me inform you that NetBeans IDE 8.1 Beta has been released! All the information can be found here.  Enjoy it and let us know how you like it.

Friday, August 7, 2015 | Features | Read More

Codeception support added

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who has created support for Codeception in NetBeans 8.1. He would like to tell you a few words about this new PHP unit testing framework and its support in NetBeans. Thanks, a lot Junichi! Hi all, today we will show you Codeception support which has been added in NetBeans 8.1 as another PHP testing framework.If you have used PHPUnit, atoum or Nette Tester in NetBeans IDE, you can use this support the...

Monday, July 27, 2015 | Features | Read More

Phing support added

Hi all, today we will show you our support for PHP project build system or build tool which has been added in NetBeans 8.1. This time, we will talk about Phing. This support works exactly the same way as the existing support for JavaScript build tool, Grunt (please note that for NetBeans 8.1, we have added another popular JavaScript build tool, Gulp). This starts with configuration of Phing executable, of course: Now, we can create a new Phing build file if it does not exist in...

Thursday, May 14, 2015 | Features | Read More

NetBeans 8.0 is out!

Hi all, let me inform you that NetBeans 8.0 is out! Enjoy it!

Wednesday, March 19, 2014 | Features | Read More

NetBeans 8.0 RC1 is out!

Hi all, let me inform you that NetBeans 8.0 RC1 is out! Enjoy it!

Wednesday, February 26, 2014 | Features | Read More

Nette Tester support added

Hi all, today we will show you our support for another testing framework which has been added in NetBeans 8.0. This time, we will talk about Nette Tester. As always, let's start with IDE Options: The next step (besides adding your testfiles, of course ;) is to select Nette Tester for your project. One can simply Test his/her project and if no testing provider is set yet (PHPUnit and atoum are the other possibilities), NetBeans will ask which one should be used. If you use Compose...

Wednesday, February 5, 2014 | Features | Read More

PHP 5.5 Support

Hi all! After few weeks of inactivity we would like to introduce you some of new features which will be available in NetBeans 8.0. Today we will show you PHP 5.5 support. Note: All PHP 5.5 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.5 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). Our editor supports all new PHP features such as... ...Generators... ...Finally keyword... ....

Tuesday, January 21, 2014 | Features | Read More

NetBeans 8.0 Beta is out!

Hi all, let me inform you that NetBeans 8.0 Beta is out! Enjoy it! BTW we plan to blog more about its new PHP features soon so stay tuned ;)

Monday, January 20, 2014 | Features | Read More

NetBeans 7.4 RC1 is Out!

Hi all, let me inform you that NetBeans 7.4 RC1 is out The complete list of new features is available in the New and Noteworthy document. Please test it and report all the issues or enhancements you find in NetBeans Bugzilla. Also, please do not forget that all the comments here are moderated.

Friday, September 20, 2013 | Features | Read More

Netbeans + atoum = love <3

This blog post has been contributed by our NetBeans PHP user Julien Bianchi who has helped a lot with integrating atoum into NetBeans PHP support in NetBeans 7.4. He would like to tell you a few words about this new PHP unit testing framework and its support in NetBeans. Thanks, a lot Julien! Hi all! If you are here today, it's because you know and probably use Netbeans. But you probably don't know atoum yet. Too bad, you missed one of the most powerfull and pleasant to use...

Monday, September 9, 2013 | Features | Read More

Improve Your Code With New Hints

Hi all! After few weeks of inactivity we are here again and we want to show you some new hints which will try to improve your code in NetBeans 7.4 (at least we hope so ;-). So here they are: Too Many Lines So what do you think that it does? Yes, exactly :-) It checks the number of lines of class, interface, trait and method (function) declarations. If the number is exceeded, than IDE warns you. So your elements will be more readable and pretty thin :-) Do you think that the...

Tuesday, August 13, 2013 | Features | Read More

NetBeans 7.4 Beta is out

Hi all, let me inform you that NetBeans 7.4 Beta is out!  The complete list of new features is available in the New and Noteworthy document. Please test it and report all the issues or enhancements you find in NetBeans Bugzilla. Also, please do not forget that all the comments here are moderated.

Tuesday, July 16, 2013 | Features | Read More

HTML5 development in PHP projects

Today, we would like to show you how you can in NetBeans 7.4 develop your HTML5 applications directly in your PHP projects. And because everything has already been described on the NetBeans Web Client blog, we will just provide a link to this great blog post: HTML5 development in Java EE and PHP projects. Enjoy it! :) That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans Bugzilla. Also, please do not forget that all the c...

Monday, June 24, 2013 | Features | Read More

Community: PHP CS Fixer Plugin

This blog post has been contributed by our NetBeans PHP user Junichi Yamamoto who has created several plugins for NetBeans PHP support. He would like to tell you a few words about one of his NetBeans plugin. Thanks, a lot Junichi! Hi all, I have created a plugin for PHP CS Fixer. Today, I introduce features of this plugin briefly. Now, this plugin is available on Plugin Portal and it works with NetBeans 7.3. Please download if you are interested in this. At first, we have to...

Wednesday, June 5, 2013 | Features | Read More

Static code analysis

Hi all, today we will show you how you can check quality of your PHP code in NetBeans 7.4. For this task, we use standard PHP tools PHP_CodeSniffer and PHP Mess Detector. As always if NetBeans uses any external tool, verify IDE Options that everything is set correctly: If it is, you are ready to inspect your code (one can select a PHP project or a PHP file): Inspect dialog will appear. Here, we can e.g. select only one inspection tool or create custom configuration: If we are...

Wednesday, May 22, 2013 | Features | Read More

Nette Framework with Latte Templates (and one more thing)

Hi all! After few weeks we would like to introduce you some new features which will be available in NetBeans 7.4. And what is it about? It's about new framework support! For NetBeans 7.4 we added a support for Nette Framework with Latte Templates. Not sure if all of you know it, so here is an official introduction: "A popular tool for PHP web development. It is designed to be the most usable as possible and is definitely one of the safest one. It speaks your language and helps...

Thursday, May 9, 2013 | Features | Read More

Run/Debug focused test method

Hi all, today it will be just very short blog post about a useful feature that will be present in NetBeans 7.4. Everyone of us has a plenty of unit tests, right? And currently, there is no easy way to run (or debug) just one single test (one single method) - but this will change in NetBeans 7.4. The only thing one has to do is to right click in a test method which shows this context menu: If you invoke the selected action, expected test result will appear: That's all for today,...

Wednesday, April 24, 2013 | Features | Read More

Toggling Comments

Hi all! New month is here and we are here too with a new blog post about toggling comments feature for next NetBeans release. Toggle comment (ctrl+shift+c or ctrl+/) is a well known feature so what is new in here? Now it's supported in many new languages! Now you can toggle in Apache configuration files, INI files, Neon files and in Twig files as well. And for Twig files we provide some speciality - you can set an option what and how to comment. It's the same option as it's for...

Wednesday, April 3, 2013 | Features | Read More

Twig Braces Matching

Hi all! Here we are again with new features for next NetBeans release. Today we would like to talk about braces matching in Twig templating support. And what does it mean exactly? That IDE automatically highlights and pairs your control structures, when the caret is on them. So if you put a caret e.g. on an if keyword, then all corresponding else, elseif and endif kewords are highlighted too. It's really great, isn' it? And of course it works for all common paired Twig tags. And...

Thursday, March 28, 2013 | Features | Read More

Improved Type Renaming

Hi all! Today we would like to show you brand new renaming feature for next NetBeans release. Most of you definitely use common standard that every class is in its own file and the file name is the same as the class name. It means that if you have class Foo it will surely be in a file named Foo.php. But when you rename that class you surely want to rename its file as well. And NetBeans, finally, allows you to do that automatically :-) Just check one checkbox during...

Wednesday, March 20, 2013 | Features | Read More

Add project dependency via Composer

Hi all, NetBeans 7.3 is already out so it is a time for implementing new features for the next version of NetBeans. Today, we will have a look at the improvements in the Composer support.  Composer is a Dependency Manager for PHP so it should be really possible to add dependencies to your PHP projects, right? Fortunately, this feature has been implemented and can be tested in the current development version of NetBeans. How it works? It is very simple, just invoke the proper...

Wednesday, March 13, 2013 | Features | Read More

NetBeans 7.3 RC1 is Out!

NetBeans 7.3 RC1 was published today. You can download it. You could read about the PHP features added to the NetBeans 7.3 release here on the blog, but the main features added or improved are: Parsers for Namespaced Annotations (Symfony 2, Doctrine 2, etc.), Basic Composer Integration (Dependency Manager for PHP), Twig Code Completion (with documentation), Smarty Braces Matching for Related Tags, Smarty Parser Errors of Unmatched Tags. As obvious you can help us to test the build....

Monday, January 28, 2013 | Features | Read More

Do You Have a Problem? Use NetBeans PHP Users Community!

Hi all! Today we would like to show you one of channels, where you can solve your problems which are somehow related to PHP and NetBeans. And what it is? It's NetBeans PHP Users mailing list and corresponding forum (they are synchronized). Most of you probably know that we have such channels, but for those who don't, let me introduce it a bit. Imagine you have a problem with PHP in NetBeans. What to do? Some of you start to scream on Twitter and such, but nothing happens...

Wednesday, January 23, 2013 | Features | Read More

Problems in your PHP projects

Hi all, today we would like to show you a new feature we have added for NetBeans 7.3. If your PHP project has any configuration problem, NetBeans will warn you. We will start with opening some broken project - NetBeans will detect it and mark it: NetBeans will also show you a warning dialog which can be used for resolving project problems:  One can use also a context action which is present on project in the Projects view: The dialog for resolving project problems is very simple: E...

Monday, January 7, 2013 | Features | Read More

Using PHP and Oracle?

Hi all, do you use PHP and Oracle database? If yes then we have one tip for you - major update of the free Underground PHP and Oracle Manual has been released. Enjoy it!

Wednesday, December 12, 2012 | Features | Read More

Another Twig Improvements

Hi all! We are here again to intorduce you some of our new NetBeans 7.3 features. Today we'll show you some another Twig improvements. So let's start! Code Templates First feature is about Code Templates. We added some basic templates to improve your Editor experience. You will be really fast with it! If someone don't know what Code Templates are, they are piece of code (snippet) which is inserted into editor after typing its abbreviation and pressing Tab key (or another...

Thursday, November 22, 2012 | Features | Read More

NetBeans 7.3 Beta2 is Out!

NetBeans 7.3 Beta2 was published today. You can download it. You could read about the PHP features added to the NetBeans 7.3 release here on the blog, but the main features added or improved are: Parsers for Namespaced Annotations (Symfony 2, Doctrine 2, etc.), Basic Composer Integration (Dependency Manager for PHP), Twig Code Completion (with documentation), Smarty Braces Matching for Related Tags, Smarty Parser Errors of Unmatched Tags. As obvious you can help us to test the...

Thursday, November 8, 2012 | Features | Read More

Composer support

Hi all, today we would like to introduce you our Composer support which will be present in NetBeans 7.3. If anyone of you does not know Composer yet, please be informed that: "Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you." So, what support do we have in NetBeans? The first step, as usually, is to open the Composer IDE Options panel: Once it is configured...

Tuesday, October 23, 2012 | Features | Read More

Ambiguous Comparison Hint

Hi everybody! Today we would like to show you some new hint which will be available in NetBeans 7.3. It's called Ambiguous Comparison hint. Its name seems to be quite fuzzy, but it describes exactly what the hint does. It tries to check all comparisons whether they are intended. Because sometimes you want to make a simple assignment, but you make a typo and comparison appears. It's really dangerous mistake because then your code doesn't work as expected. Your application can...

Wednesday, October 17, 2012 | Features | Read More

Generated Methods with Type Hints

Hi all! Today we would like to introduce you just another feature from upcoming NetBeans 7.3. It's about generating setters, constructors and type hints of their parameters. For years, you can use Insert Code action to generate setters, getters, constructors and such. Nothing new. But from NetBeans 7.3 you can generate Fluent Setters! What does it mean? Simply that $this is returned from a generated setter. This is how it looks like: But that's not everything :) As you know,...

Thursday, October 4, 2012 | Features | Read More

Twig Code Completion

Hi all! After few weeks we have a new feature for you which will be available in upcoming NetBeans 7.3. It's about new code completion in Twig files! So let us introduce it a bit. Now we hopefully support all of Twig built-in elements. It means Tags, Filters, Functions, Tests and Operators (see Twig documentation for more information). All elements are also documented, so if you don't know what which element does, just read it in the IDE documentation window! We try to resolve...

Thursday, September 27, 2012 | Features | Read More

Smarty: Tags Matching and Unpaired Tags Errors

Hello, today we would like to show you other improvements we have prepared in PHP Smarty Framework. Let's talk about highlighting of matching tags and error reporting of unpaired ones which will be available in NetBeans 7.3. Tags Matching Some of your enhancements talked  about paired tags matching to be able to see matching tags at first glance.We have good news for you that this feature you can try out already in our latest PHP Development builds and of course later in...

Tuesday, September 18, 2012 | Features | Read More

NetBeans PHP Community Council

Hi all, today we would like to inform all of you that now you have a chance to improve NetBeans via NetBeans PHP Community Council. The author of this activity is Timur Poperecinii and he would like to tell you a few words about it. Hello passionate technical people, First of all let me introduce myself: my name is Timur, I’m a developer from Moldova (that little country between Romania and Ukraine), I develop mostly in .NET and JQuery, but I love to learn more, not being an...

Monday, September 10, 2012 | Features | Read More

Running external commands improved a bit

Hi all, today we would like to show you one small improvement related to running external commands (e.g. generating documentation, running framework commands etc.) which will be available in NetBeans 7.3. First, have a look at the screenshot: As you can see, the first line represents the command that is being executed. In case of any error, this command can be easily copy & pasted to the console for deeper investigation (and proper bug reports ;). Also please notice that the Out...

Wednesday, September 5, 2012 | Features | Read More

Smarty: Configurable Comments and Code Templates

Hello, today we would like to show you few improvements we have prepared in PHP Smarty Framework for NetBeans 7.3. So let's talk about adjustable toggle comment action and code templates. Configurable Comments As some of you requested we implemented toggle comment action with adjustable behavior. In NetBeans 7.3 you can choose in Options between commenting as a "Smarty comments everywhere" or "Language sensitive comments" in Smarty Templates. Toggle comment language sensitive: To...

Monday, August 27, 2012 | Features | Read More

Hyperlink Navigation from jQuery selectors

Yesterday I have added small new feature to the jQuery support. Now you can navigate to the css id or classes definition through the hyperlink. So when you place the mouse cursor over an id or a css class and press CTRL / Command key, the id or class changed to the link. After click there is opened the css file with appropriate style definition. 

Tuesday, August 21, 2012 | Features | Read More

New JavaScript Editor in the Development Build

As I wrote in my last few posts, we are working on the new JavaScript editor. A few days ago we have merged the editor from a branch to the trunk, so now the editor is a part of daily builds that can be downloaded here and it should be much easier to play with it. We are working hard on it and probably not everything is working as you want or as you expected. I would like to ask you to help us to make the JavaScript editor better and better. Just play with it or try to write...

Thursday, August 16, 2012 | News | Read More

NetBeans 7.2 is out!

NetBeans 7.2 was today published. You can download it here. You could read about the PHP features added to the NetBeans 7.2 release here on the blog, but the main features added or improved are: Support for PHP 5.4 PHP editing: Fix Uses action, annotations support, editing of Neon and Apache Config files and more Support for Symfony2, Doctrine2 and ApiGen frameworks FTP remote synchronization Support for running PHP projects on Hudson For more information, just look at New...

Tuesday, July 24, 2012 | Features | Read More

NetBeans 7.2 RC1 is published

NetBeans 7.2 RC1 was today published. You can download it here. You could read about the PHP features added to the NetBeans 7.2 release here on the blog, but the main features added or improved are: Support for PHP 5.4 PHP editing: Fix Uses action, annotations support, editing of Neon and Apache Config files and more Support for Symfony2, Doctrine2 and ApiGen frameworks FTP remote synchronization Support for running PHP projects on Hudson For more information, just look at New...

Friday, June 29, 2012 | Features | Read More

NetBeans 7.2 Beta is published

NetBeans 7.2 Beta was today published. You can download it here. You could read about the PHP features added to the NetBeans 7.2 release here on the blog, but the main features added or improved are: Support for PHP 5.4 PHP editing: Fix Uses action, annotations support, editing of Neon and Apache Config files and more Support for Symfony2, Doctrine2 and ApiGen frameworks FTP remote synchronization Support for running PHP projects on Hudson As obvious you can help us to test the...

Wednesday, May 23, 2012 | Features | Read More

New UI for remote synchronization

Hi all, today we would like to show you our new UI for the remote synchronization which will be available in NetBeans 7.2. For the detailed description how to synchronize your project with your remote server, read the original blog post. The main window is now much better and more usable: If one selects multiple files, the information is updated properly (see the "status bar" of the table): Error or warning message is now much better accessible (again, see the "status bar" of the...

Wednesday, May 23, 2012 | Features | Read More

jQuery Support

In one my post I mentioned that I work on the new JavaScript editor. Today I would like to show a few pictures from new jQuery support.  The code completion for jQuery methods with documentation: The code completion for jQuery methods works also in a chain of methods:  If you invoke the code completion in argument place of a jQuery method, then the code completion offers html tags:  attributes of a tag: css elements (rules, classes) that are used in the project and selectors with...

Thursday, May 17, 2012 | Features | Read More

How To Fix Your Use Statements?

Hi all! Today we would like to introduce you our new feature for NetBeans 7.2 which is called Fix Uses.... Have you ever used Java support in NetBeans and its Fix Imports... action? What does it do. It simply goes through your code and tries to resolve missing import statements. And as you know, Java imports are "something like" PHP use statements. So what that our new Fix Uses... action do? Exactly what you mean. It goes through your code and tries to resolve missing...

Wednesday, April 18, 2012 | Features | Read More

Several New Hints

Hi all! Today we would like to introduce you some of our new experimental hints for NetBeans 7.2. They are called: Unused Use Statement and Immutable Variables. Unused Use Statement This hint is quite simple. It highlights (underlines) your use statements, which are not used. Typical use case is after some refactoring, when you forgot to remove some obsolete use statements. This hint warns you on them and allows you to remove them easily. Just click on the hint bulb in the...

Wednesday, April 11, 2012 | Features | Read More

Run Tests in Folder

Hi all, today we would like to show you another minor improvement we have prepared for NetBeans 7.2. Today, let's talk a little bit about testing. This minor improvement will be useful especially for users who have a lot of unit tests (it means all of us, right? ;) - just right click on any folder underneath Test Files node and you will notice: The result is as expected - all the tests from the given folder are run: That's all for today, as always, please test it and report all...

Thursday, April 5, 2012 | Features | Read More

JavaScript: Code Folding

Today I would like to mentioned code folding in the new JavaScript editor support, which is available in the continual builds from our server. It's a basic feature, but was mentioned in a comment under the mentioned post. So you can fold comments and every code block between { and }. The current support allows only methods to be folded. The difference is shown below. In the picture on the left side is the current folding and on the right side the new one.   The code folding...

Sunday, April 1, 2012 | Features | Read More

Brand New Annotations Support

Hi all! Today we would like to introduce you our brand new annotation support for NetBeans 7.2. The first thing which is different is the look of annotations in code completion. As you can see, there is a new annotation icon and an annotation type. Because we have a lot of modules with their own annotations, we differ them in code completion window by their type. We support annotations for: ApiGen (legacy PHPDoc annotations), PHPUnit, Doctrine 2 (ORM and ODM) and Symfony 2. Every...

Thursday, March 29, 2012 | Features | Read More

PHP 5.4 Support: Traits

Hi all! Today we would like to introduce you to another new PHP 5.4 feature for NetBeans 7.2, which is called Traits. Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). If you don't know what Traits are, just look at the official documentation or the RFC. So what exactly is exact Trait support in...

Wednesday, March 28, 2012 | Features | Read More

Remote synchronization

Hi all, today we would like to show you another improvement we have prepared for NetBeans 7.2. Today, let's talk a little bit about remote synchronization. If you already use our simple (S)FTP client, this enhancement could be useful for you. Simply right click on Source Files and select Synchronize. Please notice that the remote synchronization works better only on the whole project (it means that the Source Files must be selected). The Synchronize action is also available...

Tuesday, March 27, 2012 | Features | Read More

New JavaScript Editor

I did not write a blog post here for a few weeks. I think the last my post was  about releasing NetBeans 7.1 in the beginning of January. The reason is not that I would change the job:), but that I have concentrated on new JavaScript support/editor. The new JavaScript editor is written basically from scratch. The answer for the question "Why from beginning again, why do you just improve the old one?" is not easy and the decision has more aspects. One of the main reasons is...

Thursday, March 22, 2012 | Features | Read More

PHP 5.4 Support: Minor Features

Hi all! This week is another PHP week. Asking why? PHP migrates to Git and GitHub! Isn't that cool? And this week is also NetBeans for PHP week, because we have some new NetBeans 7.2 features for you. Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). Callable type hint Let's start with a new PHP 5.4 type hint...

Wednesday, March 21, 2012 | Features | Read More

Improved Code Folding

Hi all! Today we would like to introduce you a new NetBeans 7.2 feature which was very discussed in our BugZilla and had a lot of votes. It was an issue about Code Folding of other PHP structures then just classes, methods and comments. It wasn't implemented in PHP Editor, because Java Editor didn't support that either. But you, our users, forced us to implement that for you. So now, here it is! Now you can use code folding for if, else, elseif, do, while, for, foreach, switch,...

Tuesday, February 28, 2012 | Features | Read More

PHP 5.4 Support: Built-in web server

Hi all, today we would like to show you how easily in NetBeans one can use the PHP built-in web server which will be part of the upcoming PHP 5.4. This functionality will be available in NetBeans 7.2. Note: For the built-in web server to work, one must install PHP 5.4 (RC 6 available these days). Please notice that there are still some issues that needs to be solved for the final version of NetBeans 7.2. As I promised, using it is very simple - just open Project Properties of...

Wednesday, February 22, 2012 | Features | Read More

Improvements in Coloring

Hi all! Today we would like to introduce you some of our new coloring features which will be available in NetBeans 7.2. Let's start with Apache Config Files. Everyone of you surely know .htaccess or httpd.conf files. These are configuration files for Apache Web Server. And in NetBeans 7.2 we can color this file type! Look at the picture below. Next coloring improvements are implemented in PHP editor. First of them is a coloring of PHP numbers and the second one is a coloring of...

Monday, February 20, 2012 | Features | Read More

PHPUnit improvements for NB 7.2

Hi all, today we would like to show you another improvements we have prepared for NetBeans 7.2. Today, lets talk a little bit about PHPUnit. First improvement is a new support for PHPUnit Skeleton Generator. Generating unit tests via PHPUnit script itself has been deprecated and the PHPUnit Skeleton Generator should be used. Don't worry, if you don't have PHPUnit Skeleton Generator installed yet, NetBeans falls back to the PHPUnit script. The setup is as usually, simply install...

Wednesday, February 15, 2012 | Features | Read More

PHP 5.4 Support: Short Array Syntax

Hi all! Today is the introduction day of our next PHP 5.4 Feature support. It's called Short Array Syntax and will be available in NetBeans 7.2. Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). Common PHP array declaration syntax is quite long, so developers of PHP decided to support some kind of a shorter...

Monday, February 13, 2012 | Features | Read More

Continuous Integration support

Hi all, today we would like to show you another great feature we have prepared for NetBeans 7.2. It is Continuous Integration support for PHP projects. Everyone who has plenty of tests for his/her PHP projects and needs to be sure that all the tests pass all the time, NetBeans 7.2 will try to help as much as possible. What exactly needs to be done? NetBeans uses Template for Jenkins Jobs for PHP Projects (created by Sebastian Bergmann, the author of PHPUnit - thanks for it,Sebas...

Wednesday, February 8, 2012 | Features | Read More

PHP 5.4 Support: Anonymous Object Variable

Hi all! Today we would like to introduce you next of our PHP 5.4 support features for NetBeans 7.2. It's called Anonymous Object Variables. Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). If you don't know what to imagine under this feature's name, so here is just another description: class member access...

Monday, February 6, 2012 | Features | Read More

Doctrine2 support added

Hi  all, today we would like to inform all the Doctrine2 PHP ORM framework users that their favorite framework is now supported in NetBeans. First, as always, be sure that NetBeans knows about your Doctrine2 installation: If you have installed Doctrine2 via PEAR, the Doctrine2 script will be detected automatically. Next, you need to tell NetBeans that your existing PHP project uses Doctrine2 - open Project Properties dialog and enable its support. Now, you will be able to run...

Monday, January 30, 2012 | Features | Read More

Identical Comparison Hint

Hi everybody! Today we would like to introduce you some of our new hints. This one is called Identical Comparisons and checks whether you use more strict identical comparison instead of simple equal comparison. If not it suggests you to change it to identical one. If you don't know what is the difference between identical and equal comparisons, you can read it in official PHP manual. And because we know, that sometimes there is a use case when you should use just equal...

Tuesday, January 24, 2012 | Features | Read More

PHP 5.4 Support: Array Dereferencing

Hi all! As I wrote in my last blog post, this year is the year of PHP 5.4. Last PHP 5.4 RC is comming and stable version should be relased soon, so we would like to introduce you some of our PHP 5.4 editor features. Note: All PHP 5.4 features are available in your projects after setting Project Properties -> Sources -> PHP Version to PHP 5.4 value, or after choosing the same value during a PHP Project creation (in New Project Wizard). Today we would like to talk about array...

Thursday, January 19, 2012 | Features | Read More

Symfony2 and Twig part of NetBeans

Hi all, let me inform you that our support for Symfony2 framework and Twig templates (donated by Sebastian Hörl) are now part of standard NetBeans PHP distributions. More details about these features can be found in our previous blog post. That's all for today, as always, please test it and report all the issues or enhancements you find in NetBeans BugZilla (component php, subcomponent Symfony or Twig).

Tuesday, January 17, 2012 | Features | Read More

ApiGen support added

Hi all, today we would like to show you how you can generate very nice API documentation of your projects with ApiGen. Citation from http://apigen.org/:ApiGen is the tool for creating professional API documentation from PHP source code, similar to discontinued phpDocumentor/phpDoc. It works the same way as the current PhpDoc support. So, please install it and just verify in Tools > Options > PHP > ApiGen that NetBeans is able to detect it correctly (this should work for...

Thursday, January 12, 2012 | Features | Read More

Initial Support for Neon File Type

Hi all in the year of PHP 5.4! Today, we would like to introduce you our support for a new file type. It's called NEON and it's a kind of configuration file developed by the Nette Foundation (authors of the Nette Framework). All of you surely know INI, or YAML files, so NEON is something similar. You can find more information about this file type (its syntax, differences between NEON and YAML, etc.) on its official web site. So from now, we can recognize these files and we know...

Tuesday, January 10, 2012 | Features | Read More

NetBeans 7.1 is now live

Now you can download the final build of NetBeans 7.1 . There are many improvements and fixes in web development area, including supporting PHP. About the new features and improvement you can read here. Thanks for your support. 

Thursday, January 5, 2012 | Features | Read More

NetBeans IDE 7.1 Release Candidate 2 Available for Download

The second release candidate of NetBeans 7.1 was published. You can download the build from NetBeans site.  As obvious you can help us to test the build. Just try it and if you find an issue / error, please report it.  Thanks for your help.

Tuesday, December 6, 2011 | Features | Read More

Initial support for Symfony2

Hi all, today we would like to show you how you can develop your Symfony2 projects with Twig templates in NetBeans 7.1. First, you need to download RC version of NetBeans 7.1. Then, among available plugins (Tools > Plugins), there is a Symfony2 plugin. This plugin (which will be part of the next version of NetBeans) now provides just the basic support for Symfony2 framework as can be seen on its homepage: Run Comand Create new Symfony2 project For editing Twig templates, this...

Monday, December 5, 2011 | Features | Read More

NetBeans IDE 7.1 Release Candidate Available for Download

Just a few minutes ago the release candidate of NetBeans 7.1 was published. You can download the build from NetBeans site.  As obvious you can help us to test the build. Just try it and if you find an issue / error, please report it.  Thanks for your help.

Monday, November 28, 2011 | Features | Read More

Formatting: Group Multiline Alignment - Added

One week ago I have added two new properties for formating PHP code into NetBeans 7.1. In Alignment category there are new properties for Group Multiline Alignment - Assignment and Array Initializer.  The Assignment property influence position of the char '=' in a group of lines with assignments.  Let see the pictures below.  On the left site -  Assignment property is off and on the right site the property is on. As you can see, when the property is set on, then the assignment...

Monday, November 14, 2011 | Features | Read More

PHP Conference 2011 in Barcelona

This week I'm going to visit PHP Conference that will take place from the 28th to the 29th of October in Barcelona. I will have there one session about NetBeans IDE. The session starts at 3:45 PM on Friday.  If you will be there and you would want to talk with me about NetBeans, discuss features and what is missing for you, we can organized informal get-together. Just let me know, leave comment here.

Wednesday, October 26, 2011 | News | Read More

New Old Hints

Hi all! It's several weeks when we last introduced you some pure PHP improvements, isn't it? But now, it's here again :-) Today we would like to write something about old well-known PHP hints, their new implementation and new improvements. Here they are: Order of Arguments, Uninitialized Variables and Accidental Assignments. Order of Arguments This hint was renamed. Its old name was Argument with a default value should not be preceded by argument without a default value. It's...

Monday, October 24, 2011 | Features | Read More

Rectangular Selection

If you use development build, you probably noticed that NetBeans editor added Rectangular Selection action. I don't need this functionality every day, but it can be helpful in some case. One of such case is when you need to delete line numbers in a text  or code copied from  a tutorial. Like on the picture below. You can select the rectangle after pressing Rectangular Selection toggle button in the editor toolbar or pressing CTRL+SHIFT+R shortcut.  The selection can be easily...

Thursday, October 20, 2011 | Tips & Tricks | Read More

Basic support for Smarty3

Many of you were asking about editor support for changed delimiters policy which happened in Smarty 3.0. I'm glad that I can announce that NetBeans 7.1 will contain initial Smarty3 support which impacts especially delimiters policy and also adds most of Smarty3 tags into the code completion. See the following example for Smarty3 code from our latest Development version: If you would like to come back to the Smarty2 behaviour, you can do so in Tools -> Options -> PHP -> Smartyta...

Wednesday, October 5, 2011 | News | Read More

NetBeans IDE 7.1 Beta Available for Download

Although the main theme for NetBeans 7.1 is the support for JavaFX 2.0, we have worked hard on PHP improvements as well. NetBeans 7.1 brings better debugger support, support for PHPUnit test groups, Smarty and many other improvements. You can download the build from NetBeans site.  You can help us to test the build. Just try it and if you find an issue / error, please report it.  Thanks for your help.

Monday, October 3, 2011 | Features | Read More

Do you have any unused variable, please?

Today we would like to introduce you a very useful feature, which is well known by most of you. Do you know experimental hint which tried to check your unused variables? I hope you do. But almost noone used it. And why? Because it was slow, unstable and, unfortunately, it didn't work :/ But now we threw it away and we made a pretty new implementation. It is fast, stable and, fortunately, it works ;) You can enable/disable that in Tools -> Options -> Editor -> Hints -> PHP -> Sta...

Wednesday, September 21, 2011 | Features | Read More

Support for Smarty in standard distribution

Hi all, I would like to announce good message for developers who are using Smarty as a template engine for PHP. Smarty support for NetBeans IDE was introduced more than year ago when it became available through Plugin Portal UC and since NetBeans IDE 7.1 it will be part of standard distribution. In addition I'm attaching list of last features which weren't introduced in our Smarty blogposts yet. List of last improvements: Performance improvements in project opening Basic code...

Monday, September 19, 2011 | Features | Read More

Using PHPUnit test groups?

Hi all, today we would like to show you how you can use PHPUnit test groups in NetBeans. First of all, you need to enable test groups for your PHP project: Then, define any number of groups suitable for your unit tests: If you are ready, you can run your tests. A dialog allowing which test groups to run appears: Of course, only tests for selected test groups are run and displayed: That's all for today, as always, please test it and report all the issues or enhancements you...

Thursday, September 1, 2011 | Features | Read More

Smart Method Parameters Pre-Filling

Hi all, today we would like to introduce you a new feature which will be, we hope, very helpful for you! It makes pre-filling of method/function parameters really smart. Let's start with an old behaviour. If you had a method with parameters described in PHPDoc, code completion of this function didn't care about that. It suggested you just the names of it's parameters, even though you had your own variables of a valid type declared right before code completion invocation. It was...

Wednesday, August 31, 2011 | Features | Read More

Lazy file download

Hi all, this will be a blog post about another minor feature that can mean a huge usability improvement for all of you who are using our (S)FTP support and have really big projects on your remote server. We would like to inform you that files in the Download dialog are now fetched "lazily". What does it mean exactly? If one uses Download action on Source Files node (or any of its subfolders), only top level directories and files are downloaded. If any of these folders is...

Monday, August 29, 2011 | Features | Read More

Clever Code Completion for try/catch

Hi all, today we would like to introduce a new little feature which improves a code completion for try/catch block matching. And what is the difference? In NetBeans 7.0.1 there are all classes suggested in a catch block matching. As you can see in the picture, it's not comfortable. But now, in development version of NetBeans, only classes which are inherited from an \Exception class are suggested! It's pretty cool, isn't it? It was quite annoying to skip useless classes by...

Thursday, August 25, 2011 | Features | Read More

FTP over TLS/SSL

Hi all, today I would like to show you another feature we have implemented in our FTP support - secure (encrypted) FTP over TLS/SSL. This feature has been requested for a long time so we are happy that we can deliver it. In the Manage Remote Connections window, one can choose whether the FTP is unencrypted or encrypted (with both, explicit or implicit method to invoke client security) and also whether the whole connection should be secured or just the login process. One can...

Tuesday, August 23, 2011 | Features | Read More

New Features in PHP Debugger

Hi all, we are very happy today, because we can introduce you new features which were implemented into the PHP Debugger module. From now a debugging of PHP projects with NetBeans is much more comfortable.  So enough words and let us introduce them! The first:Debugging has it's own tab in Tools -> Options -> PHP. So everything what was somehow connected with a debugging and was in a General tab is here now. The second: In the Debugging tab, there are two new text inputs...

Thursday, August 18, 2011 | Features | Read More

Rewritten Help

I've recently completed rewriting the Help for the PHP editor. Some of you may be surprised to learn that there is product Help documentation. To be fair, it wasn't very good. I hope you'll take the time to look at the new Help in 7.1 builds and leave comments in this thread. Help is available in the following locations: In the Table of Contents, opened by selecting Help > Help Contents. I've rewritten and expanded the topics under PHP Applications. Context-sensitive help,...

Tuesday, August 16, 2011 | Features | Read More

Much faster upload-on-save thanks keep-alive

Hi all, today it will be just a very short blog post but about a feature which was requested by a large number of you, our NetBeans PHP users. We just implemented keep-alive for the internal (S)FTP client so the upload-on-save functionality is now much more faster and more friendly for your remote servers. You can adjust the keep-alive interval in the properties of your remote server (it's the same for FTP and SFTP configuration panel): That's all for today, as always, please t...

Monday, August 15, 2011 | Features | Read More

NetBeans have 1Million Active Users, NetBeans 7.0.1 is available

I took longer vacation after few years and during my vacation happens two important things. In July the NetBeans IDE reached 1,000,000 active users. That number is not the downloads, it represents people who are regularly using NetBeans IDE each month. The PHP users are not a small part. NetBeans 7.0.1 was released on the 1. August. This release has full JDK 7 support. From PHP point of view it contains many fixes and some smaller enhancements. You can download here. One...

Tuesday, August 9, 2011 | Features | Read More

Instant Rename and Rename Refactoring

During the last weeks I have got  a few questions about rename refactoring and some users also complain to me that the refactoring in NetBeans 6.x was much faster. So I would like to explain the situation. For some people, who don't know, Instant Rename action and Rename Refactoring  can look like one action. But it's not true, even if  both actions use the same shortcut (CTRL + R). NetBeans 6.x contained only Instant Rename action (speaking about PHP support), which we can...

Monday, June 27, 2011 | Features | Read More

Adding a ShortCut for Generation PHP Documentation

This is a tip how to add a shortcut for generating PHP Doc for  a class or method / function. Probably every body who uses PHP editor in NetBeans knows that if you write start of PHP Documentation /** just before a class or method/function and hit ENTER, then NetBeans tries to finished the PHP Documentation and adds PHP Doc tag, if there are needed. This feature is not implemented as an action, it's based on the code that checks what is written on the line after pressing...

Thursday, June 2, 2011 | Tips & Tricks | Read More

PHP Debugging in NetBeans on Google Chrome

I got link on a short tutorial Local and Remote PHP Debuging in NetBeans with Xdebug on Google Chrome (just like in Visual Studio). It can be useful for users, who use Google Chrome for development, but the most steps are browser independent.

Wednesday, May 25, 2011 | Features | Read More

Using Tabulator for Indentation

Yesterday I run into an issue that a user wants to use tabulator character for indentation level. Because I answer similar question often, I will try to explain it here.  By default NetBeans editors use for indentation level 4 spaces and don't use tabulator character (\t). When you press Tab key, then NetBeans place caret on the column that corresponds to the next indentation level and the difference is filled with spaces. So by default pressing Tab key adds 4 spaces.   If you...

Tuesday, May 24, 2011 | Tips & Tricks | Read More

Highlighting of Alternative Syntax

Although NetBeans 7.0 is out, I'm still in fixing mode and I work mainly on fixes into NetBeans 7.0.1 release. I have noticed that there were a few complains that NetBeans doesn't support highlighting for alternative syntax in PHP. Last week I committed a patch that solve this. Similarly as open and close brackets are matched, now also begin of a control structure ":" is matched with the end of the structure. For structures while, for, foreach and switch it's simple. It just...

Thursday, May 19, 2011 | Features | Read More