killalau/vscode-liquid-snippets

Not able to view shortcuts

Closed this issue · 4 comments

I have VS Code Version 1.8.1. I downloaded the extension directly from the editor, created an index.liquid and tried some shortcuts - can't get it to work 😢.

I've also tried removing all my plugins, resetting my settings (not that I think those would have an effect on the extension, but I tried nonetheless).

image

I forget to add the prerequisite, please also install the extension:
https://marketplace.visualstudio.com/items?itemName=neilding.language-liquid

Hope this help

Unfortunately it leads to the same thing.

In the Language Mode can you found HTML Liquid?
(Win) Ctrl + Shift + P -> Change Language Mode -> HTML Liquid
(Mac) Command + Shift + P -> Change Language Mode -> HTML Liquid

I've VS Code 1.8.1 on Mac, not sure if it is setting issue, or specific environment, or something I missed.

That did the trick. The two main culprits I had were:

  1. I hadn't installed Liquid Languages Support.
  2. In my settings.json I had a left over property from the old days when Liquid wasn't really supported in VS Code yet and was using Twig as the highlighter for Liquid files:
"files.associations": {
    "*.liquid": "twig"
}

Thanks @killalau!