Skip to content

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

DogeisCut
Copy link
Contributor

I've created yet another extension. This one adds Enumerations seen in many programming languages to the editor!
msedge_VtFqoEGerF
msedge_Tk4Vsk1hTB

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
Enumerations

Copy link

vercel bot commented Mar 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
penguinmod-extensions-gallery ✅ Ready (Inspect) Visit Preview Mar 20, 2025 9:13pm

Copy link
Member

@JeremyGamer13 JeremyGamer13 left a 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
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

@DogeisCut DogeisCut marked this pull request as draft March 16, 2025 22:09
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