We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb13ae0 commit 6553413Copy full SHA for 6553413
tests/cases/fourslash/tripleSlashRefPathCompletionContext.ts
@@ -0,0 +1,21 @@
1
+/// <reference path='fourslash.ts' />
2
+
3
+// Exercises for whether completions are performed depending on where the caret is positioned in the ref comment.
4
5
+// @Filename: f.ts
6
+//// /*f*/
7
8
+// @Filename: test.ts
9
+//// /// <reference path/*0*/=/*1*/"/*8*/
10
+//// /// <reference path/*2*/=/*3*/"/*9*/"/*4*/ /*5*///*6*/>/*7*/
11
12
+for(let m = 0; m < 8; ++m) {
13
+ goTo.marker("" + m);
14
+ verify.not.completionListItemsCountIsGreaterThan(0);
15
+}
16
17
+for(let m of ["8", "9"]) {
18
+ goTo.marker(m);
19
+ verify.completionListContains("f.ts");
20
+ verify.not.completionListItemsCountIsGreaterThan(1);
21
0 commit comments