Thursday May 12, 2016

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 but still, we are developers and we love to play with a new things, right?) as well as the existing features (to ensure that nothing is broken) in NetBeans development version (it is a good idea to download a fresh build from time to time, we fix a lot of bugs every day). This would help us a lot because there are so many situations that can happen that it is not possible for us to test them all, unfortunately. Please, report all issues together with exact steps to reproduce in NetBeans Bugzilla (component php, subcomponent Editor; unfortunately, currently down for maintenance).

Thank you!

Wednesday May 11, 2016

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:

Symfony 3 support

It means that all features that work in Symfony 2 work now for Symfony 3 as well. But not only that, we have added a completely new functionality - Navigate to Action/View. So, now you can navigate from your views (Twig files) to the relevant actions in your controller and vice versa (applies for both Symfony 2 and Symfony 3):

Symfony, navigate to view

Symfony, navigate to action

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). You can also leave a comment here (please notice that the comments are moderated so they will not appear here immediately) but reporting issues is strongly preferred.

Wednesday May 04, 2016

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

PHP 7 support in NetBeans

[Read More]

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]
About

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

Search

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