By the way, NetBeans 6.5 FCS was released

Last week's news, but NetBeans IDE 6.5 final release went out last week. The multi-language version was shipped at the same time, which is a NetBeans first! You can get it at http://www.netbeans.org/downloads.

For the latest PHP features like SFTP support, Symfony support etc--the stuff the guys on this blog are talking about--you'll need the nightly dev build.

Comments:

Are you planning on releasing these things as a plugin or should we always work with the dev version?

Posted by Daniel Dimitrov on November 26, 2008 at 05:49 AM CET #

Hi Petr,

I've been browsing the web for a WYSIWYG tool, and came across the Sea-Monkey application suit which includes an HTML composer.

Is it possible for the Netbeans team to integrate the Sea-Monkey Composer into the Netbeans PHP IDE? This could be a starting point for providing integrated WYSIWYG features.

What do you think?

Sea-Monkey:
http://www.seamonkey-project.org/

Sea-Monkey composer Screenshot:
http://www.informit.com/articles/article.aspx?p=1238371&seqNum=3

__
Raymond Irving

Posted by raymond on November 26, 2008 at 08:02 AM CET #

hi,

how do I keep my dev Version always uptodate?

At the moment I regularly uninstall the dev version, download the current one and install it. is there a better way?

I use a linux system

chris

Posted by Chris on November 26, 2008 at 02:41 PM CET #

Hi people,

Hope it's ok to ask this question here but there is one thing about php netbeanns distribution (dunno about the other distributions) that is very very frustrating. Here it is..

I switch between netbeans ide and firefox using Alt+TAB and sometimes when switching back to the ide instead of being focused in the editor where I left it, the menu is focused instead. It isnt just me, my colegue also, we are both on Windows, XP and 2003.

Appreciate any help!

Thanks!
-soso

Posted by soso on November 27, 2008 at 02:40 AM CET #

Hi Daniel:
>Are you planning on releasing these things as a
>plugin or should we always work with the dev
>version?

There is a plan to provide patches. I think that the first one will be available in December. But these patches includes only bug fixes. The new features will be available only in dev builds. The main reason is that the features sometimes requires changes in the infrastructure, need to be tested etc...

Regards,
Petr

Posted by Petr on November 27, 2008 at 04:57 AM CET #

Hi Raymond,

I think that the first obstacle is that Sea-Monkey is not java application. So the integration would be very hard or almost impossible.

Regards,
Petr

Posted by Petr on November 27, 2008 at 05:03 AM CET #

Hi Chris,

you don't have to use installer. Download OS independent verions the zip file, unzip and this is all. You can also use more userdirs if you want. You can read more in my entry here: http://blogs.sun.com/netbeansphp/entry/userdir.

Let me know, whether is it sufficient for you.

Thanks,
Petr

Posted by Petr on November 27, 2008 at 05:06 AM CET #

Hi Soso,

unfortunately this is known Swing bug Windows L&F. There is more bug reports against JDK, for example: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4841881 . It looks that guys from JDK team are trying to fix it with Java 7.

Regards,
Petr

Posted by Petr on November 27, 2008 at 05:19 AM CET #

Petr,
I noticed a small icon on the bottom right which was an update reminder/action (however you call it) - is is a sufficient way of keeping nightbuilds up to date, or is this only for security patches?
And second thing - If I install netbeans plugins and then want to update devbuild with .zip - will it be correct to unzip it right into existing nb install dir or should I delete its contents (also plugins...) before doing it?

Oh, javascript editor sometimes gives non existing errors about non matching brackets that are corrected if you delete and add a bracket again. I cant really reproduce it, cause it happens from time to time.

I would welcome a "-J-Dfile.encoding=CHARSET" switch in options. Default nb behavior is opening files that are not in any projects with default system encoding. Many of users can still use Windows family OS - but that doesn't mean they want to develop files in (eg) cp-1250 instead of lets say utf-8. Those users will have problems opening those files in right encoding without the switch if they're not in a project.
I think that option should be available in options, searching for such a basic functionality at google.com is not the best starting experience.

Take care and keep up the good (brilliant!) job, it really is one of the best ides ever!
Thanks!

Posted by azrael_valedhel on November 27, 2008 at 05:32 PM CET #

To Azrael,
>I noticed a small icon on the bottom right which
>was an update reminder/action (however you call
>it) - is is a sufficient way of keeping
>nightbuilds up to date, or is this only for
>security patches?

The icon indicates, that there is new version of a plugin, which you have installed and is available on an update center that you have registered in plugin manager (Tools->Plugin->Settings). So it depends which modules are available on the registered UC.

>If I install netbeans plugins and then want to
>update devbuild with .zip - will it be correct
>to unzip it right into existing nb install dir
>or should I delete its contents (also
>plugins...) before doing it?

It depends on the changes which are in the dev build. I would suggest to remove the netbeans folder, unzip the dev build and then start it. It can during start up inform you, that some plugins are unavailable, continue and install these plugins again. Sure you can just unzip the content to the already existing folder, but it's on your risk:). Working with dev builds can bring some incompatible changes and then you will have to delete or change the userdir as well. But this is dev build.

>Oh, javascript editor sometimes gives non
>existing errors about non matching brackets that
>are corrected if you delete and add a bracket
>again. I cant really reproduce it, cause it
>happens from time to time.

Could you enter new report to our issuezilla? ( http://www.netbeans.org/community/issues.html component javascript, subcomponent editor)

I have thought that the default encoding is according your virtual machine. So if you will start the VM with this argument, then as the default encoding is used this one. I will try to find more info.

Thanks,
Petr

Posted by Petr on December 01, 2008 at 04:54 PM CET #

Hi Petr,
I posted a report at issuezilla.

Hm, so you're saying starting Java itself with this argument is going to set default encoding for Netbeans to utf8?
I might have been wrong on this one, its just what I read somewhere or maybe it was just a quick glance - english is not my native language, so I could easily misunderstood something :)

Thanks for answering my questions,
Keep up the good work :)

Posted by azrael_valedhel on December 03, 2008 at 03:10 AM CET #

Hi Azrael:

>Hm, so you're saying starting Java itself with
>this argument is going to set default encoding for
>Netbeans to utf8?

Yes. I need to clarify what I mean by default encoding. In NetBeans there is an api, which is called FileEncodingQuery. Basically if I want to know the encoding of a file, I need to use this query. The query works in this way. At first it ask the file provider, whether it knows the encoding. File provider knows only encoding, if the encoding is written in the file like in xml prolog in xml files. If the file provider doesn't know, then the project is asked for the encoding. Every project has an encoding, but when you create a new one, then the default encoding can be suggested. And the default encoding is obtained from the VM. The encoding of the VM is by default equal to OS encoding, but you can define another through the mentioned option file.encoding. Sure the charset has to be supported by your OS and you don't have to make a type:).

If a file doesn't belong to a project, then the default VM encoding is used (if the file provider doesn't know the encoding).

Now the PHP case: The PHP file provider doesn't know the encoding for the file, because the information is not a part of the file content. When you create new PHP project, the project wizard always suggest to use UTF-8 encoding (the suggested value is hardcoded, but you can change it). If you open a php file outside a project, then the default encoding of VM is used. At least it should work in this way:).

I'm not sure, whether the default encoding of VM can be an option in NetBeans. I think the encoding has to be known during starting VM.

I hope that it's now clear and it will help you:).

Regards,
Petr

Posted by Petr on December 03, 2008 at 11:24 AM CET #

Hi Petr,

thanks for your hint with os independent zip. Works great for me.

chris

Posted by Chris on December 08, 2008 at 02:15 PM CET #

Hi does anybody know where the default encoding in VM or any ini file used by netBeans can be changed ? where i set the default for VM ? ..or run parameter in netbeans ? thanks a lot for a good job on IDE for PHP . we want to write all in utf-8 and thats a problem in non project files (open in win1250)

Posted by Mike on January 22, 2009 at 03:29 AM CET #

You can change NetBeans default encoding to utf-8 in netbeans.conf.

In windows at deafult it is in
c:\\Program Files\\NetBeans 6.5\\etc\\

add

-J-Dfile.encoding=UTF-8

in netbeans_default_options=

Posted by soteia on February 09, 2009 at 07:21 PM CET #

It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.

Posted by links of london on October 29, 2009 at 08:12 PM CET #

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