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

Missing some classes? #11

Open
crapthings opened this issue Dec 18, 2024 · 2 comments
Open

Missing some classes? #11

crapthings opened this issue Dec 18, 2024 · 2 comments

Comments

@crapthings
Copy link

How to add missing classes by myself?

image image
@deathaxe
Copy link
Member

deathaxe commented Dec 18, 2024

It looks like a question for https://github.com/danklammer/tailwind-sublime-autocomplete/issues.

This package currently only provides syntax definitions for TailwindCSS at-rules.

It may however easily be possible to write some "Tailwind CSS.sublime-completions" files to provide those without plugin-code.

@deathaxe
Copy link
Member

A Tailwind CSS.sublime-completions could look as follows.

{
	"scope": "meta.attribute-with-value.class.html meta.string, meta.selector.css, meta.tag.attributes.jsx meta.string",
	"completions": [
		{ "trigger": "justify-end", "kind": ["type", "c", "Class"], "annotation": "Tailwind Class" }
	],
}

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

2 participants