Skip to content
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

Find in files using "Match whole case" includes erroneous results #2113

Closed
Grimelios opened this issue Jan 25, 2025 · 2 comments
Closed

Find in files using "Match whole case" includes erroneous results #2113

Grimelios opened this issue Jan 25, 2025 · 2 comments

Comments

@Grimelios
Copy link

namespace MyNamespace
{
	static
	{
		public static void Main()
		{
			let myVariable = 0;
		}
	}
}

Using "Find in Files" with the "Match whole case" checkbox enabled returns many erroneous lines (I'm running the 01/24/2025 nightly). For example, using the code above and searching myVariable (with "Match whole case") returns 64,752 lines (the overwhelming majority from corlib, of course). Restricting the search to the current project still returns 4 results:

Image

My assumption (based on many other text editors) is that the checkbox is supposed to read "Match whole word". Renaming the checkbox could be a separate issue on its own, but I'll just mention it as a footnote here to avoid cluttering up GitHub.

@bfiete
Copy link
Collaborator

bfiete commented Jan 26, 2025

Fixed at 0c9374c

@bfiete bfiete closed this as completed Jan 26, 2025
@bfiete bfiete reopened this Jan 31, 2025
@bfiete
Copy link
Collaborator

bfiete commented Jan 31, 2025

I actually did find the issue this time. Fixed at 78f9145

@bfiete bfiete closed this as completed Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants