Skip to content

Autocompletion not triggered when comment has single quote #1200

@smhmd

Description

@smhmd

It seems having a quotation mark in a comment before the class name string (That's) makes TW autocomplete not trigger.

Code:

import clsx from 'clsx'

export function Component() {
  return (
    <div
      className={clsx(
        // That's great!
        'flex',
      )}
    />
  )
}

Expected vs actual behavior:
Image
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions