Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Autocomplete, Autoclose and code suggestion not working! #124

Closed
QuintinS opened this issue Apr 3, 2023 · 4 comments
Closed

Autocomplete, Autoclose and code suggestion not working! #124

QuintinS opened this issue Apr 3, 2023 · 4 comments

Comments

@QuintinS
Copy link

QuintinS commented Apr 3, 2023

Hi all, so I've been trying for a few hours to get the autocomplete, autoclose and autosuggestion working, but with no luck.

Oddly, linting seems to be working just fine (I'm getting code highlighting in VSCode when there's a syntax error / suggestion) but no autocompletion features are working at all.

So far I've:

  • Updated to MacOS Ventura.
  • Uninstalled and reinstalled the Shopify CLI via Homebrew (I'm on version 3)
  • Deleted VSCode and all extension/app data. (fresh install)

Here's a gif of what I'm seeing:
voltage--elate-1680529027080

Any idea what might be going wrong here?

Thanks in advance!

@adrianocr
Copy link

Same here. I get suggestions for schema settings but no suggestions for render, include, {% for %}, etc.

Made sure all my cli tools are updated, manually specified the binary paths in the vscode settings, and tried with a fresh vscode profile. The extension seems to be very hit or miss.

@thelornenelson
Copy link

I'm seeing the same thing in 1.9.7 - the tag name is suggested for autocomplete but hitting tab or selecting it from the list only completes the tag name (ie if, liquid, etc)

Screen Shot 2023-04-13 at 11 22 32

@timdmackey
Copy link

I spent the evening digging around in this extension and the theme-check language server. I've only worked with Textmate-style extensions before, so it took a while to get familiar with language servers and how they work in VS Code.

Anyhow, it doesn't appear that this extensions has autocomplete support as we've gotten used to with other liquid extensions. It does offer completion for tag and filter names, as well as object names and properties (cool!), but it won't autocomplete an entire tag or sequence of tags like we're used to. For now, you'll need to keep using a separate extension to provide those autocomplete snippets for you.

I'm going to continue looking at this extension to see if and how it makes sense to write snippet support for it, but until then I'll just reinstall the other liquid extension I was using to get snippet support back.

@mgmanzella
Copy link

👋 this repo is no longer the source of truth for theme check, if this is still an issue please open an issue in the theme tools repo 🙏 thank you!

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

No branches or pull requests

5 participants