-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
rename-variable dialog doesn't allow 1st-char underscore #5828
Comments
https://www.tutorialspoint.com/java/lang/character_isunicodeidentifierstart.htm
|
|
@jeremydouglass |
Previously it was limited to unicode identifiers--for example a beginning with _ was forbidden; not so in Java. Closes processing#5828 "rename-variable dialog doesn't allow 1st-char underscore"
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi!
When using the right-click rename variable function, trying to use an underscore as first character results in a "Barbie" message of "Naming is Hard"/"_xxx is not a valid name"
Processing 3.5.2
Thanks
Doug
Edit:
It seems that in java/src/processing/mode/java/pdex/Rename.java
substituting "isJavaIdentifierStart/Part" for "isUnicodeIdentifierStart/Part" might solve the problem?
The text was updated successfully, but these errors were encountered: