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

Not working with react.js + Next #470

Closed
snow-sr opened this issue Jan 26, 2022 · 5 comments
Closed

Not working with react.js + Next #470

snow-sr opened this issue Jan 26, 2022 · 5 comments

Comments

@snow-sr
Copy link

snow-sr commented Jan 26, 2022

Using Tailwindcss-intellisense version: 0.7.6;

Using Tailwincss version: 3.0.16

Package manager: NPM;

OS: Pop_os (Linux)

Reproduction URL:
github repo
Changed the reproduction link


After a new version of Tailwind and tailwind intellisense, I'm not receiving any auto-completion suggestions, trying to edit some old code (to see if the problem was the tailwinds.config), it doesn't work anymore too;

The output of the extension:

image

sorry for any typos.

Any ideas?

@snow-sr
Copy link
Author

snow-sr commented Jan 30, 2022

Tried another bunch of solutions, none worked.

Removed all of my extensions, doesn't worked.

Tried uninstalling and reinstalling, same thing.

The output doesn't give me any issue.

Really frustrating.

@snow-sr
Copy link
Author

snow-sr commented Jan 30, 2022

{
    "vsicons.dontShowNewVersionMessage": false,
    "css.validate": false, // Disable css built-in lint
    "stylelint.enable": true, // Enable sytlelint
    "scss.validate": false, // Disable scss lint (optional if using scss)
    
    "tailwindCSS.includeLanguages": {
        "plaintext": "javascript"
    },
      
    "editor.suggestSelection": "first",
    "diffEditor.ignoreTrimWhitespace": true,
    "git.autofetch": true,
    "editor.fontSize": 14,
    "editor.fontFamily": "Fira Code, regular, monospace",
    "editor.fontLigatures": true,
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "[handlebars]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "[json]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    },
    "javascript.updateImportsOnFileMove.enabled": "always",
    "workbench.colorCustomizations": {
        "statusBar.background": "#7d58c2",
        "statusBar.noFolderBackground": "#492985",
        "statusBar.debuggingBackground": "#5900ff"
    },
    "liveServer.settings.donotVerifyTags": true,
    "editor.inlineSuggest.enabled": true,
    "[javascriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "editor.cursorStyle": "line",
    "editor.cursorBlinking": "phase",
    "editor.cursorSmoothCaretAnimation": true,
    "editor.bracketPairColorization.enabled": true,
    "editor.guides.bracketPairs": "active",
    "editor.smoothScrolling": true,
    "files.autoSave": "onFocusChange",
    "github.copilot.enable": {
        "*": true,
        "yaml": false,
        "plaintext": false,
        "markdown": true
    },
    "git.ignoreRebaseWarning": true,
    "workbench.iconTheme": "vscode-icons",
    "keyboard.layout": "br",
    "editor.quickSuggestions": {
        "strings": true
    },
    "workbench.colorTheme": "Horizon Contrast (rainglow)",
    "editor.minimap.enabled": false,
    "tailwindCSS.classAttributes": [
        "class",
        "className"
    ],
    "tailwindCSS.emmetCompletions": true,
}

@HNazmul-X
Copy link

Hey I only using Tailwind cli but still not working...

@calvo-jp
Copy link

calvo-jp commented Feb 4, 2022

You seem to have an invalid setup. There is a good and easy documentation you can find here. Anyways, I've a PR that fixes your problem. ❤️

@snow-sr
Copy link
Author

snow-sr commented Feb 4, 2022

It's working now!
Big thanks to @calvo-jp, but, some problems are still going.
When creating a project with this Doc It really doesn't make it functional.

@snow-sr snow-sr closed this as completed Feb 4, 2022
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

No branches or pull requests

3 participants