Skip to content

Add support for contextual comment keybind / Missing editor.action.commentLine command #258

Description

@AbdielBiza

Describe the bug

I am writing to report a bug with the extension. It seems that the extension does not declare a commentLine property in the package.json /language-configuration.ts, ( suspected line ) , which prevents the line comment shortcut (Ctrl+/) from working properly. This is a very useful feature and I would appreciate it if you could add it to the extension. Thank you.

Source

N/A

Expected behaviour

Line comment and block comment should have different keybindings

Actual behaviour

Only commentBlock is defined, so both shortcuts insert block comment, even inside {% liquid %} tag

Debugging information

  • Windows
  • OS Version : 23H2
  • Shopify CLI version: 3.52.0

Additional context
Line comment added to Liquid

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions