Skip to content

Sass support #7312

Closed
Closed

Description

  • VSCode Version: 1.2.0
  • OS Version: Mac OS X El Capitan 10.11.5
  1. Please add support sass(intended files) and emmet for this.

Activity

  1. aeschli commented on Jun 8, 2016

    @aeschli
    Contributor

    Yes, please use the sass extensions and file request against them.

  2. MaksymShutiak commented on Jun 16, 2016

    @MaksymShutiak
    Author

    Denis Malinochkin (@mrmlnc) yes i am tried but emmet not working with this plugin

  3. mrmlnc commented on Jun 18, 2016

    @mrmlnc
    Contributor

    @maxshutyak, Today I will add an extension that solves this problem.

    Update: try this extension: https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-emmet-fix

  4. glen-84 commented on Jun 18, 2016

    @glen-84

    Martin Aeschlimann (@aeschli) Could you please re-consider? I'm working on a linting extension that supports both sass and scss syntax, and I'd like to do something like:

      "activationEvents": [
        "onLanguage:sass",
        "onLanguage:sass-indented"
      ]
  5. aeschli commented on Jun 20, 2016

    @aeschli
    Contributor

    Glen (@glen-84) Not sure what you want me to reconsider... Our team is too small to be able to provide support for all the features requested. But we added an extension API so that the community can jump in, fill gaps and innovate. If there's a API missing or anything we need to do on our side to have extensions fully work, please let us know, or file a pull request. We're happy to help.

    Denis Malinochkin (@mrmlnc) Why not making a pull request for your fix to add 'sass-indented' to the list of languages supported by emmet. The approach to patch the code is not the indented use of an extension. Users will have to reeinstall after every update and the approach is very fragile. Erich Gamma (@egamma) FYI.

    Glen (@glen-84) BTW, I renamed the language id for SCSS from 'sass' to 'scss' to avoid further confusions. For the time being, to be compatible until the June build is out, you can add both "onLanguage:sass" and "onLanguage:scss" to your activation list. After June I suggest to only keep onLanguage:scss so that 'sass' can be used by the indented sass mode (if required)

  6. mrmlnc commented on Jun 20, 2016

    @mrmlnc
    Contributor

    Martin Aeschlimann (@aeschli) I'm working on it. I have not made the pull request because my proposed version is a hack. Yesterday I found a better way.

  7. glen-84 commented on Jun 20, 2016

    @glen-84

    Martin Aeschlimann (@aeschli) I meant reconsider adding very basic (language ID + maybe syntax highlighting) for .sass files.

    Regardless, if I want to support indented syntax, would I just include sass-indented in the activation list? I'm assuming (hoping) it won't result in any activation errors if the extension is not installed.

  8. aeschli commented on Jun 21, 2016

    @aeschli
    Contributor

    Glen (@glen-84) Yes, just add sass-indented to the activation list. The language definition dies not have to be present.

  9. MaksymShutiak commented on Jun 30, 2016

    @MaksymShutiak
    Author

    Denis Malinochkin (@mrmlnc) thanks man ! You help me

  10. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions