question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Go to symbol" is not showing results unless full type name used (ish)

See original GitHub issue

vscode extension version 1.1.0

Given the code below the “Go to workspace symbol” doesn’t behave as expected. The following searches yield non-optimal results:

  • ServiceLookup - no results. Expect to see ISomeServiceLookup and SomeServiceLookup as result.
  • SomeService - only SomeServiceLookup listed
  • ssl - no results. Expect to see ISomeServiceLookup and SomeServiceLookup as result.

For comparison - the “Go to file” works in all of the above cases.

namespace Test
{
    public interface ISomeServiceLookup {  }
    public class SomeServiceLookup : ISomeServiceLookup { }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
filipwcommented, Dec 21, 2017

I am getting the expected results in the first two cases.

we added substring lookups only recently https://github.com/OmniSharp/omnisharp-roslyn/pull/990 - this shipped in 1.13.0 of the extension https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.13.0

0reactions
filipwcommented, Jan 17, 2019

This can be closed - ssl in this case will work since we switched to SymbolFinder.FindSourceDeclarationsWithPatternAsync and we have a nice fuzzy search now. This feature shipped in OmniSharp 1.32.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

js/ts workspace symbol search only works if you have loaded ...
Observed: No results for Symbol EditorStyleSettings. The text was updated successfully, ... It means the ts file is not visible but only file...
Read more >
Optional chaining (?.) - JavaScript - MDN Web Docs - Mozilla
When used with function calls, it returns undefined if the given function does not exist. This results in shorter and simpler expressions ...
Read more >
How to Export Pandas DataFrame to a CSV File - Data to Fish
Next, you'll see a full example, where: A DataFrame will be created from scratch; Then, the DataFrame will be exported to a CSV...
Read more >
Tutorial: Working with FISH — FLAC3D 7.0 documentation
When a FISH symbol name is mentioned, the associated function is executed if the symbol corresponds to a function. However, if the symbol...
Read more >
Terminal Shell Integration in Visual Studio Code
These sequences should be ignored by other terminals, but unless other terminals end up adopting the sequences more widely, it's recommended to check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found