Skip to content

Conversation

@RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Sep 16, 2021

The vscode extension wants to provide code completions, in AOT mode it used the final CSS to provide that, this AOT mode is now gone so we need another way of handling that.
This PR will also add a completions function on the context (which the extension already has access to). This will result in a list of all the base utilities without any variants.
It will also provide additional information about the type (currently only for colors). The result looks like this:

['uppercase', 'lowercase', ['bg-red', { color: 'rgb(255 0 0)' }]]

@RobinMalfait RobinMalfait changed the title completions Expose completions API Sep 16, 2021
@RobinMalfait RobinMalfait merged commit c3906b4 into master Sep 26, 2021
@RobinMalfait RobinMalfait deleted the completions branch September 26, 2021 10:01
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

Successfully merging this pull request may close these issues.

2 participants