|
| 1 | +UseCaseSensitiveFileNames: false |
| 2 | +//// [/home/src/projects/project/a/a.ts] *new* |
| 3 | +export function fnA() {} |
| 4 | +export interface IfaceA {} |
| 5 | +export const instanceA: IfaceA = {}; |
| 6 | +//// [/home/src/projects/project/a/bin/a.d.ts] *new* |
| 7 | +export declare function fnA(): void; |
| 8 | +export interface IfaceA { |
| 9 | +} |
| 10 | +export declare const instanceA: IfaceA; |
| 11 | +//# sourceMappingURL=a.d.ts.map |
| 12 | +//// [/home/src/projects/project/a/bin/a.d.ts.map] *new* |
| 13 | +{ |
| 14 | + "version": 3, |
| 15 | + "file": "a.d.ts", |
| 16 | + "sourceRoot": "", |
| 17 | + "sources": ["../a.ts"], |
| 18 | + "names": [], |
| 19 | + "mappings": "AAAA,wBAAgB,GAAG,SAAK;AACxB,MAAM,WAAW,MAAM;CAAG;AAC1B,eAAO,MAAM,SAAS,EAAE,MAAW,CAAC" |
| 20 | +} |
| 21 | +//// [/home/src/projects/project/a/tsconfig.json] *new* |
| 22 | +{ |
| 23 | + "compilerOptions": { |
| 24 | + "outDir": "bin", |
| 25 | + "declarationMap": true, |
| 26 | + "composite": true |
| 27 | + } |
| 28 | +} |
| 29 | +//// [/home/src/projects/project/b/bin/b.d.ts] *new* |
| 30 | +export declare function fnB(): void; |
| 31 | +//# sourceMappingURL=b.d.ts.map |
| 32 | +//// [/home/src/projects/project/b/bin/b.d.ts.map] *new* |
| 33 | +{ |
| 34 | + "version": 3, |
| 35 | + "file": "b.d.ts", |
| 36 | + "sourceRoot": "", |
| 37 | + "sources": ["../b.ts"], |
| 38 | + "names": [], |
| 39 | + "mappings": "AAAA,wBAAgB,GAAG,SAAK" |
| 40 | +} |
| 41 | +//// [/home/src/projects/project/b/tsconfig.json] *new* |
| 42 | +{ |
| 43 | + "compilerOptions": { |
| 44 | + "outDir": "bin", |
| 45 | + "declarationMap": true, |
| 46 | + "composite": true |
| 47 | + } |
| 48 | +} |
| 49 | +//// [/home/src/projects/project/dummy/dummy.ts] *new* |
| 50 | +export const a = 10; |
| 51 | +//// [/home/src/projects/project/dummy/tsconfig.json] *new* |
| 52 | +{} |
| 53 | +//// [/home/src/projects/project/user/user.ts] *new* |
| 54 | +import * as a from "../a/bin/a"; |
| 55 | +import * as b from "../b/bin/b"; |
| 56 | +export function fnUser() { a.fnA(); b.fnB(); a.instanceA; } |
| 57 | + |
| 58 | +{ |
| 59 | + "method": "textDocument/didOpen", |
| 60 | + "params": { |
| 61 | + "textDocument": { |
| 62 | + "uri": "file:///home/src/projects/project/user/user.ts", |
| 63 | + "languageId": "typescript", |
| 64 | + "version": 0, |
| 65 | + "text": "import * as a from \"../a/bin/a\";\nimport * as b from \"../b/bin/b\";\nexport function fnUser() { a.fnA(); b.fnB(); a.instanceA; }" |
| 66 | + } |
| 67 | + } |
| 68 | +} |
| 69 | +Projects:: |
| 70 | + [/dev/null/inferred] *new* |
| 71 | + /home/src/projects/project/a/bin/a.d.ts |
| 72 | + /home/src/projects/project/b/bin/b.d.ts |
| 73 | + /home/src/projects/project/user/user.ts |
| 74 | +Open Files:: |
| 75 | + [/home/src/projects/project/user/user.ts] *new* |
| 76 | + /dev/null/inferred (default) |
| 77 | +Config File Names:: |
| 78 | + [/home/src/projects/project/user/user.ts] *new* |
| 79 | + NearestConfigFileName: |
| 80 | +{ |
| 81 | + "method": "textDocument/didOpen", |
| 82 | + "params": { |
| 83 | + "textDocument": { |
| 84 | + "uri": "file:///home/src/projects/project/a/a.ts", |
| 85 | + "languageId": "typescript", |
| 86 | + "version": 0, |
| 87 | + "text": "export function fnA() {}\nexport interface IfaceA {}\nexport const instanceA: IfaceA = {};" |
| 88 | + } |
| 89 | + } |
| 90 | +} |
| 91 | +Projects:: |
| 92 | + [/dev/null/inferred] |
| 93 | + /home/src/projects/project/a/bin/a.d.ts |
| 94 | + /home/src/projects/project/b/bin/b.d.ts |
| 95 | + /home/src/projects/project/user/user.ts |
| 96 | + [/home/src/projects/project/a/tsconfig.json] *new* |
| 97 | + /home/src/projects/project/a/a.ts |
| 98 | +Open Files:: |
| 99 | + [/home/src/projects/project/a/a.ts] *new* |
| 100 | + /home/src/projects/project/a/tsconfig.json (default) |
| 101 | + [/home/src/projects/project/user/user.ts] |
| 102 | + /dev/null/inferred (default) |
| 103 | +Config:: |
| 104 | + [/home/src/projects/project/a/tsconfig.json] *new* |
| 105 | + RetainingProjects: |
| 106 | + /home/src/projects/project/a/tsconfig.json |
| 107 | + RetainingOpenFiles: |
| 108 | + /home/src/projects/project/a/a.ts |
| 109 | +Config File Names:: |
| 110 | + [/home/src/projects/project/a/a.ts] *new* |
| 111 | + NearestConfigFileName: /home/src/projects/project/a/tsconfig.json |
| 112 | + [/home/src/projects/project/user/user.ts] |
| 113 | + NearestConfigFileName: |
| 114 | +{ |
| 115 | + "method": "textDocument/references", |
| 116 | + "params": { |
| 117 | + "textDocument": { |
| 118 | + "uri": "file:///home/src/projects/project/a/a.ts" |
| 119 | + }, |
| 120 | + "position": { |
| 121 | + "line": 0, |
| 122 | + "character": 16 |
| 123 | + }, |
| 124 | + "context": { |
| 125 | + "includeDeclaration": false |
| 126 | + } |
| 127 | + } |
| 128 | +} |
| 129 | +// === /home/src/projects/project/a/a.ts === |
| 130 | +// export function /*FIND ALL REFS*/[|fnA|]() {} |
| 131 | +// export interface IfaceA {} |
| 132 | +// export const instanceA: IfaceA = {}; |
| 133 | +{ |
| 134 | + "method": "textDocument/didClose", |
| 135 | + "params": { |
| 136 | + "textDocument": { |
| 137 | + "uri": "file:///home/src/projects/project/user/user.ts" |
| 138 | + } |
| 139 | + } |
| 140 | +} |
| 141 | +Open Files:: |
| 142 | + [/home/src/projects/project/a/a.ts] |
| 143 | + /home/src/projects/project/a/tsconfig.json (default) |
| 144 | + [/home/src/projects/project/user/user.ts] *closed* |
| 145 | +{ |
| 146 | + "method": "textDocument/didOpen", |
| 147 | + "params": { |
| 148 | + "textDocument": { |
| 149 | + "uri": "file:///home/src/projects/project/dummy/dummy.ts", |
| 150 | + "languageId": "typescript", |
| 151 | + "version": 0, |
| 152 | + "text": "export const a = 10;" |
| 153 | + } |
| 154 | + } |
| 155 | +} |
| 156 | +Projects:: |
| 157 | + [/dev/null/inferred] *deleted* |
| 158 | + /home/src/projects/project/a/bin/a.d.ts |
| 159 | + /home/src/projects/project/b/bin/b.d.ts |
| 160 | + /home/src/projects/project/user/user.ts |
| 161 | + [/home/src/projects/project/a/tsconfig.json] |
| 162 | + /home/src/projects/project/a/a.ts |
| 163 | + [/home/src/projects/project/dummy/tsconfig.json] *new* |
| 164 | + /home/src/projects/project/dummy/dummy.ts |
| 165 | +Open Files:: |
| 166 | + [/home/src/projects/project/a/a.ts] |
| 167 | + /home/src/projects/project/a/tsconfig.json (default) |
| 168 | + [/home/src/projects/project/dummy/dummy.ts] *new* |
| 169 | + /home/src/projects/project/dummy/tsconfig.json (default) |
| 170 | +Config:: |
| 171 | + [/home/src/projects/project/a/tsconfig.json] |
| 172 | + RetainingProjects: |
| 173 | + /home/src/projects/project/a/tsconfig.json |
| 174 | + RetainingOpenFiles: |
| 175 | + /home/src/projects/project/a/a.ts |
| 176 | + [/home/src/projects/project/dummy/tsconfig.json] *new* |
| 177 | + RetainingProjects: |
| 178 | + /home/src/projects/project/dummy/tsconfig.json |
| 179 | + RetainingOpenFiles: |
| 180 | + /home/src/projects/project/dummy/dummy.ts |
| 181 | +Config File Names:: |
| 182 | + [/home/src/projects/project/a/a.ts] |
| 183 | + NearestConfigFileName: /home/src/projects/project/a/tsconfig.json |
| 184 | + [/home/src/projects/project/dummy/dummy.ts] *new* |
| 185 | + NearestConfigFileName: /home/src/projects/project/dummy/tsconfig.json |
| 186 | + [/home/src/projects/project/user/user.ts] *deleted* |
0 commit comments