Skip to content

Copilot and extention conflict #1299

Open
@atsavos-tactical

Description

@atsavos-tactical

What version of VS Code are you using?
v1.98.2

What version of Tailwind CSS IntelliSense are you using?
v0.14.13

What version of Tailwind CSS are you using?
v4.0.9

What package manager are you using?
npm

What operating system are you using?
Windows

Tailwind config
default nothing special

VS Code settings
{
"workbench.sideBar.location": "right",
"security.workspace.trust.untrustedFiles": "open",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"workbench.editor.enablePreview": false,
"editor.formatOnSave": true,
"tailwindCSS.experimental.configFile": "src/styles.scss",
"git.confirmSync": false,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggestSelection": "first",
"editor.inlineSuggest.enabled": true,
"tailwindCSS.experimental.classRegex": [

"class\\s*=\\s*[\"'`]([^\"'`]+)[\"'`]"

],
"tailwindCSS.emmetCompletions": true,
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"typescript": "typescript",
"css": "css"
},
"github.copilot.enable": {
"typescript": true,
"html": false,
"css": false
},

"github.copilot.advanced": {}
}

Describe your issue

When GitHub Copilot is enabled, the Tailwind CSS IntelliSense extension does not function correctly. Specifically, features such as autocomplete and hover previews are non-functional. On a different machine where GitHub Copilot is not enabled, the extension behaves as expected when the tailwindCSS.experimental.configFile setting is properly configured.

Steps to Reproduce:

  • Enable GitHub Copilot in VS Code.
  • Configure the Tailwind CSS extension using "tailwindCSS.experimental.configFile" in the settings.
  • Observe that Tailwind CSS IntelliSense features (autocomplete, hover, etc.) are not working.

Additional Notes:

No errors are shown in the VS Code console related to either extension.

Suggestions or Workarounds:

If anyone has encountered a similar conflict or knows of a workaround, your input would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions