You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most code editors (tested Visual Studio, VS Code, Notepad++) check for word boundaries on the edges of the possible match when doing Whole Words searches. Godot, however, only checks for non-word characters outside the possible match, not inside.
For example, most editors will find .func in variable.func when performing a Whole Words search, but Godot finds nothing.
This behavior is useful when I want to find uses of a member variable. I can do a Whole Words search for .member and it will match class.member but not var member or class.membership.
Godot version
v4.1.1.stable.official [bd6af8e]
System information
Godot v4.1.1.stable - Windows 10.0.22621 - Vulkan (Compatibility) - AMD Radeon RX 5700 XT (Advanced Micro Devices, Inc.; 31.0.12027.9001) - Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (6 Threads)
Issue description
Most code editors (tested Visual Studio, VS Code, Notepad++) check for word boundaries on the edges of the possible match when doing Whole Words searches. Godot, however, only checks for non-word characters outside the possible match, not inside.
For example, most editors will find
.func
invariable.func
when performing a Whole Words search, but Godot finds nothing.This behavior is useful when I want to find uses of a member variable. I can do a Whole Words search for
.member
and it will matchclass.member
but notvar member
orclass.membership
.Steps to reproduce
.myfunc
.Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: