NetBeans 6.9 RC 1 is available

The first release candidate of NetBeans 6.9 is now available. You can download and read more here. So far there wasn't any show stopper in the PHP area and we hope that the final build will be realeased according the plan.

Comments:

PHP formatting does not provide me any choice, how i would like to format parenthesis?

Now it puts it like:
function foo(){
}

I'd like to have it newline, as it was 6.8
function foo()
{
}

If the setting has re-located somewhere, please tell me :)

Posted by Jasmo on May 27, 2010 at 02:41 AM CEST #

is there smarty also? I cannot see it...

Posted by gawan on May 27, 2010 at 02:48 AM CEST #

I believe PHP formatting has been extended - not relocated. However: you need to select "PHP" as language (nothing new at this point AFAIK). Smarty is an optional Plug-in which is not there by default. You need to install it using the Plug-in manager. Just do a search for "smarty". Remember that this feature is beta.

Posted by Tom on May 27, 2010 at 03:26 AM CEST #

smarty isn't in Pug-in manager... Shall I add some extra "plugin repository" ?

Posted by gawan on May 27, 2010 at 03:58 AM CEST #

@Tom, ah stupid me, didn't see that there's more Categories below PHP..

When i looked again, there's a lot wonderful options. Great!

Posted by Jasmo on May 27, 2010 at 04:03 AM CEST #

Smarty is not a part of the standard distro and so far is on the dev autoupdate. There wasn't a time to test it with RC. It should be available soon. If you don't want to wait, you can register the dev autoupdate and install it from the dev.

Posted by Petr Pisl on May 27, 2010 at 05:47 AM CEST #

Formatting 2000 line php files works better in Netbeans 6.8 than 6.9rc1. Sometimes, it is necessary to reformat such a large page in 6.8, but the result is pretty.
In 6.9rc1, code at the end can lose all indenting (shoved left), and single line php tags are broken. Ex:

<p><?=$foo?></p>

becomes

<p><?=$foo
?></p>

This seems to be more of a problem with lines that exceed 80 columns.

It looks that Netbeans still takes a day to scan files on Ubuntu. Afterwards, performance is fine. This is not a problem on Windows. Note that scanning overnight does not seem to help.
Worse, this day of scanning affects the whole system, making it difficult to even open a terminal to renice netbeans.

Posted by Bruce on May 27, 2010 at 10:22 AM CEST #

Please file a bug for the formatter, I will try to fix it asap.

Regarding the scanning, there were some fixes in the scanning infrastructure that should help, but there were in RC1 already. Strange. How many files does your project have?

Posted by Petr Pisl on May 27, 2010 at 10:39 AM CEST #

@Bruce

I've had this kind of issues in the past...
Actually, it was because somehow, the project files got corrupted and Netbeans tried to scan more or less my whole Computer.

Go into the project file private.properties and make sure the paths that are indicated there are correct.

I don't know about other OS but I had this problem on Ubuntu aswell.

To the Netbeans team...

You guys rule !!!! Thanks a lot for this great tool... especially the Zend FrameWork integration... oh and the INI-files syntax coloring make my work so much lighter !

The only thing I am still missing in NB, is some wordwrapping... but this is not that annoying when used to it

Posted by dGo on May 28, 2010 at 03:57 AM CEST #

@Bruce I guess this is due to the formatting rule "Options" > "Formatting" > "PHP" > "Spaces" > "Other" > "Before closing PHP".

This option is activated by default and does not recognize that the closing PHP-tag in this case is a short-tag, which should be treated differently.

Posted by Tom on May 28, 2010 at 05:11 AM CEST #

There was a bug that set as a test folder whole disk. This is mentioned by dGo. Please check the paths in your project, whether are properly set up.

@Tom - I think you have find a bug in the formatter. You are right, the formatter doesn't probably understand the short tags. I'm afraid that the fix I will not be able to add into the NetBeans 6.9.

Posted by Petr Pisl on May 28, 2010 at 05:32 AM CEST #

Greate IDE, but one major issue is still actual.

Please, do working with FTP much better.

I need to work with the project with about 18000 files, so how I tried to do this - first I've added the remote host and wait for 2 houre while NetBeans will build hierarchy for FTP folders (why you can't make it more dynamic? list top folders and than give an ability to user to choose which folders he need. After it NetBeans can explore them.). Then I choose all of folders what I need and waited for 4 hours while they being downloaded.

Is this end? No. No there is only one place from what I can work with this project - NetBeans. If I will change something from another environment it will remain unnoticed by NetBeans and it will overwrite new file without any warning.

What if I have 5 sites each week which I need to analyze. I want to have an ability to work with FTP directly...I very want to have it.

Only Zend Studio 5.5 can comfort me, how long it will be enough? Please, create a temple from FTP functionality and implement the best ever FTP abilities for NetBeans.

Posted by kaiser Zaido on May 28, 2010 at 08:28 AM CEST #

hi,

I just noticed one, rather useful, element that is missing.
It used to be possible to attribute a shortcut key to the "Navigation > Go to View" and the "Navigation > Go to View" contextual menus.

Will this be implemented in the final release ?

thanks,
dGo

Posted by dGo on May 28, 2010 at 02:18 PM CEST #

Hi, is there a way to set up the PHP syntax highlighter to render the PHP code inside PHP tags in Zend view scripts (.phtml) with a different background? I only know how to setup the php code bg globally (for all php scripts).

It would greatly help with the code clarity IMO. These view scripts are often filled with tens of small php jump ins/outs

Posted by ZF view scripts on June 01, 2010 at 03:31 AM CEST #

Is there a way to disable the "Checking for external changes"?
Sometimes it gives a suspended message and netbeans freezes
I use netbeans in a Vista machine

Posted by s21 on June 02, 2010 at 01:12 AM CEST #

@s21: Based on your question I have wrote new entry today. See http://blogs.sun.com/netbeansphp/entry/enable_auto_scanning_of_sources

Posted by Petr Pisl on June 02, 2010 at 10:59 AM CEST #

Hello,
One thing that keep me from trying more Netbeans is autocompletion compared to PDT.
$this->myVar = new Object();
$this->myVar-> //NO AUTO COMPLETION

the crazy thing is that this $var if you use symfony framework will be autocompleted in the view layer.

Posted by xplo on June 04, 2010 at 05:38 PM CEST #

Big fan of netbeans on Windows.

Since my switch to ubuntu, I can't get Netbeans to behave normally. The performance is very bad, even moving the caret back and forth in a line with code has an unbearable delay...

Any help?

Posted by NR on June 25, 2010 at 10:24 AM CEST #

@xplo
You probably have errors in your code then... cuz this definitely works correctly in NB.

@NR
strange...
I have been running NB on Ubuntu for two years now and did not encounter this kind of issue...
Sometimes, while NB is scanning the files, it can be a little slow... but once the scanning is done, it should be ok.
What are your hardware specs ?
What JRE did you install ? I am running openjdk-6-jre...

Posted by dGo on June 25, 2010 at 02:02 PM CEST #

@dGo

Thanks for the feedback.

I'm running openjdk-6-jre, via aptitude install default-jre on ubuntu lucid lynx (10.04).

Running on an Alienware m11x: 4GB, core2duo 1.3 ghz.

Could this be related to this issue: http://stackoverflow.com/questions/229763/how-to-improve-netbeans-performance/522680#522680

Posted by guest on June 27, 2010 at 05:01 AM CEST #

La depilación láser, nuestro país se ha convertido en el método más utilizado para la eliminación del vello.
El propósito de este sitio web para informar a aquellos que necesitan Laserepilasyon.net preparado y la depilación láser con el trabajo que usted puede encontrar respuestas a las preguntas acerca de la mente-montado.

Posted by laser epilasyon on April 01, 2011 at 10:13 AM CEST #

I have been running NB on Ubuntu for two years now and did not encounter this kind of issue.

Posted by แอร์ on April 25, 2011 at 10:23 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

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

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
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
   
       
Today