(done) Multiline-comments are initially collapsed

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

(done) Multiline-comments are initially collapsed

Postby uwe » November 3rd, 2016, 9:25 am

Since recently, in all my PHP files, I see comments that go over mutliple lines as initially collapsed.

I do not want that "feature".

Can you please give me a setting option to disable automatic multiline-comment collapse?

I do not want this:

Image

I want this:

Image
uwe
 
Posts: 21
Joined: October 10th, 2016, 8:39 am

Re: Multiline-comments are initially collapsed

Postby Jakub Misek » December 2nd, 2016, 10:11 am

Hi,

That is weird because we set all the comments to be initially NOT collapsed.

There is one case where the editor collapses the comments when the document is opened
- when the comment was collapsed before and the document closed in such state - Visual Studio remembers the state of collapsing and restores it when you open the document next time.

If it still happens to you, please let me know.

Thanks,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Multiline-comments are initially collapsed

Postby uwe » December 2nd, 2016, 10:16 am

Thanks a lot for your feedback, Jakub.
uwe
 
Posts: 21
Joined: October 10th, 2016, 8:39 am

Re: Multiline-comments are initially collapsed

Postby Jakub Misek » December 2nd, 2016, 10:25 am

I hope it helped and sorry for the delayed response.

Have a nice day!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Multiline-comments are initially collapsed

Postby metal450 » July 27th, 2018, 7:37 pm

I'm having this issue too. Have never explicitly collapsed any comment, but am frequently having to go through and un-collapse them. This only happens in PHP, no other type of source file.
metal450
 
Posts: 23
Joined: July 9th, 2016, 5:53 am

Re: Multiline-comments are initially collapsed

Postby Jakub Misek » August 6th, 2018, 1:06 pm

Hi,

In the next update we introduce the option for that behavior.

---

Sidenote:

Multiline comments are initially not collapsed.

They get collapsed by the Visual Studio Editor if you press `Ctrl+M,O` shortcut (the default behavior as it is in other Microsoft languages). Also it might get collapsed by a 3rd party extension which may collapse regions upon opening a file.

Any collapsed region gets remembered by Visual Studio when you open the file next time.

---

I hope it helps,
Jakub
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: (done) Multiline-comments are initially collapsed

Postby metal450 » August 6th, 2018, 4:32 pm

For what it's worth, they are definitely appearing collapsed initially for me. I have never used Ctrl+M,O, so that's not what's doing it. The "initial collapsed state" is ONLY in PHP projects - I've never seen it happen in C#, C, C++, Python, etc - & I've been developing in VS for many, many years. This does seems to be something that's unique to working with this extension.
metal450
 
Posts: 23
Joined: July 9th, 2016, 5:53 am


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 51 guests

cron

User Control Panel

Login

Who is online

In total there are 51 users online :: 0 registered, 0 hidden and 51 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 51 guests