Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

clg semicolon #218

Closed
Closed
Labels
@mecirmartin

Description

Hey, your extension is great, but i have trouble with clg each and every day
When using arrow function and clg snippet, the semicolon at the end introduces syntax error

For example:
i am writing code like this:

fetch('x').then(res => clg)

this creates

fetch('x').then(res => console.log();)

which is obviously syntax error and i have to remove the semicolon
is there any chance the semicolon could be removed from the snippet? Thanks for the answer

Would love to create PR for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /