When I read a great program today, I wanted to find out all of the usage of one text in fmt.Println()
, but I didn't know how to do that in GoLand.
We can use "⌥ ⌘ F7" to search for some functions or other things. fmt.Println()
for example.
But I can't do it when I want to find the text in fmt.Println()
But I can search the text in VsCode
So, what's the problem? I would appreciate it if somebody could tell me.
If you want to find a particular string anywhere in a project, consider using "Find in Files". You might want to narrow your search using file masks and filters like "In string literals" filter and .*go
file mask.
If you are looking for a string in a particular file, use "Find".