Skip to content

Suggestions showing for all props in React Native project #1277

Closed
@RobertOstermann

Description

@RobertOstermann

What version of VS Code are you using?

For example: 1.99.0-insider

What version of Tailwind CSS IntelliSense are you using?

For example: v0.14.9

What version of Tailwind CSS are you using?

For example: v3.4.17

What package manager are you using?

For example: bun

What operating system are you using?

For example: macOS

Tailwind config

/** @type {import('tailwindcss').Config} */
module.exports = {
  // NOTE: Update this to include the paths to all of your component files.
  content: ['./src/**/*.{js,jsx,ts,tsx}'],
  presets: [require('nativewind/preset')],
  theme: {
    extend: {},
  },
  plugins: [],
};

VS Code settings

{
"tailwindCSS.classAttributes": [
    "class",
    "className",
    "ngClass",
    "class:list"
  ],
  "tailwindCSS.emmetCompletions": false,
  "tailwindCSS.suggestions": true,
}

Reproduction URL

Describe your issue

I am seeing the entire list of tailwind suggestions appear for any prop in my React Native Expo project. This should be limited to just the specified class attributes.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions