mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Add fourslash test for in scope completion
This commit is contained in:
parent
587088bc46
commit
01f2cce8cf
@ -0,0 +1,24 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
////function f() {
|
||||
//// namespace n {
|
||||
//// interface I {
|
||||
//// x: number
|
||||
//// }
|
||||
//// /*1*/
|
||||
//// }
|
||||
//// /*2*/
|
||||
////}
|
||||
/////*3*/
|
||||
|
||||
goTo.marker('1');
|
||||
verify.completionListContains("f", "function f(): void");
|
||||
verify.completionListContains("n", "namespace n");
|
||||
verify.completionListContains("I", "interface I");
|
||||
|
||||
goTo.marker('2');
|
||||
verify.completionListContains("f", "function f(): void");
|
||||
verify.completionListContains("n", "namespace n");
|
||||
|
||||
goTo.marker('3');
|
||||
verify.completionListContains("f", "function f(): void");
|
||||
Loading…
x
Reference in New Issue
Block a user