Skip to content

Goto symbol in workspace ignores methods in prototype object #19782

@hansanghoon

Description

@hansanghoon
  • VSCode Version: Code 1.9.0 (27240e7, 2017-02-02T08:23:30.856Z)
  • OS Version: Darwin x64 16.4.0
  • Extensions:
Extension Author Version
beautify HookyQR 0.7.3
vscode-eslint dbaeumer 1.2.2
vscode-dash deerawan 1.3.0
bower donjayamanne 0.0.3
vscode-babel-coloring dzannotti 0.0.4
debugger-for-chrome msjsdiag 2.5.1
polymer-ide polymer 0.3.0
java redhat 0.0.9
elm sbrink 0.8.3
JavaScriptSnippets xabikos 1.2.0

Steps to Reproduce:

  1. create a.js file contains something like MyComponent.prototype.helloWorld = function(){}
  2. create b.js file function myHello() {}
  3. type cmd+shift+o + "hello" in file a.js shows helloWorld function
  4. type cmd+shift+o + "hello" in file b.js shows myHello function
  5. type cmd+t + "hello" in file a.js shows myHello function
  6. type cmd+t + "hello" in file b.js shows myHello function

I expect that in step 5/6 both helloWorld and myHello function would show up, but only function declaration was showed up. Is their any way to show both of them?

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions