Monday May 02, 2016

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.

PHP 7 support in NetBeans

[Read More]

Monday Feb 29, 2016

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 NetBeans version. This feature spell checks your words in PHPDoc comments(/** */) (NOTE: Not /* */, # and //). If there are some spelling mistakes, they will be marked with wavy underlines.

Configuration

At first, let's check the configuration. It is enabled by default. If you don't want to use this feature, please unckeck the Tools > Options > Editor > Spellchecker > PHPDoc comments.

Please note that only english dictionary is bundled with NetBeans so only "en_US" locale works out-of-the-box.

spellchecker options

Ignored words

  • Variable: e.g. $foo
  • Annotation: e.g. @param
  • Type of Annotation: e.g. @param type (only the tags recognized by NetBeans)
  • Camel Case Word: e.g. MyClass
spellchecker for phpdoc

That's all for today. As always, please test it. It's available in the development version. If you find some issues or enhancements, please report them to NetBeans Bugzilla (component php, subcomponent Editor). Thanks.

Monday Feb 22, 2016

{@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 NetBeans version.

You can use this support when you extend a class or override a method. Simply add only {@inheritdoc} to a PHPDoc comment of a child class if you want to use the same one as the parent. And you can see the description of the parent class in the PHP document window using the code completion.

Let's see an example: 

<?php
/**
 * The summary of BaseClass.
 *
 * The description of BaseClass.
 * @author junichi11
 */
class BaseClass
{
    /**
     * test method of BaseClass.
     *
     * @param string $param1
     * @param int $param2
     */
    public function test($param1, $param2) {
    }
}

/**
 * {@inheritdoc}
 */
class ChildClass extends BaseClass
{
    /**
     * {@inheritdoc}
     */
    public function test($param1, $param2) {
    }

}  

Which in the IDE in the case of the class results in:

{@inheritdoc} for a class

And in the case of the method:

{@inheritdoc} for a method

That's all for today. As always, please test it. It's available in the development version. If you find some issues or enhancements, please report them to NetBeans Bugzilla(component php, subcomponent Editor). Thanks.

Monday Jan 18, 2016

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. You can disable/enable it in the IDE Options (Tools > Options > Editor > Code Template > Language:PHP Contexts Tab).

code template options

If you check the php-code, your custom code template is added to the code completion list.

code template code completion

That's all for today. As usually, please test it. It's available in the development version. If you find some issues or enhancements, please report them to NetBeans Bugzilla (component php, subcomponent Editor). Thanks.

Monday Jan 11, 2016

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 and the opening brace is hidden, not only the brace but also context information is shown as a tooltip. This feature would be useful, if an opening brace is written on the next line.

class declaration
if statement

NOTE: If an opening brace is for else keyword(not elseif/else if), the last if keyword line is also shown.

That's all for today. As usually, please test it. It's available in the development version. If you find some issues or enhancements, please report them to NetBeans Bugzilla (component php, subcomponent Editor). Thanks.

Monday Nov 09, 2015

NetBeans IDE 8.1 released

NetBeans 8.1 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.

Friday Aug 07, 2015

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.

NetBeans 8.1 Beta

 Enjoy it and let us know how you like it.

Monday Jul 27, 2015

Codeception support added

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 same way as them.[Read More]

Thursday May 14, 2015

Phing support added

Phing logo

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.

[Read More]

Wednesday Mar 19, 2014

NetBeans 8.0 is out!

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

NetBeans 8.0 final

Wednesday Feb 26, 2014

NetBeans 8.0 RC1 is out!

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

NetBeans 8.0 RC1

Wednesday Feb 05, 2014

Nette Tester support added

Hi all, today we will show you support for another testing framework which has been added in NetBeans 8.0. This time, we will talk about Nette Tester.[Read More]

Tuesday Jan 21, 2014

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.

[Read More]

Monday Jan 20, 2014

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 ;)

NetBeans 8.0 Beta

Friday Sep 20, 2013

NetBeans 7.4 RC1 is Out!

Hi all, let me inform you that NetBeans 7.4 RC1 is out

NB 7.4 RC1

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.

About

This blogs is written by NetBeans developers who contribute to the PHP support mainly.

Search

Categories
Archives
« May 2016
SunMonTueWedThuFriSat
1
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
    
       
Today