Skip to content

Linux: VS Code needs to be restarted before Emmet preferences take effect #8457

Closed

Description

@Tyriar

#8207

  • VSCode Version: Code - Insiders 1.3.0-insider (d0c2b89, 2016-06-28T05:01:27.563Z)
  • OS Version: Linux x64 4.4.0-24-generic, Ubuntu 16.04

Steps to Reproduce:

  1. Add to settings:

    "emmet.syntaxProfiles": {
      "html": {
        "attr_case": "upper"
      }
    }
  2. Open HTML editor

  3. Type .foo and press tab to expand, the setting doesn't apply

  4. Reload the window and repeat 2-3, the setting doesn't apply

I needed to do a full restart to get the settings to take effect.

Activity

  1. added
    bug
    on Jun 28, 2016
  2. mrmlnc commented on Jun 29, 2016

    @mrmlnc
    Contributor

    I cannot reproduce it on Windows 10 with version based on 798b41a.

  3. egamma commented on Jun 29, 2016

    @egamma
    Member

    I cannot reproduce it neither on OS X. Please reopen when you still the issue in your setup.

  4. Tyriar commented on Jun 29, 2016

    @Tyriar
    ContributorAuthor

    Definitely happening on Ubuntu 16.04:

    Version 1.3.0-insider
    Commit 798b41a
    Date 2016-06-29T05:14:50.570Z
    Shell 0.37.6
    Renderer 49.0.2623.75
    Node 5.10.0

  5. added
    linux
    on Jun 29, 2016
  6. changed the title [-]VS Code needs to be restarted before Emmet preferences take effect[/-] [+]Linux: VS Code needs to be restarted before Emmet preferences take effect[/+] on Jun 29, 2016
  7. mrmlnc commented on Jun 29, 2016

    @mrmlnc
    Contributor

    I cannot reproduce it on Manjaro 16 and Ubuntu 16.04 LTS. But I found a problem with cancelling settings.

    Steps to Reproduce:

    1. Open VS Code

    2. Add to settings:

      "emmet.syntaxProfiles": {
        "html": {
          "attr_case": "upper"
        }
      }
    3. Type .test and press tab to expand. Settings are applied. Result: <div CLASS="test"></div>

    4. Delete added settings.

    5. Type .test and press tab to expand, the setting doesn't apply. Result: <div CLASS="test"></div>

    2016-06-30_00-06-28

  8. mrmlnc commented on Jun 29, 2016

    @mrmlnc
    Contributor

    Daniel Imms (@Tyriar), i did a PR (#8542) that is guaranteed to apply Emmet preferences. Please, try on your machine.

    So sorry, I'm not good at English. Not yet 😈

  9. Tyriar commented on Jun 29, 2016

    @Tyriar
    ContributorAuthor

    I believe this is actually due to #8547, not sure if your PR is still useful if so. I think a change was made to not watch symlinks.

  10. mrmlnc commented on Jun 30, 2016

    @mrmlnc
    Contributor

    Daniel Imms (@Tyriar), in any case, my PR corrects the situation with «freeze» preferences profiles on all platforms. Described above. 👍

  11. removed this from the June 2016 milestone on Jun 30, 2016
  12. added
    *duplicate
    on Jun 30, 2016
  13. egamma commented on Jun 30, 2016

    @egamma
    Member

    This is not an emmet specific preference issue it is more general. I'll mark it as a duplicate of #8547.
    I'll still look into the preferences PR, I want to revisit the current code anyways.

  14. 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

*duplicatebuglinux

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions