Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip show wrong information after about 2000 chars when using custom classRegex #844

Closed
KermanX opened this issue Aug 19, 2023 · 0 comments · Fixed by #846
Closed

Tooltip show wrong information after about 2000 chars when using custom classRegex #844

KermanX opened this issue Aug 19, 2023 · 0 comments · Fixed by #846
Assignees

Comments

@KermanX
Copy link

KermanX commented Aug 19, 2023

What version of VS Code are you using?

v1.18.1

What version of Tailwind CSS IntelliSense are you using?

v0.9.13

What version of Tailwind CSS are you using?

v3.3.3

What package manager are you using?

pnpm

What operating system are you using?

Windows

Tailwind config

/** @type {import('tailwindcss').Config} */
export default {
  content: [],
  theme: {
    extend: {},
  },
  plugins: [],
}

VS Code settings

{
  "editor.quickSuggestions": {
    "strings": "on"
  },
  "tailwindCSS.experimental.classRegex": [
    ["_.\\$cls`([\\s\\S]*?)`", "(\\S+)"]
  ]
}

Reproduction URL

https://github.com/KermanX/tailwindcss-intellisense-repro

Describe your issue

image

The char num 2000 sounds like it is the same with #837.
However, unlike #837, autocompletion is still working after 2000 chars.

@bradlc bradlc self-assigned this Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants