Find all references on a Typescript class constructor returns no results.
From @jockjocko on April 12, 2016 9:39
- VSCode Version: 0.10.15-insider
- OS Version: Windows 10
Steps to Reproduce:
- Create class and constructor.
- Create a new instance of the newly created class
- Shift + f12 or right click find all references
I would expect it to find all references of the class being constructed "new ExampleClass()".
Copied from original issue: Microsoft/vscode#5185
Moving to TypeScript for investigation.
@jockjocko can you please provide a code sample that demonstrates the problem? Thanks!
Find all references on a Typescript class constructor
I think he is trying it here:
class Foo {
constructor/* <= here */(){}
}
const foo = new Foo();
Indeed I get zero results :rose:
Note : References on the class name
Foowork just fine :heart:
If so, then it's a duplicate of #2114.
I'm assuming that's what's going on. Please comment if that's not the case and we'll re-open. Thanks!
Yes this is the same as #2114, thanks for the info.