Sublime Forum

Code folding and comments

#1

Hi. Sorry for my bad english. I have some problem with code folding in sublime text 2. Example:

[code]<?php

function a()
{
$a =
{
‘a’: 2,
// qqq
‘b’: 2,
};
}[/code]

After collapse I see: storage5.static.itmages.com/i/14 … 1ce528.png
In JavaScript I have this problem too ( storage7.static.itmages.com/i/14 … 3dd6c9.png ).

If comment begin from start of line - collapse don’t normally work :frowning: My team using Idea and haven’t this problem. Their code - it’s my problem :smile:

How I may fix it (without change code) or how I may push bug report?

P.S. version: 2.0.2, os: LinuxMint

0 Likes