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

Plugins support for moving statements #495

Open
zardoy opened this issue Jan 28, 2022 · 1 comment
Open

Plugins support for moving statements #495

zardoy opened this issue Jan 28, 2022 · 1 comment
Labels
✨ Feature New refactoring or feature

Comments

@zardoy
Copy link
Contributor

zardoy commented Jan 28, 2022

Is this request related to a problem? Please describe.

As I said in #493 with an example with 'css' prop it might be handy for developer to have an ability to move css classes when using css-in-js libraries.

There is an extension vscode-styled-components that provides completions and syntax highlighting. Extension similar to this can be used for handling that.

I think we can achieve this by exposing register method in this extension API. Then another extension can call abracadabraExt.exports.registerMoveHandler or something like that. I'd like to handle this.

@zardoy zardoy added the ✨ Feature New refactoring or feature label Jan 28, 2022
@zardoy zardoy changed the title # Plugins support for moving statements Plugins support for moving statements Jan 28, 2022
@nicoespeon
Copy link
Owner

I think that's an interesting idea I'd like to dig into. Don't have time now, but I'll get back to this issue with more thoughts 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature New refactoring or feature
Projects
None yet
Development

No branches or pull requests

2 participants