FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

PHP 5 syntax highliting?

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
alexweber



Joined: 27 May 2009
Posts: 3

PostPosted: Wed May 27, 2009 6:09 pm    Post subject: PHP 5 syntax highliting? Reply with 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?

thanks

Alex
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Thu May 28, 2009 7:35 am    Post subject: PHP 5 syntax highliting? Reply with quote

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

PostPosted: Thu May 28, 2009 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message
András Csányi
Posted via mailing list.





PostPosted: Thu May 28, 2009 9:10 am    Post subject: PHP 5 syntax highliting? Reply with 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.

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





PostPosted: Thu May 28, 2009 11:23 am    Post subject: PHP 5 syntax highliting? Reply with quote

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.





PostPosted: Thu May 28, 2009 11:33 am    Post subject: PHP 5 syntax highliting? Reply with 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.

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





PostPosted: Thu May 28, 2009 11:41 am    Post subject: PHP 5 syntax highliting? Reply with quote

hmm Sad ... 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.





PostPosted: Thu May 28, 2009 11:48 am    Post subject: PHP 5 syntax highliting? Reply with quote

2009/5/28 Filip Zamboj <address-removed>:
Quote:
hmm Sad ... 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. Sad
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.





PostPosted: Thu May 28, 2009 11:49 am    Post subject: PHP 5 syntax highliting? Reply with quote

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





PostPosted: Thu May 28, 2009 12:47 pm    Post subject: PHP 5 syntax highliting? Reply with quote

As Jeff wrote, http://www.netbeans.org/issues/show_bug.cgi?id=162982
should be the issue. It's already fixed:

Integrated into 'main-golden', will be available in build *200905270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f22ea286a5e4
User: Vita Stejskal <address-removed <mailto:address-removed>>
Log: #162982 - register separate PathRecognizer for each language so that adding/removing languages (FoD) in the IDE correctly refreshes the classpath ids cache

Download new build from link above or from
http://bertram.netbeans.org/hudson/job/PHP-build/ and you should be fine!

Let us know if this solved your issue. Thanks a lot!

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



Jeff Rubinoff wrote:
Quote:
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 Sad ... 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
alexweber



Joined: 27 May 2009
Posts: 3

PostPosted: Thu May 28, 2009 1:21 pm    Post subject: Re: PHP 5 syntax highliting? Reply with quote

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
View user's profile Send private message
András Csányi
Posted via mailing list.





PostPosted: Thu May 28, 2009 1:58 pm    Post subject: PHP 5 syntax highliting? Reply with quote

2009/5/28 Filip Zamboj <address-removed>:
Quote:
As Jeff wrote, http://www.netbeans.org/issues/show_bug.cgi?id=162982 should
be the issue. It's already fixed:

Integrated into 'main-golden', will be available in build *200905270201* on
http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f22ea286a5e4
User: Vita Stejskal <address-removed <mailto:address-removed>>
Log: #162982 - register separate PathRecognizer for each language so that
adding/removing languages (FoD) in the IDE correctly refreshes the classpath
ids cache

Download new build from link above or from
http://bertram.netbeans.org/hudson/job/PHP-build/ and you should be fine!

Let us know if this solved your issue. Thanks a lot!

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

PostPosted: Thu May 28, 2009 2:05 pm    Post subject: Reply with quote

thanks I'm downloading the build Smile
Back to top
View user's profile Send private message
sketchman



Joined: 03 Jun 2009
Posts: 11

PostPosted: Wed Jun 03, 2009 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB