Created
February 21, 2024 20:26
-
-
Save SubhajitSK/a505533d595738880f924b0b73406d07 to your computer and use it in GitHub Desktop.
Revisions
-
SubhajitSK created this gist
Feb 21, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ If you're facing issues with Tailwind CSS IntelliSense not providing suggestions in your ReactJS project, follow these steps to adjust your workspace settings: 1. Open your code editor and access the command palette (you can typically do this by pressing `Ctrl + Shift + P` or `Cmd + Shift + P`). 2. Search for `settings.json` in the command palette and select the option for "Preferences: Open Workspace Settings (JSON)" to open the workspace settings file in JSON format.  3. In the opened `settings.json` file, paste the following code: ``` json { "tailwindCSS.includeLanguages": { "javascript": "javascript", "html": "HTML" }, "editor.quickSuggestions": { "strings": true } } ``` 4. Save the file. This configuration ensures that Tailwind CSS IntelliSense is activated for JavaScript and HTML files within your workspace. The "editor.quickSuggestions" setting specifically enables quick suggestions, including strings. Now, you should experience improved Tailwind CSS IntelliSense functionality in your ReactJS project. Remember to restart your code editor or reload the workspace for the changes to take effect.