You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my nested styles, the LESS editor will automatically insert incorrect and unneeded braces when I hit a carriage return. This file is a preexisting file that has compiled fine for months before using in this editor. When I try to compile with the editor-inserted braces, the less compiler produces: Error: Unrecognised input. Possibly missing opening '{' in file
Attached is an animated GIF showing the defect in action.
Steps to reproduce
Create a LESS file with various levels of nesting with @media screen and (max-width: 50em){...} as the outermost block. Insert cursor in the middle of a block 1 to 5 levels deep. Hit return.
Expected results
A newline is created with the cursor automatically indented correctly. No additional characters needed.
Actual results
A newline is created a with the cursor at the correct indentation, but a new, erroneous brace is added below the cursor. This can be repeated 2 or 3 times (I cannot determine why it varies).
The text was updated successfully, but these errors were encountered:
It just occurred to me that this is happening inside of a @media screen{...} block. I'm not seeing this behavior in places that are not in a media block. I've updated my "steps to reproduce" accordingly.
In my nested styles, the LESS editor will automatically insert incorrect and unneeded braces when I hit a carriage return. This file is a preexisting file that has compiled fine for months before using in this editor. When I try to compile with the editor-inserted braces, the less compiler produces:
Error: Unrecognised input. Possibly missing opening '{' in file
Attached is an animated GIF showing the defect in action.
Steps to reproduce
Create a LESS file with various levels of nesting with
@media screen and (max-width: 50em){...}
as the outermost block. Insert cursor in the middle of a block 1 to 5 levels deep. Hit return.Expected results
A newline is created with the cursor automatically indented correctly. No additional characters needed.
Actual results
A newline is created a with the cursor at the correct indentation, but a new, erroneous brace is added below the cursor. This can be repeated 2 or 3 times (I cannot determine why it varies).
The text was updated successfully, but these errors were encountered: