-
Notifications
You must be signed in to change notification settings - Fork 111
Add Enumerations Extension #281
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
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(see other messages in review aswell)
in my opinion i think a better description of what the point of enumerations are would be useful, would be good for the description of the ext
// Version V.1.0.0 | ||
|
||
// TODO: | ||
// - Use dynamic blocks instead of this opcode fuckery |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imo i think it would be best to do this before this is added to the library, the current method feels unsafe & switching to dynamic blocks later would require breaking changes to the extension
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
I've created yet another extension. This one adds Enumerations seen in many programming languages to the editor!


They are properly serialized and will save+load correctly. The dropdown of the first block also updates to the enum you have selected.
This is the icon
