We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.2.1
Windows 10, Godot 4.2.1, Gles3 compatibility
When adding typehints to function declarations the highlighting stops working if linebreaks are added:
Write a function with type hints for some custom types. Add linebreaks in the parameter list
The text was updated successfully, but these errors were encountered:
This has been not been fixed in master (currently 4.3).
Custom type hints, it's worth noting. It seems like #86176 does not handle this edge-case (CC @dalexeev).
Sorry, something went wrong.
This is difficult to fix without a major refactoring of the highlighter. For each new line, the context is lost (with the exception of code regions).
Wouldn't it make sense to keep the context for the current statement atleast? I.e. if inside brackets you dont discard on linebreak.
No branches or pull requests
Tested versions
4.2.1
System information
Windows 10, Godot 4.2.1, Gles3 compatibility
Issue description
When adding typehints to function declarations the highlighting stops working if linebreaks are added:
Steps to reproduce
Write a function with type hints for some custom types. Add linebreaks in the parameter list
Minimal reproduction project (MRP)
The text was updated successfully, but these errors were encountered: