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

Let the extension work anywhere a bezier curve is defined? #2

Open
Loque- opened this issue Jul 7, 2021 · 2 comments
Open

Let the extension work anywhere a bezier curve is defined? #2

Loque- opened this issue Jul 7, 2021 · 2 comments

Comments

@Loque-
Copy link

Loque- commented Jul 7, 2021

Would be super cool if I could select/highlight a bunch of comma separated values (in .js and .jsx files), e.g 0.07, 1, 0.37, 0.96 and make use of the visualisation tools for customising the bezier curve.

For example I am using Framer Motion and have some custom eases, I am using https://easings.co/ and https://cubic-bezier.com/ but it would be so much better if I could tune this inline with a tool like yours.

Really cool extension <3

@chriskirknielsen
Copy link
Owner

Hey and sorry for the delayed response. I think this could be a great addition! 👍

However I am not sure how that would be implemented. The extension currently parses the code and matches the "full" syntax. Selecting an arbitrary text and triggering the preview (maybe through the context menu or a keyboard shortcut) sounds like a different approach that I've never tried before. If you have any ideas, PRs are welcome!

@Loque-
Copy link
Author

Loque- commented Aug 5, 2021

No problem, thanks for the response - if I get a chance I will definitely have a look, there is some value there for me and I think a lot of people who work with bezier curves a lot. I have to admit I have never worked on a VSCode extension so this might not happen for a while but you never know!

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