Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug on comment line #12

Closed
exdeniz opened this issue May 3, 2017 · 6 comments
Closed

bug on comment line #12

exdeniz opened this issue May 3, 2017 · 6 comments
Labels

Comments

@exdeniz
Copy link

exdeniz commented May 3, 2017

Example:

.uiTextInputGroupFocus
    label
        color #44c8f5
        font-size 11px
        transform translateY(-20px)
        top -20px
    input, textarea
        border-bottom-color #44c8f5

comment line transform translateY(-20px) and:

.uiTextInputGroupFocus
    label
        // transform translateY(-20px)
        top -20px
        color #44c8f5
        font-size 11px
        // transform translateY(-20px)
    // transform translateY(-20px)
    input,
    textarea
        border-bottom-color #44c8f5
@ThisIsManta
Copy link
Owner

Hi @exdeniz, would you mind sharing your formatting options?

@exdeniz
Copy link
Author

exdeniz commented May 3, 2017

"stylusSupremacy.insertColons": false,
  "stylusSupremacy.insertSemicolons": false,
  "stylusSupremacy.insertBraces": false,
  "stylusSupremacy.insertNewLineBetweenSelectors": true,
  "stylusSupremacy.insertLeadingZeroBeforeFraction": false,
  "stylusSupremacy.alwaysUseImport": true,
  "stylusSupremacy.alwaysUseZeroWithoutUnit": true,
  "stylusSupremacy.reduceMarginAndPaddingValues": false,
  "stylusSupremacy.sortProperties": [
    "lost-column",
    "lost-flex",
    "triangle",
    "box",
    "flex",
    "display",
    "position",
    "flex-direction",
    "justify-content",
    "vertical-align",
    "float",
    "top",
    "right",
    "bottom",
    "left",
    "sizi",
    "width",
    "height",
    "max-width",
    "min-width",
    "max-height",
    "min-height",
    "z-index",
    "opacity",
    "overflow",
    "overflow-x",
    "overflow-y",
    "visibility",
    "margin",
    "margin-top",
    "margin-right",
    "margin-bottom",
    "margin-left",
    "padding",
    "padding-top",
    "padding-right",
    "padding-bottom",
    "padding-left",
    "background",
    "background-color",
    "background-image",
    "background-size",
    "background-repeat",
    "content",
    "box-sizing",
    "pointer-events",
    "border",
    "border-top",
    "border-right",
    "border-bottom",
    "border-left",
    "border-width",
    "border-style",
    "border-color",
    "border-spacing",
    "border-collapse",
    "border-radius",
    "clip",
    "list-style",
    "color",
    "font",
    "font-family",
    "font-size",
    "font-style",
    "font-weight",
    "font-stretch",
    "line-height",
    "letter-spacing",
    "text-align",
    "text-indent",
    "text-transform",
    "text-decoration",
    "text-shadow",
    "text-overflow",
    "whitespace",
    "outline",
    "cursor",
    "box-shadow",
    "backface-visibility",
    "will-change",
    "transition",
    "transform",
    "animation"
  ],
  "stylusSupremacy.insertNewLineAroundBlocks": false,
  "stylusSupremacy.insertNewLineAroundOthers": false,
  "stylusSupremacy.insertNewLineAroundProperties": false

@ThisIsManta ThisIsManta added the bug label May 3, 2017
@ThisIsManta
Copy link
Owner

I will take care of this. No promises on the date though.

To work this around, you must use /* ... */ instead of // ... comment syntax.

@exdeniz
Copy link
Author

exdeniz commented May 3, 2017

Ok, i will use /* ... */ for comment, but // ... faster to use when developing

@ThisIsManta
Copy link
Owner

This has been fixed at version 1.4.2. Please update the extension.
If the problem persists, please let me know.

Thank you for reporting!

@exdeniz
Copy link
Author

exdeniz commented May 13, 2017

Thanks, work is perfect now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants