Page 1 of 1

(done) Multiline-comments are initially collapsed

PostPosted: November 3rd, 2016, 9:25 am
by uwe
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

Re: Multiline-comments are initially collapsed

PostPosted: December 2nd, 2016, 10:11 am
by Jakub Misek
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,

Re: Multiline-comments are initially collapsed

PostPosted: December 2nd, 2016, 10:16 am
by uwe
Thanks a lot for your feedback, Jakub.

Re: Multiline-comments are initially collapsed

PostPosted: December 2nd, 2016, 10:25 am
by Jakub Misek
I hope it helped and sorry for the delayed response.

Have a nice day!

Re: Multiline-comments are initially collapsed

PostPosted: July 27th, 2018, 7:37 pm
by metal450
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.

Re: Multiline-comments are initially collapsed

PostPosted: August 6th, 2018, 1:06 pm
by Jakub Misek
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

Re: (done) Multiline-comments are initially collapsed

PostPosted: August 6th, 2018, 4:32 pm
by metal450
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.