Skip to content

Fix and Feat Custom Variable#912

Merged
j-px merged 8 commits intoSketchware-Pro:mainfrom
elfilibusterismo:main
Sep 17, 2023
Merged

Fix and Feat Custom Variable#912
j-px merged 8 commits intoSketchware-Pro:mainfrom
elfilibusterismo:main

Conversation

@elfilibusterismo
Copy link
Collaborator

No description provided.

@j-px
Copy link
Contributor

j-px commented Jul 14, 2023

why did you close the PR?? now the reviews are "gone"

@elfilibusterismo
Copy link
Collaborator Author

why did you close the PR?? now the reviews are "gone"

Sorry, I forgot.
If I'm not mistaken this is the exact review message

•an indent has 4 spaces
•after ifs, switches, etc. and before e.g. {s there should be a space
•and also very important: no stray lines before a class' fields (like in CustomVariableUtil.java) as well as before one's last }

@j-px
Copy link
Contributor

j-px commented Jul 14, 2023

no, I also meant these:
image

@elfilibusterismo
Copy link
Collaborator Author

no, I also meant these:
image

In validators class
You said, remove the redundant 'this' and make the pattern static final.

LogicClickListener.java
For validator of modifier and type you've notice the error message not having colon
and for local variable not needed, so i just directly used toAdd.toString().trim()

ExtraPaletteBlock.java
You and hasrat said about Custom List being already exists, so I removed it from Custom Variable.

@j-px
Copy link
Contributor

j-px commented Jul 14, 2023

nooo, I didn't ask you to list all and explain what you did, come on lol

@hasrat-ali
Copy link
Contributor

Why haven't you removed the new custom variable (6) yet?

Why you even need that?

@elfilibusterismo
Copy link
Collaborator Author

Why haven't you removed the new custom variable (6) yet?

Why you even need that?

20230715_025426.png

@j-px
Copy link
Contributor

j-px commented Jul 14, 2023

please don't open another PR again after you make adjustments

@j-px j-px added improvement Enhances an existing feature or internal logic. fix This pull request contains a bugfix labels Jul 21, 2023
@elfilibusterismo
Copy link
Collaborator Author

Forgot to revert the format codes. Sorry

@elfilibusterismo elfilibusterismo requested a review from j-px July 23, 2023 02:21
@j-px j-px mentioned this pull request Aug 10, 2023
@ilyassesalama ilyassesalama added the working on it This issue/pull request is being worked on in the meantime label Aug 11, 2023
@j-px j-px linked an issue Aug 19, 2023 that may be closed by this pull request
This was unnecessarily complicated.
…ble too

Allows also using Custom Variables with type e.g. `Boolean` to be used like a Boolean Variable, not just `boolean`, `int`, etc.
@j-px j-px merged commit 4a7f8e6 into Sketchware-Pro:main Sep 17, 2023
@j-px j-px removed the working on it This issue/pull request is being worked on in the meantime label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix This pull request contains a bugfix improvement Enhances an existing feature or internal logic.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom Variable show errors

4 participants