Git Product home page Git Product logo

igtm / vscode-tailwind-suggestions-for-csser Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 286 KB

Visual Studio Code Tailwind CSS Suggest Extension for CSSer

Home Page: https://marketplace.visualstudio.com/items?itemName=igtm.tailwind-vscode-suggestions-for-csser

License: MIT License

HTML 0.10% JavaScript 83.18% TypeScript 16.66% CSS 0.06%
auto-completion css html react suggestions tailwindcss vscode-extension

vscode-tailwind-suggestions-for-csser's Introduction

TailwindCSS Suggestion for CSSer

All Contributors

You don't have to remeber all the Tailwind Utility Class Names. Just use this!

result-min

Features

  • Suggesting TailwindCSS ClassName from vanilla CSS

Active Conditions of Suggestion

  • inside class attributes
  • after @apply

Extension Settings

  • tailwindCSSForCSSer.suggestions.classAttributes: Enable autocomplete suggestions in class attributes.

  • tailwindCSSForCSSer.suggestions.atApply: Enable autocomplete suggestions after @apply.

  • tailwindCSSForCSSer.additionalLanguages.classAttributes: Enable features in languages that are not supported by default in class attributes.

  • tailwindCSSForCSSer.disableLanguages.classAttributes: Disable features in languages that are supported by default in class attributes. (e.g. html typescriptreact etc..)

  • tailwindCSSForCSSer.additionalLanguages.atApply: Enable features in languages that are not supported by default after @apply.

  • tailwindCSSForCSSer.disableLanguages.atApply: Disable features in languages that are supported by default after @apply. (e.g. html typescriptreact etc..)

{
  // default settings below
  "tailwindCSSForCSSer.suggestions.classAttributes": true,
  "tailwindCSSForCSSer.suggestions.atApply": true,
  "tailwindCSSForCSSer.additionalLanguages.classAttributes": [],
  "tailwindCSSForCSSer.disableLanguages.classAttributes": [],
  "tailwindCSSForCSSer.additionalLanguages.atApply": [],
  "tailwindCSSForCSSer.disableLanguages.atApply": []
}

Known Issues

Not all TailwindCSS class names are supported (complicated shadow css ..etc)

TODO

  • suggestion in class attribute
  • suggestion after @apply
  • limit active condition more precisely
  • support arbitrary value
  • support colors

Contributors

Iguchi Tomokatsu
Iguchi Tomokatsu

๐Ÿ’ป
Gyo Tamura
Gyo Tamura

๐Ÿ’ป
ym-darake
ym-darake

๐Ÿ’ป

vscode-tailwind-suggestions-for-csser's People

Contributors

allcontributors[bot] avatar igtm avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.