-
-
Notifications
You must be signed in to change notification settings - Fork 21.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
Minor usability issue with triple quotes #41361
Comments
I am attempting to fix the issue. Present scenerio:In the file My approach:When the function gets The problem:When we put braces around a selection, the function deselects the text after putting the braces in place. So, if we want to put |
One approach is to remove the |
If you've got the bug fixed that's good enough for a pull request IMO. What I usually end up doing is manually typing three quotes before and after the block. Though your addition is even better and matches what happens in VSCode. Currently though it only works if you use |
#41434 |
Auto-completion triple-quotes
modified: scene/gui/text_edit.cpp modified: scene/gui/text_edit.h
Apply suggestions from code review: Comment structure Co-authored-by: Aaron Franke <arnfranke@yahoo.com> reformat
Godot version:
v3.2.2.stable.official
OS/device including version:
MacBookAir8,1
macOS Catalina 10.15.5 (19F101)
Issue description:
When I type three quotes in a row for a multiline comment or string, the script editor shouldn't automatically close the last one.
Steps to reproduce:
Type three quotes in any script
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: