If I use ctrl-t (symbol search), I get all symbols. This means my symbols and symbols of libraries I use.
Is there a way to restrict symbol search to only the symbols which are in my code (excluding symbols from libraries).
I use vscode for Go.
In above screenshot I highlighted the single line which comes from my code.
If a filter for "only my code" is not possible, then it would be nice if my code would get higlighted by vscode.
Related issue: https://github.com/golang/go/issues/37236
2
Answers
Enter the path of the libraries, in
files to exclude
.You can use vscode-search-everywhere
Refer
meaning: include all files with the above extentions