By Tomas Mysik-Oracle on Feb 29, 2016
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.
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.
- 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
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.