-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
*caused-by-extensionIssue identified to be caused by an extensionIssue identified to be caused by an extension
Description
Issue Type: Bug
I have a static function static_function_1() in file file1.c. I also have another static function with same name static_function_1() but in file file2.c. When I lookup for that function by ctrl + mouse click on file1.c, VS code pops up a window with results from file1.c and file2.c. Ideally, I would only expect VS code to navigate directly to the definition in file1.c.
Ideally, static functions are not visible outside the file, hence, for better code browsing, it is not necessary to list static functions from different file when control + click is performed.
VS Code version: Code 1.56.2 (054a929, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19042
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2808) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled skia_renderer: enabled_on video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
| Load (avg) | undefined |
| Memory (System) | 15.86GB (7.66GB free) |
| Process Argv | --crash-reporter-id cb92000b-759c-4d0c-b8b8-26a5fddc122b |
| Screen Reader | no |
| VM | 0% |
Extensions (30)
| Extension | Author (truncated) | Version |
|---|---|---|
| rainbow-brackets | 2gu | 0.0.6 |
| gitstash | art | 3.3.1 |
| All-Autocomplete | Ati | 0.0.23 |
| code-gnu-global | aus | 0.2.2 |
| git-easy | bib | 1.11.0 |
| stm32-for-vscode | bmd | 3.0.7 |
| doxdocgen | csc | 1.3.2 |
| c-cpp-compile-run | dan | 1.0.14 |
| githistory | don | 0.6.16 |
| prettier-vscode | esb | 6.4.0 |
| code-runner | for | 0.11.4 |
| vscode-pull-request-github | Git | 0.26.0 |
| better-cpp-syntax | jef | 1.15.5 |
| cortex-debug | mar | 0.3.12 |
| git-graph | mhu | 1.30.0 |
| python | ms- | 2021.5.842923320 |
| vscode-pylance | ms- | 2021.5.4 |
| jupyter | ms- | 2021.6.832593372 |
| remote-wsl | ms- | 0.56.3 |
| cmake-tools | ms- | 1.7.3 |
| cpptools | ms- | 1.4.0 |
| cpptools-extension-pack | ms- | 1.0.0 |
| indent-rainbow | ode | 7.5.0 |
| gitpatch | par | 0.2.1 |
| ActiveFileInStatusBar | Ros | 1.0.3 |
| git-merger | sha | 0.4.1 |
| code-settings-sync | Sha | 3.4.3 |
| cmake | twx | 0.0.17 |
| vscodeintellicode | Vis | 1.2.14 |
| gitblame | wad | 7.0.6 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30290705
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30307504
vscorehov:30309549
bridgeflightcf:30302070
vscod805:30301674
Metadata
Metadata
Assignees
Labels
*caused-by-extensionIssue identified to be caused by an extensionIssue identified to be caused by an extension