FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Code "folding" in NetBeans IDE 7.2
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Code "folding" in NetBeans IDE 7.2 [message #179371] Sat, 13 October 2012 16:34 Go to next message
bobgatski is currently offline  bobgatski
Messages: 11
Registered: October 2012
Karma: 0
Junior Member
I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.

I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?

Thanks, Bob
Re: Code "folding" in NetBeans IDE 7.2 [message #179373 is a reply to message #179371] Sat, 13 October 2012 23:05 Go to previous messageGo to next message
bobgatski is currently offline  bobgatski
Messages: 11
Registered: October 2012
Karma: 0
Junior Member
I have learned that the Folding feature does work for HTML, but not PHP. ?

On Saturday, October 13, 2012 12:34:11 PM UTC-4, (unknown) wrote:
> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>
>
>
> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?
>
>
>
> Thanks, Bob
Re: Code "folding" in NetBeans IDE 7.2 [message #179374 is a reply to message #179373] Sun, 14 October 2012 00:54 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 10/13/2012 7:05 PM, bobgatski(at)gmail(dot)com wrote:
> I have learned that the Folding feature does work for HTML, but not PHP. ?
>
> On Saturday, October 13, 2012 12:34:11 PM UTC-4, (unknown) wrote:
>> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>>
>>
>>
>> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?
>>
>>
>>
>> Thanks, Bob
>

And your PHP question is?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Code "folding" in NetBeans IDE 7.2 [message #179396 is a reply to message #179371] Mon, 15 October 2012 07:45 Go to previous messageGo to next message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma: 0
Senior Member
El 13/10/2012 18:34, bobgatski(at)gmail(dot)com escribió/wrote:
> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>
> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?

Works for me in 7.1.2. Do other code intelligence features ("Go to
type", "Show method parameters"...) work as expected? (Whatever,
NetBeans tends to include half-baked features that break in new releases.)


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
Re: Code "folding" in NetBeans IDE 7.2 [message #179405 is a reply to message #179396] Thu, 18 October 2012 03:03 Go to previous messageGo to next message
bobgatski is currently offline  bobgatski
Messages: 11
Registered: October 2012
Karma: 0
Junior Member
On Monday, October 15, 2012 3:45:07 AM UTC-4, Álvaro G. Vicario wrote:
> El 13/10/2012 18:34, bob...@gmail.com escribió/wrote:
>
>> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>
>>
>
>> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?
>
>
>
> Works for me in 7.1.2. Do other code intelligence features ("Go to
>
> type", "Show method parameters"...) work as expected? (Whatever,
>
> NetBeans tends to include half-baked features that break in new releases.)
>
> ...

Hi Álvaro, Thanks very much for your interest in my problem. I do not know where to find the other code intelligence features. If I right click on a variable the context menu contains Cut/Copy/Paste and Select in Projects. Code is not the only feature which does not work. It underlines (with a red wavy line) variable and function names. But it gets confused by underscores. So, for example, "mysqli_connect_errno" has "mysqli" and "errno" underlined but "_connect_" is not underlined! It also gets confused by strings and thinks for example, that a close brace, "}", in a string closes a block of code.

What might I have done wrong?

Thanks, Bob
Re: Code "folding" in NetBeans IDE 7.2 [message #179406 is a reply to message #179405] Thu, 18 October 2012 03:47 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 10/17/2012 11:03 PM, bobgatski(at)gmail(dot)com wrote:
> On Monday, October 15, 2012 3:45:07 AM UTC-4, Álvaro G. Vicario wrote:
>> El 13/10/2012 18:34, bob...@gmail.com escribió/wrote:
>>
>>> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>>
>>>
>>
>>> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?
>>
>>
>>
>> Works for me in 7.1.2. Do other code intelligence features ("Go to
>>
>> type", "Show method parameters"...) work as expected? (Whatever,
>>
>> NetBeans tends to include half-baked features that break in new releases.)
>>
>> ...
>
> Hi Álvaro, Thanks very much for your interest in my problem. I do not know where to find the other code intelligence features. If I right click on a variable the context menu contains Cut/Copy/Paste and Select in Projects. Code is not the only feature which does not work. It underlines (with a red wavy line) variable and function names. But it gets confused by underscores. So, for example, "mysqli_connect_errno" has "mysqli" and "errno" underlined but "_connect_" is not underlined! It also gets confused by strings and thinks for example, that a close brace, "}", in a string closes a block of code.
>
> What might I have done wrong?
>
> Thanks, Bob
>

You're asking in the wrong newsgroup. Try NetBeans support.

Hint: if you can find it in the doc at php.net, it's probably a PHP
question. If not, it probably isn't.

There is nothing in php.net related to NetBeans.


Go to the correct support structure and you'll get a good answer. Go to
the wrong support structure (i.e. comp.lang.php in this case) and you'll
get not so good answers.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Code "folding" in NetBeans IDE 7.2 [message #179407 is a reply to message #179371] Fri, 19 October 2012 16:15 Go to previous message
bobgatski is currently offline  bobgatski
Messages: 11
Registered: October 2012
Karma: 0
Junior Member
Resolution: I thought I had downloaded a NetBeans package with all of the bells and whistles included. And it may have many of the bells and whistles included but did not have the PHP plugin. I found some tutorial material specifically about PHP editing but even it did not mention needing the PHP plugin.

If PHP editing seems really broken go to Tools > Plugins and make sure you have the PHP plugin.

Bob


On Saturday, October 13, 2012 12:34:11 PM UTC-4, bobg...@gmail.com wrote:
> I can't get code folding to work in NetBeans IDE 7.2. In Tools > Options > Editor I have Use Code Folding checked and I have editor-fold comments but nothing is indicated as foldable/collapsable. I read about a bug if you don't have an initial comment so I added an initial comment but that didn't change a thing.
>
>
>
> I am new to both NetBeans and PHP so there is probably just some really basic thing which I am missing. Any suggestions?
>
>
>
> Thanks, Bob
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: download a file after user enters some data in php
Next Topic: grep in php?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 07:09:47 GMT 2024

Total time taken to generate the page: 0.02941 seconds