| View previous topic :: View next topic |
| Author |
Message |
alexweber
Joined: 27 May 2009 Posts: 3
|
Posted: Wed May 27, 2009 6:09 pm Post subject: PHP 5 syntax highliting? |
|
|
Hi,
Is there any particular reason why certain functions like strlen() and other spl stuff don't get highlighted? (nor do documentation hints pop up with them?)
Any workaround?
thanks
Alex |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Thu May 28, 2009 7:35 am Post subject: PHP 5 syntax highliting? |
|
|
Hi,
Dne středa 27 května 2009 20:09:43 alexweber napsal(a):
| Quote: | Is there any particular reason why certain functions like strlen() and
other spl stuff don't get highlighted? (nor do documentation hints pop up
with them?)
|
sounds like a bug - do you see this behaviour always? Or is it just only with
clean userdir e.g.? Are you able to provide steps to reproduce? That would
help us a lot.
Anyway, could you please file an issue [1] and provide your NB & JDK version
and ideally some information that could help us to reproduce?
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
MBRovigo
Joined: 28 May 2009 Posts: 1
|
Posted: Thu May 28, 2009 8:57 am Post subject: |
|
|
I have the same problem since 6.7M2, and now I'm using 6.7 Beta. Java version is 1.6.0_07.
It happens always, on old and new projects. |
|
| Back to top |
|
 |
András Csányi Posted via mailing list.
|
Posted: Thu May 28, 2009 9:10 am Post subject: PHP 5 syntax highliting? |
|
|
2009/5/27 alexweber <address-removed>:
| Quote: | Hi,
Is there any particular reason why certain functions like strlen() and other spl stuff don't get highlighted? (nor do documentation hints pop up with them?)
Any workaround?
|
I have this problem but only under windows. Under linux - I'm using
the same installed files - this working fine.
--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell |
|
| Back to top |
|
 |
Filip Zamboj Posted via mailing list.
|
Posted: Thu May 28, 2009 11:23 am Post subject: PHP 5 syntax highliting? |
|
|
I didn't see this on linux yet. For windows, does it happen in some
particular situations or always?
thanks a lot!
regards,
-------------
Filip Zamboj
Sun Microsystems
http://www.netbeans.org/community/issues.html
http://qa.netbeans.org
András Csányi wrote:
| Quote: | 2009/5/27 alexweber <address-removed>:
| Quote: | Hi,
Is there any particular reason why certain functions like strlen() and other spl stuff don't get highlighted? (nor do documentation hints pop up with them?)
Any workaround?
|
I have this problem but only under windows. Under linux - I'm using
the same installed files - this working fine.
|
|
|
| Back to top |
|
 |
András Csányi Posted via mailing list.
|
Posted: Thu May 28, 2009 11:33 am Post subject: PHP 5 syntax highliting? |
|
|
2009/5/28 Filip Zamboj <address-removed>:
| Quote: | I didn't see this on linux yet. For windows, does it happen in some
particular situations or always?
|
In a last 2 weeks always. Before, I don't know. I didn't remenber.
Generally I'm using Linux.
--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell |
|
| Back to top |
|
 |
Filip Zamboj Posted via mailing list.
|
Posted: Thu May 28, 2009 11:41 am Post subject: PHP 5 syntax highliting? |
|
|
hmm ... just to be clear here, are we talking about code completion?
You enter str + presee ctrl+space, for instance, and strlen() function
is not offered and without documentation? Or I don't get right?
Thanks
-------------
Filip Zamboj
Sun Microsystems
http://www.netbeans.org/community/issues.html
http://qa.netbeans.org
András Csányi wrote:
| Quote: | 2009/5/28 Filip Zamboj <address-removed>:
| Quote: | I didn't see this on linux yet. For windows, does it happen in some
particular situations or always?
|
In a last 2 weeks always. Before, I don't know. I didn't remenber.
Generally I'm using Linux.
|
|
|
| Back to top |
|
 |
András Csányi Posted via mailing list.
|
Posted: Thu May 28, 2009 11:48 am Post subject: PHP 5 syntax highliting? |
|
|
2009/5/28 Filip Zamboj <address-removed>:
| Quote: | hmm ... just to be clear here, are we talking about code completion? You
enter str + presee ctrl+space, for instance, and strlen() function is not
offered and without documentation? Or I don't get right?
|
Your description is good. This is the situation.
I looked it again. If I enter "s" and press ctrl+space the hints are
the next "static, self::" but the microtime() and the strlen, and
other function aren't in the list.
Do I screenshots?
--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell |
|
| Back to top |
|
 |
Jeff Rubinoff Posted via mailing list.
|
Posted: Thu May 28, 2009 11:49 am Post subject: PHP 5 syntax highliting? |
|
|
Is it a PHP-only or an "All" bundle of NetBeans? Does the problem
persist on restart? Could it be related to
http://www.netbeans.org/issues/show_bug.cgi?id=162982?
Jeff
Filip Zamboj wrote:
| Quote: | hmm ... just to be clear here, are we talking about code
completion? You enter str + presee ctrl+space, for instance, and
strlen() function is not offered and without documentation? Or I don't
get right?
Thanks
-------------
Filip Zamboj
Sun Microsystems
http://www.netbeans.org/community/issues.html
http://qa.netbeans.org
András Csányi wrote:
| Quote: | 2009/5/28 Filip Zamboj <address-removed>:
| Quote: | I didn't see this on linux yet. For windows, does it happen in some
particular situations or always?
|
In a last 2 weeks always. Before, I don't know. I didn't remenber.
Generally I'm using Linux.
|
|
|
|
| Back to top |
|
 |
Filip Zamboj Posted via mailing list.
|
|
| Back to top |
|
 |
alexweber
Joined: 27 May 2009 Posts: 3
|
Posted: Thu May 28, 2009 1:21 pm Post subject: Re: PHP 5 syntax highliting? |
|
|
| Tomas Mysik wrote: | Hi,
Dne středa 27 května 2009 20:09:43 alexweber napsal(a):
| Quote: | Is there any particular reason why certain functions like strlen() and
other spl stuff don't get highlighted? (nor do documentation hints pop up
with them?)
|
sounds like a bug - do you see this behaviour always? Or is it just only with
clean userdir e.g.? Are you able to provide steps to reproduce? That would
help us a lot.
Anyway, could you please file an issue [1] and provide your NB & JDK version
and ideally some information that could help us to reproduce?
Thanks,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed |
Hi it's always been like this for me. I'm running PHP-edition, 6.5.1 for Linux. A lot of functions work like mysqli_*, etc but some really standard stuff like String and Array functions don't have any documentation and highlighting. |
|
| Back to top |
|
 |
András Csányi Posted via mailing list.
|
Posted: Thu May 28, 2009 1:58 pm Post subject: PHP 5 syntax highliting? |
|
|
2009/5/28 Filip Zamboj <address-removed>:
Hi Filip,
I downloaded and installed the devbuild (upper) and it looks like working fine.
Thank you!
--
- -
-- Csanyi Andras -- http://sayusi.hu -- Sayusi Ando
-- "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell |
|
| Back to top |
|
 |
alexweber
Joined: 27 May 2009 Posts: 3
|
Posted: Thu May 28, 2009 2:05 pm Post subject: |
|
|
thanks I'm downloading the build  |
|
| Back to top |
|
 |
sketchman
Joined: 03 Jun 2009 Posts: 11
|
Posted: Wed Jun 03, 2009 8:05 pm Post subject: |
|
|
I noticed this too with php RC 1 in functions like strtolower(). They just show up in plain black and don't give any hints in terms of what to include.
I always figured the PHP 'support' didn't include the php functions themselves and only basic operators (if, else, switch, function, etc.). |
|
| Back to top |
|
 |
|