-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
declarationMap does not work when finding references of some module to a project that consumed it #33323
Comments
@Tyriar can you please provide tsserver log so we know what files were open and whats going on. Also #32028 might interest you and doesn't depend on declarationMap… There is a drop #32028 (comment) here is something you would want to try. |
tsserver log: Info 0 [9:48:6.398] Starting TS Server Info 1 [9:48:6.401] Version: 3.6.3-insiders.20190909 Info 2 [9:48:6.401] Arguments: /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/qp/2jw84z9n14ggbylqzf710v3w0000gn/T/vscode-typescript501/ac76aa6318dd1c3617c9/tscancellation-9065031ae69ac3d76fe0.tmp* --logVerbosity verbose --logFile /Users/daimms/Library/Application Support/Code - Insiders/logs/20190912T111112/exthost2/vscode.typescript-language-features/tsserver-log-4DNIXH/tsserver.log --globalPlugins typescript-tslint-plugin --pluginProbeLocations /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation Info 3 [9:48:6.401] Platform: darwin NodeVersion: 10 CaseSensitive: false Info 4 [9:48:6.409] Binding... Info 5 [9:48:6.417] request: {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode","preferences":{"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true}}} Info 6 [9:48:6.418] Host information vscode Info 7 [9:48:6.418] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true} Perf 8 [9:48:6.419] 0::configure: async elapsed time (in milliseconds) 1.8858 Info 9 [9:48:6.419] request: {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"commonjs","target":"es2016","jsx":"preserve","allowJs":true,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true}}} Info 10 [9:48:6.420] Scheduled: *ensureProjectForOpenFiles* Perf 11 [9:48:6.420] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.9172 Info 12 [9:48:6.420] response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true} Info 13 [9:48:6.421] event: {"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":268}} Info 14 [9:48:6.421] request: {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"/Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts","fileContent":"/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n * @license MIT\n */\n\nimport { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from 'common/Types';\nimport { C0 } from 'common/data/EscapeSequences';\n\n// reg + shift key mappings for digits and special chars\nconst KEYCODE_KEY_MAPPINGS: { [key: number]: [string, string]} = {\n // digits 0-9\n 48: ['0', ')'],\n 49: ['1', '!'],\n 50: ['2', '@'],\n 51: ['3', '#'],\n 52: ['4', '$'],\n 53: ['5', '%'],\n 54: ['6', '^'],\n 55: ['7', '&'],\n 56: ['8', '*'],\n 57: ['9', '('],\n\n // special chars\n 186: [';', ':'],\n 187: ['=', '+'],\n 188: [',', '<'],\n 189: ['-', '_'],\n 190: ['.', '>'],\n 191: ['/', '?'],\n 192: ['`', '~'],\n 219: ['[', '{'],\n 220: ['\\\\', '|'],\n 221: [']', '}'],\n 222: ['\\'', '\"']\n};\n\nexport function evaluateKeyboardEvent(\n ev: IKeyboardEvent,\n applicationCursorMode: boolean,\n isMac: boolean,\n macOptionIsMeta: boolean\n): IKeyboardResult {\n const result: IKeyboardResult = {\n type: KeyboardResultType.SEND_KEY,\n // Whether to cancel event propagation (NOTE: this may not be needed since the event is\n // canceled at the end of keyDown\n cancel: false,\n // The new key even to emit\n key: undefined\n };\n const modifiers = (ev.shiftKey ? 1 : 0) | (ev.altKey ? 2 : 0) | (ev.ctrlKey ? 4 : 0) | (ev.metaKey ? 8 : 0);\n switch (ev.keyCode) {\n case 0:\n if (ev.key === 'UIKeyInputUpArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OA';\n } else {\n result.key = C0.ESC + '[A';\n }\n }\n else if (ev.key === 'UIKeyInputLeftArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OD';\n } else {\n result.key = C0.ESC + '[D';\n }\n }\n else if (ev.key === 'UIKeyInputRightArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OC';\n } else {\n result.key = C0.ESC + '[C';\n }\n }\n else if (ev.key === 'UIKeyInputDownArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OB';\n } else {\n result.key = C0.ESC + '[B';\n }\n }\n break;\n case 8:\n // backspace\n if (ev.shiftKey) {\n result.key = C0.BS; // ^H\n break;\n } else if (ev.altKey) {\n result.key = C0.ESC + C0.DEL; // \\e ^?\n break;\n }\n result.key = C0.DEL; // ^?\n break;\n case 9:\n // tab\n if (ev.shiftKey) {\n result.key = C0.ESC + '[Z';\n break;\n }\n result.key = C0.HT;\n result.cancel = true;\n break;\n case 13:\n // return/enter\n result.key = C0.CR;\n result.cancel = true;\n break;\n case 27:\n // escape\n result.key = C0.ESC;\n result.cancel = true;\n break;\n case 37:\n // left-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'D';\n // HACK: Make Alt + left-arrow behave like Ctrl + left-arrow: move one word backwards\n // http://unix.stackexchange.com/a/108106\n // macOS uses different escape sequences than linux\n if (result.key === C0.ESC + '[1;3D') {\n result.key = isMac ? C0.ESC + 'b' : C0.ESC + '[1;5D';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OD';\n } else {\n result.key = C0.ESC + '[D';\n }\n break;\n case 39:\n // right-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'C';\n // HACK: Make Alt + right-arrow behave like Ctrl + right-arrow: move one word forward\n // http://unix.stackexchange.com/a/108106\n // macOS uses different escape sequences than linux\n if (result.key === C0.ESC + '[1;3C') {\n result.key = isMac ? C0.ESC + 'f' : C0.ESC + '[1;5C';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OC';\n } else {\n result.key = C0.ESC + '[C';\n }\n break;\n case 38:\n // up-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'A';\n // HACK: Make Alt + up-arrow behave like Ctrl + up-arrow\n // http://unix.stackexchange.com/a/108106\n if (result.key === C0.ESC + '[1;3A') {\n result.key = C0.ESC + '[1;5A';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OA';\n } else {\n result.key = C0.ESC + '[A';\n }\n break;\n case 40:\n // down-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'B';\n // HACK: Make Alt + down-arrow behave like Ctrl + down-arrow\n // http://unix.stackexchange.com/a/108106\n if (result.key === C0.ESC + '[1;3B') {\n result.key = C0.ESC + '[1;5B';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OB';\n } else {\n result.key = C0.ESC + '[B';\n }\n break;\n case 45:\n // insert\n if (!ev.shiftKey && !ev.ctrlKey) {\n // or + are used to\n // copy-paste on some systems.\n result.key = C0.ESC + '[2~';\n }\n break;\n case 46:\n // delete\n if (modifiers) {\n result.key = C0.ESC + '[3;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[3~';\n }\n break;\n case 36:\n // home\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'H';\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OH';\n } else {\n result.key = C0.ESC + '[H';\n }\n break;\n case 35:\n // end\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'F';\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OF';\n } else {\n result.key = C0.ESC + '[F';\n }\n break;\n case 33:\n // page up\n if (ev.shiftKey) {\n result.type = KeyboardResultType.PAGE_UP;\n } else {\n result.key = C0.ESC + '[5~';\n }\n break;\n case 34:\n // page down\n if (ev.shiftKey) {\n result.type = KeyboardResultType.PAGE_DOWN;\n } else {\n result.key = C0.ESC + '[6~';\n }\n break;\n case 112:\n // F1-F12\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'P';\n } else {\n result.key = C0.ESC + 'OP';\n }\n break;\n case 113:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'Q';\n } else {\n result.key = C0.ESC + 'OQ';\n }\n break;\n case 114:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'R';\n } else {\n result.key = C0.ESC + 'OR';\n }\n break;\n case 115:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'S';\n } else {\n result.key = C0.ESC + 'OS';\n }\n break;\n case 116:\n if (modifiers) {\n result.key = C0.ESC + '[15;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[15~';\n }\n break;\n case 117:\n if (modifiers) {\n result.key = C0.ESC + '[17;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[17~';\n }\n break;\n case 118:\n if (modifiers) {\n result.key = C0.ESC + '[18;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[18~';\n }\n break;\n case 119:\n if (modifiers) {\n result.key = C0.ESC + '[19;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[19~';\n }\n break;\n case 120:\n if (modifiers) {\n result.key = C0.ESC + '[20;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[20~';\n }\n break;\n case 121:\n if (modifiers) {\n result.key = C0.ESC + '[21;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[21~';\n }\n break;\n case 122:\n if (modifiers) {\n result.key = C0.ESC + '[23;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[23~';\n }\n break;\n case 123:\n if (modifiers) {\n result.key = C0.ESC + '[24;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[24~';\n }\n break;\n default:\n // a-z and space\n if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey) {\n if (ev.keyCode >= 65 && ev.keyCode <= 90) {\n result.key = String.fromCharCode(ev.keyCode - 64);\n } else if (ev.keyCode === 32) {\n // NUL\n result.key = String.fromCharCode(0);\n } else if (ev.keyCode >= 51 && ev.keyCode <= 55) {\n // escape, file sep, group sep, record sep, unit sep\n result.key = String.fromCharCode(ev.keyCode - 51 + 27);\n } else if (ev.keyCode === 56) {\n // delete\n result.key = String.fromCharCode(127);\n } else if (ev.keyCode === 219) {\n // ^[ - Control Sequence Introducer (CSI)\n result.key = String.fromCharCode(27);\n } else if (ev.keyCode === 220) {\n // ^\\ - String Terminator (ST)\n result.key = String.fromCharCode(28);\n } else if (ev.keyCode === 221) {\n // ^] - Operating System Command (OSC)\n result.key = String.fromCharCode(29);\n }\n } else if ((!isMac || macOptionIsMeta) && ev.altKey && !ev.metaKey) {\n // On macOS this is a third level shift when !macOptionIsMeta. Use instead.\n const keyMapping = KEYCODE_KEY_MAPPINGS[ev.keyCode];\n const key = keyMapping && keyMapping[!ev.shiftKey ? 0 : 1];\n if (key) {\n result.key = C0.ESC + key;\n } else if (ev.keyCode >= 65 && ev.keyCode <= 90) {\n const keyCode = ev.ctrlKey ? ev.keyCode - 64 : ev.keyCode + 32;\n result.key = C0.ESC + String.fromCharCode(keyCode);\n }\n } else if (isMac && !ev.altKey && !ev.ctrlKey && ev.metaKey) {\n if (ev.keyCode === 65) { // cmd + a\n result.type = KeyboardResultType.SELECT_ALL;\n }\n } else if (ev.key && !ev.ctrlKey && !ev.altKey && !ev.metaKey && ev.keyCode >= 48 && ev.key.length === 1) {\n // Include only keys that that result in a _single_ character; don't include num lock, volume up, etc.\n result.key = ev.key;\n } else if (ev.key && ev.ctrlKey) {\n if (ev.key === '_') { // ^_\n result.key = C0.US;\n }\n }\n break;\n }\n\n return result;\n}\n","scriptKindName":"TS","projectRootPath":"/Users/daimms/dev/Tyriar/xterm.js"}]}} Info 15 [9:48:6.423] Search path: /Users/daimms/dev/Tyriar/xterm.js/src/common/input Info 16 [9:48:6.423] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 17 [9:48:6.423] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 18 [9:48:6.424] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 19 [9:48:6.424] For info: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts :: Config file name: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 20 [9:48:6.424] Opened configuration file /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 21 [9:48:6.426] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json 2000 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Config file Info 22 [9:48:6.427] event: {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json","reason":"Creating possible configured project for /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts to open"}} Info 23 [9:48:6.451] DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/src/common 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Wild card directory Info 24 [9:48:6.453] Elapsed:: 2ms DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/src/common 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Wild card directory Info 25 [9:48:6.453] Loading global plugin typescript-tslint-plugin Info 26 [9:48:6.453] Enabling plugin typescript-tslint-plugin from candidate paths: /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js/../../..,/Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 Info 27 [9:48:6.454] Loading typescript-tslint-plugin from /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js/../../.. (resolved to /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/node_modules) Info 28 [9:48:6.467] Loading typescript-tslint-plugin from /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 (resolved to /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2/node_modules) Info 29 [9:48:6.625] [typescript-tslint-plugin] "Create" Info 30 [9:48:6.625] [typescript-tslint-plugin] "ConfigurationManager: Found configured project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json" Info 31 [9:48:6.625] [typescript-tslint-plugin] "loaded" Info 32 [9:48:6.625] Plugin validation succeded Info 33 [9:48:6.626] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.test.ts 500 Project: WatchType: Closed Script info Info 34 [9:48:6.627] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.ts 500 Project: WatchType: Closed Script info Info 35 [9:48:6.627] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.test.ts 500 Project: WatchType: Closed Script info Info 36 [9:48:6.628] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.ts 500 Project: WatchType: Closed Script info Info 37 [9:48:6.628] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.test.ts 500 Project: WatchType: Closed Script info Info 38 [9:48:6.628] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.ts 500 Project: WatchType: Closed Script info Info 39 [9:48:6.628] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.test.ts 500 Project: WatchType: Closed Script info Info 40 [9:48:6.629] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.ts 500 Project: WatchType: Closed Script info Info 41 [9:48:6.629] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.test.ts 500 Project: WatchType: Closed Script info Info 42 [9:48:6.629] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.ts 500 Project: WatchType: Closed Script info Info 43 [9:48:6.630] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Platform.ts 500 Project: WatchType: Closed Script info Info 44 [9:48:6.630] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TestUtils.test.ts 500 Project: WatchType: Closed Script info Info 45 [9:48:6.630] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.test.ts 500 Project: WatchType: Closed Script info Info 46 [9:48:6.630] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.ts 500 Project: WatchType: Closed Script info Info 47 [9:48:6.631] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Types.d.ts 500 Project: WatchType: Closed Script info Info 48 [9:48:6.631] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/AttributeData.ts 500 Project: WatchType: Closed Script info Info 49 [9:48:6.631] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.test.ts 500 Project: WatchType: Closed Script info Info 50 [9:48:6.632] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.ts 500 Project: WatchType: Closed Script info Info 51 [9:48:6.632] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.test.ts 500 Project: WatchType: Closed Script info Info 52 [9:48:6.632] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.ts 500 Project: WatchType: Closed Script info Info 53 [9:48:6.632] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.test.ts 500 Project: WatchType: Closed Script info Info 54 [9:48:6.633] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.ts 500 Project: WatchType: Closed Script info Info 55 [9:48:6.633] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.test.ts 500 Project: WatchType: Closed Script info Info 56 [9:48:6.633] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.ts 500 Project: WatchType: Closed Script info Info 57 [9:48:6.634] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/CellData.ts 500 Project: WatchType: Closed Script info Info 58 [9:48:6.634] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Constants.ts 500 Project: WatchType: Closed Script info Info 59 [9:48:6.634] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Marker.ts 500 Project: WatchType: Closed Script info Info 60 [9:48:6.635] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Types.d.ts 500 Project: WatchType: Closed Script info Info 61 [9:48:6.635] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/data/Charsets.ts 500 Project: WatchType: Closed Script info Info 62 [9:48:6.636] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/data/EscapeSequences.ts 500 Project: WatchType: Closed Script info Info 63 [9:48:6.636] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.test.ts 500 Project: WatchType: Closed Script info Info 64 [9:48:6.637] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.test.ts 500 Project: WatchType: Closed Script info Info 65 [9:48:6.637] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.ts 500 Project: WatchType: Closed Script info Info 66 [9:48:6.637] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Constants.ts 500 Project: WatchType: Closed Script info Info 67 [9:48:6.638] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.test.ts 500 Project: WatchType: Closed Script info Info 68 [9:48:6.638] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.ts 500 Project: WatchType: Closed Script info Info 69 [9:48:6.638] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.test.ts 500 Project: WatchType: Closed Script info Info 70 [9:48:6.639] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.ts 500 Project: WatchType: Closed Script info Info 71 [9:48:6.639] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.test.ts 500 Project: WatchType: Closed Script info Info 72 [9:48:6.639] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.ts 500 Project: WatchType: Closed Script info Info 73 [9:48:6.639] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.test.ts 500 Project: WatchType: Closed Script info Info 74 [9:48:6.640] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.ts 500 Project: WatchType: Closed Script info Info 75 [9:48:6.640] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Types.d.ts 500 Project: WatchType: Closed Script info Info 76 [9:48:6.640] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/BufferService.ts 500 Project: WatchType: Closed Script info Info 77 [9:48:6.641] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.test.ts 500 Project: WatchType: Closed Script info Info 78 [9:48:6.641] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.ts 500 Project: WatchType: Closed Script info Info 79 [9:48:6.642] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreService.ts 500 Project: WatchType: Closed Script info Info 80 [9:48:6.642] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/DirtyRowService.ts 500 Project: WatchType: Closed Script info Info 81 [9:48:6.642] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/InstantiationService.ts 500 Project: WatchType: Closed Script info Info 82 [9:48:6.642] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/LogService.ts 500 Project: WatchType: Closed Script info Info 83 [9:48:6.643] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/OptionsService.ts 500 Project: WatchType: Closed Script info Info 84 [9:48:6.643] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/ServiceRegistry.ts 500 Project: WatchType: Closed Script info Info 85 [9:48:6.643] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/Services.ts 500 Project: WatchType: Closed Script info Info 86 [9:48:6.644] Starting updateGraphWorker: Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 87 [9:48:6.684] DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 88 [9:48:6.685] Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 89 [9:48:6.887] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common 0 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 90 [9:48:6.888] Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common 0 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 91 [9:48:7.13] DirectoryWatcher:: Added:: WatchInfo: /applications/visual studio code - insiders.app/contents/resources/app/extensions/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 92 [9:48:7.13] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /applications/visual studio code - insiders.app/contents/resources/app/extensions/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 93 [9:48:7.374] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 94 [9:48:7.374] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 95 [9:48:7.374] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 96 [9:48:7.374] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 97 [9:48:7.375] Finishing updateGraphWorker: Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Version: 1 structureChanged: true Elapsed: 731ms Info 98 [9:48:7.375] Project '/Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json' (Configured) Info 99 [9:48:7.375] Files (68) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.core.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.collection.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.generator.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.iterable.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.promise.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.proxy.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.reflect.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.d.ts /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/chai/index.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Platform.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/ServiceRegistry.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/Services.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/OptionsService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Constants.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/AttributeData.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/CellData.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Marker.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/data/Charsets.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TestUtils.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/data/EscapeSequences.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.test.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/utf8/index.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Constants.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/BufferService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/DirtyRowService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/InstantiationService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/LogService.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/mocha/index.d.ts |
#32028 didn't help, tsserver log for that: Info 0 [9:50:43.961] Starting TS Server Info 1 [9:50:43.962] Version: 3.7.0-insiders.20190906 Info 2 [9:50:43.962] Arguments: /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper.app/Contents/MacOS/Code - Insiders Helper /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/qp/2jw84z9n14ggbylqzf710v3w0000gn/T/vscode-typescript501/ac76aa6318dd1c3617c9/tscancellation-b420e9c167cd244e0860.tmp* --logVerbosity verbose --logFile /Users/daimms/Library/Application Support/Code - Insiders/logs/20190912T111112/exthost2/vscode.typescript-language-features/tsserver-log-j3X1ES/tsserver.log --globalPlugins typescript-tslint-plugin --pluginProbeLocations /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation Info 3 [9:50:43.962] Platform: darwin NodeVersion: 10 CaseSensitive: false Info 4 [9:50:43.965] Binding... Info 5 [9:50:43.973] request: {"seq":0,"type":"request","command":"configure","arguments":{"hostInfo":"vscode","preferences":{"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true}}} Info 6 [9:50:43.973] Host information vscode Info 7 [9:50:43.974] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true} Perf 8 [9:50:43.975] 0::configure: async elapsed time (in milliseconds) 2.0077 Info 9 [9:50:43.975] request: {"seq":1,"type":"request","command":"compilerOptionsForInferredProjects","arguments":{"options":{"module":"commonjs","target":"es2016","jsx":"preserve","allowJs":true,"allowSyntheticDefaultImports":true,"allowNonTsExtensions":true}}} Info 10 [9:50:43.976] Scheduled: *ensureProjectForOpenFiles* Perf 11 [9:50:43.976] 1::compilerOptionsForInferredProjects: elapsed time (in milliseconds) 0.9087 Info 12 [9:50:43.976] response: {"seq":0,"type":"response","command":"compilerOptionsForInferredProjects","request_seq":1,"success":true,"body":true} Info 13 [9:50:43.977] event: {"seq":0,"type":"event","event":"typingsInstallerPid","body":{"pid":661}} Info 14 [9:50:43.977] request: {"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"/Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts","fileContent":"/**\n * Copyright (c) 2014 The xterm.js authors. All rights reserved.\n * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)\n * @license MIT\n */\n\nimport { IKeyboardEvent, IKeyboardResult, KeyboardResultType } from 'common/Types';\nimport { C0 } from 'common/data/EscapeSequences';\n\n// reg + shift key mappings for digits and special chars\nconst KEYCODE_KEY_MAPPINGS: { [key: number]: [string, string]} = {\n // digits 0-9\n 48: ['0', ')'],\n 49: ['1', '!'],\n 50: ['2', '@'],\n 51: ['3', '#'],\n 52: ['4', '$'],\n 53: ['5', '%'],\n 54: ['6', '^'],\n 55: ['7', '&'],\n 56: ['8', '*'],\n 57: ['9', '('],\n\n // special chars\n 186: [';', ':'],\n 187: ['=', '+'],\n 188: [',', '<'],\n 189: ['-', '_'],\n 190: ['.', '>'],\n 191: ['/', '?'],\n 192: ['`', '~'],\n 219: ['[', '{'],\n 220: ['\\\\', '|'],\n 221: [']', '}'],\n 222: ['\\'', '\"']\n};\n\nexport function evaluateKeyboardEvent(\n ev: IKeyboardEvent,\n applicationCursorMode: boolean,\n isMac: boolean,\n macOptionIsMeta: boolean\n): IKeyboardResult {\n const result: IKeyboardResult = {\n type: KeyboardResultType.SEND_KEY,\n // Whether to cancel event propagation (NOTE: this may not be needed since the event is\n // canceled at the end of keyDown\n cancel: false,\n // The new key even to emit\n key: undefined\n };\n const modifiers = (ev.shiftKey ? 1 : 0) | (ev.altKey ? 2 : 0) | (ev.ctrlKey ? 4 : 0) | (ev.metaKey ? 8 : 0);\n switch (ev.keyCode) {\n case 0:\n if (ev.key === 'UIKeyInputUpArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OA';\n } else {\n result.key = C0.ESC + '[A';\n }\n }\n else if (ev.key === 'UIKeyInputLeftArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OD';\n } else {\n result.key = C0.ESC + '[D';\n }\n }\n else if (ev.key === 'UIKeyInputRightArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OC';\n } else {\n result.key = C0.ESC + '[C';\n }\n }\n else if (ev.key === 'UIKeyInputDownArrow') {\n if (applicationCursorMode) {\n result.key = C0.ESC + 'OB';\n } else {\n result.key = C0.ESC + '[B';\n }\n }\n break;\n case 8:\n // backspace\n if (ev.shiftKey) {\n result.key = C0.BS; // ^H\n break;\n } else if (ev.altKey) {\n result.key = C0.ESC + C0.DEL; // \\e ^?\n break;\n }\n result.key = C0.DEL; // ^?\n break;\n case 9:\n // tab\n if (ev.shiftKey) {\n result.key = C0.ESC + '[Z';\n break;\n }\n result.key = C0.HT;\n result.cancel = true;\n break;\n case 13:\n // return/enter\n result.key = C0.CR;\n result.cancel = true;\n break;\n case 27:\n // escape\n result.key = C0.ESC;\n result.cancel = true;\n break;\n case 37:\n // left-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'D';\n // HACK: Make Alt + left-arrow behave like Ctrl + left-arrow: move one word backwards\n // http://unix.stackexchange.com/a/108106\n // macOS uses different escape sequences than linux\n if (result.key === C0.ESC + '[1;3D') {\n result.key = isMac ? C0.ESC + 'b' : C0.ESC + '[1;5D';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OD';\n } else {\n result.key = C0.ESC + '[D';\n }\n break;\n case 39:\n // right-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'C';\n // HACK: Make Alt + right-arrow behave like Ctrl + right-arrow: move one word forward\n // http://unix.stackexchange.com/a/108106\n // macOS uses different escape sequences than linux\n if (result.key === C0.ESC + '[1;3C') {\n result.key = isMac ? C0.ESC + 'f' : C0.ESC + '[1;5C';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OC';\n } else {\n result.key = C0.ESC + '[C';\n }\n break;\n case 38:\n // up-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'A';\n // HACK: Make Alt + up-arrow behave like Ctrl + up-arrow\n // http://unix.stackexchange.com/a/108106\n if (result.key === C0.ESC + '[1;3A') {\n result.key = C0.ESC + '[1;5A';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OA';\n } else {\n result.key = C0.ESC + '[A';\n }\n break;\n case 40:\n // down-arrow\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'B';\n // HACK: Make Alt + down-arrow behave like Ctrl + down-arrow\n // http://unix.stackexchange.com/a/108106\n if (result.key === C0.ESC + '[1;3B') {\n result.key = C0.ESC + '[1;5B';\n }\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OB';\n } else {\n result.key = C0.ESC + '[B';\n }\n break;\n case 45:\n // insert\n if (!ev.shiftKey && !ev.ctrlKey) {\n // or + are used to\n // copy-paste on some systems.\n result.key = C0.ESC + '[2~';\n }\n break;\n case 46:\n // delete\n if (modifiers) {\n result.key = C0.ESC + '[3;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[3~';\n }\n break;\n case 36:\n // home\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'H';\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OH';\n } else {\n result.key = C0.ESC + '[H';\n }\n break;\n case 35:\n // end\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'F';\n } else if (applicationCursorMode) {\n result.key = C0.ESC + 'OF';\n } else {\n result.key = C0.ESC + '[F';\n }\n break;\n case 33:\n // page up\n if (ev.shiftKey) {\n result.type = KeyboardResultType.PAGE_UP;\n } else {\n result.key = C0.ESC + '[5~';\n }\n break;\n case 34:\n // page down\n if (ev.shiftKey) {\n result.type = KeyboardResultType.PAGE_DOWN;\n } else {\n result.key = C0.ESC + '[6~';\n }\n break;\n case 112:\n // F1-F12\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'P';\n } else {\n result.key = C0.ESC + 'OP';\n }\n break;\n case 113:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'Q';\n } else {\n result.key = C0.ESC + 'OQ';\n }\n break;\n case 114:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'R';\n } else {\n result.key = C0.ESC + 'OR';\n }\n break;\n case 115:\n if (modifiers) {\n result.key = C0.ESC + '[1;' + (modifiers + 1) + 'S';\n } else {\n result.key = C0.ESC + 'OS';\n }\n break;\n case 116:\n if (modifiers) {\n result.key = C0.ESC + '[15;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[15~';\n }\n break;\n case 117:\n if (modifiers) {\n result.key = C0.ESC + '[17;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[17~';\n }\n break;\n case 118:\n if (modifiers) {\n result.key = C0.ESC + '[18;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[18~';\n }\n break;\n case 119:\n if (modifiers) {\n result.key = C0.ESC + '[19;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[19~';\n }\n break;\n case 120:\n if (modifiers) {\n result.key = C0.ESC + '[20;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[20~';\n }\n break;\n case 121:\n if (modifiers) {\n result.key = C0.ESC + '[21;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[21~';\n }\n break;\n case 122:\n if (modifiers) {\n result.key = C0.ESC + '[23;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[23~';\n }\n break;\n case 123:\n if (modifiers) {\n result.key = C0.ESC + '[24;' + (modifiers + 1) + '~';\n } else {\n result.key = C0.ESC + '[24~';\n }\n break;\n default:\n // a-z and space\n if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey) {\n if (ev.keyCode >= 65 && ev.keyCode <= 90) {\n result.key = String.fromCharCode(ev.keyCode - 64);\n } else if (ev.keyCode === 32) {\n // NUL\n result.key = String.fromCharCode(0);\n } else if (ev.keyCode >= 51 && ev.keyCode <= 55) {\n // escape, file sep, group sep, record sep, unit sep\n result.key = String.fromCharCode(ev.keyCode - 51 + 27);\n } else if (ev.keyCode === 56) {\n // delete\n result.key = String.fromCharCode(127);\n } else if (ev.keyCode === 219) {\n // ^[ - Control Sequence Introducer (CSI)\n result.key = String.fromCharCode(27);\n } else if (ev.keyCode === 220) {\n // ^\\ - String Terminator (ST)\n result.key = String.fromCharCode(28);\n } else if (ev.keyCode === 221) {\n // ^] - Operating System Command (OSC)\n result.key = String.fromCharCode(29);\n }\n } else if ((!isMac || macOptionIsMeta) && ev.altKey && !ev.metaKey) {\n // On macOS this is a third level shift when !macOptionIsMeta. Use instead.\n const keyMapping = KEYCODE_KEY_MAPPINGS[ev.keyCode];\n const key = keyMapping && keyMapping[!ev.shiftKey ? 0 : 1];\n if (key) {\n result.key = C0.ESC + key;\n } else if (ev.keyCode >= 65 && ev.keyCode <= 90) {\n const keyCode = ev.ctrlKey ? ev.keyCode - 64 : ev.keyCode + 32;\n result.key = C0.ESC + String.fromCharCode(keyCode);\n }\n } else if (isMac && !ev.altKey && !ev.ctrlKey && ev.metaKey) {\n if (ev.keyCode === 65) { // cmd + a\n result.type = KeyboardResultType.SELECT_ALL;\n }\n } else if (ev.key && !ev.ctrlKey && !ev.altKey && !ev.metaKey && ev.keyCode >= 48 && ev.key.length === 1) {\n // Include only keys that that result in a _single_ character; don't include num lock, volume up, etc.\n result.key = ev.key;\n } else if (ev.key && ev.ctrlKey) {\n if (ev.key === '_') { // ^_\n result.key = C0.US;\n }\n }\n break;\n }\n\n return result;\n}\n","scriptKindName":"TS","projectRootPath":"/Users/daimms/dev/Tyriar/xterm.js"}]}} Info 15 [9:50:43.979] Search path: /Users/daimms/dev/Tyriar/xterm.js/src/common/input Info 16 [9:50:43.979] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 17 [9:50:43.979] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/jsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 18 [9:50:43.979] ConfigFilePresence:: Current Watches: :: File: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Currently impacted open files: RootsOfInferredProjects: OtherOpenFiles: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts Status: File added to open files impacted by this config file Info 19 [9:50:43.979] For info: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts :: Config file name: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 20 [9:50:43.980] Opened configuration file /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 21 [9:50:43.981] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json 2000 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Config file Info 22 [9:50:43.982] event: {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json","reason":"Creating possible configured project for /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts to open"}} Info 23 [9:50:44.5] Config: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json : { "rootNames": [ "/Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Platform.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/TestUtils.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/Types.d.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/AttributeData.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/CellData.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Constants.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Marker.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Types.d.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/data/Charsets.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/data/EscapeSequences.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Constants.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Types.d.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/BufferService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.test.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/DirtyRowService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/InstantiationService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/LogService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/OptionsService.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/ServiceRegistry.ts", "/Users/daimms/dev/Tyriar/xterm.js/src/common/services/Services.ts" ], "options": { "target": 1, "lib": [ "lib.es2015.d.ts" ], "rootDir": "/Users/daimms/dev/Tyriar/xterm.js/src", "sourceMap": true, "removeComments": true, "pretty": true, "incremental": true, "composite": true, "strict": true, "declarationMap": true, "experimentalDecorators": true, "outDir": "/Users/daimms/dev/Tyriar/xterm.js/out", "types": [ "../../node_modules/@types/mocha" ], "baseUrl": "/Users/daimms/dev/Tyriar/xterm.js/src", "configFilePath": "/Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json" } } Info 24 [9:50:44.6] DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/src/common 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Wild card directory Info 25 [9:50:44.8] Elapsed:: 2ms DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/src/common 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Wild card directory Info 26 [9:50:44.8] Loading global plugin typescript-tslint-plugin Info 27 [9:50:44.8] Enabling plugin typescript-tslint-plugin from candidate paths: /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/tsserver.js/../../..,/Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 Info 28 [9:50:44.8] Loading typescript-tslint-plugin from /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/tsserver.js/../../.. (resolved to /Users/daimms/dev/Tyriar/xterm.js/node_modules/node_modules) Info 29 [9:50:44.22] Loading typescript-tslint-plugin from /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2 (resolved to /Users/daimms/.vscode-insiders/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.2.2/node_modules) Info 30 [9:50:44.59] [typescript-tslint-plugin] "Create" Info 31 [9:50:44.59] [typescript-tslint-plugin] "ConfigurationManager: Found configured project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json" Info 32 [9:50:44.59] [typescript-tslint-plugin] "loaded" Info 33 [9:50:44.60] Plugin validation succeded Info 34 [9:50:44.61] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.test.ts 500 Project: WatchType: Closed Script info Info 35 [9:50:44.61] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.ts 500 Project: WatchType: Closed Script info Info 36 [9:50:44.62] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.test.ts 500 Project: WatchType: Closed Script info Info 37 [9:50:44.62] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.ts 500 Project: WatchType: Closed Script info Info 38 [9:50:44.62] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.test.ts 500 Project: WatchType: Closed Script info Info 39 [9:50:44.62] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.ts 500 Project: WatchType: Closed Script info Info 40 [9:50:44.63] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.test.ts 500 Project: WatchType: Closed Script info Info 41 [9:50:44.63] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.ts 500 Project: WatchType: Closed Script info Info 42 [9:50:44.63] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.test.ts 500 Project: WatchType: Closed Script info Info 43 [9:50:44.63] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.ts 500 Project: WatchType: Closed Script info Info 44 [9:50:44.64] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Platform.ts 500 Project: WatchType: Closed Script info Info 45 [9:50:44.64] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TestUtils.test.ts 500 Project: WatchType: Closed Script info Info 46 [9:50:44.64] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.test.ts 500 Project: WatchType: Closed Script info Info 47 [9:50:44.65] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.ts 500 Project: WatchType: Closed Script info Info 48 [9:50:44.65] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/Types.d.ts 500 Project: WatchType: Closed Script info Info 49 [9:50:44.65] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/AttributeData.ts 500 Project: WatchType: Closed Script info Info 50 [9:50:44.65] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.test.ts 500 Project: WatchType: Closed Script info Info 51 [9:50:44.66] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.ts 500 Project: WatchType: Closed Script info Info 52 [9:50:44.66] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.test.ts 500 Project: WatchType: Closed Script info Info 53 [9:50:44.66] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.ts 500 Project: WatchType: Closed Script info Info 54 [9:50:44.67] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.test.ts 500 Project: WatchType: Closed Script info Info 55 [9:50:44.67] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.ts 500 Project: WatchType: Closed Script info Info 56 [9:50:44.67] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.test.ts 500 Project: WatchType: Closed Script info Info 57 [9:50:44.67] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.ts 500 Project: WatchType: Closed Script info Info 58 [9:50:44.68] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/CellData.ts 500 Project: WatchType: Closed Script info Info 59 [9:50:44.68] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Constants.ts 500 Project: WatchType: Closed Script info Info 60 [9:50:44.68] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Marker.ts 500 Project: WatchType: Closed Script info Info 61 [9:50:44.69] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Types.d.ts 500 Project: WatchType: Closed Script info Info 62 [9:50:44.69] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/data/Charsets.ts 500 Project: WatchType: Closed Script info Info 63 [9:50:44.70] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/data/EscapeSequences.ts 500 Project: WatchType: Closed Script info Info 64 [9:50:44.70] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.test.ts 500 Project: WatchType: Closed Script info Info 65 [9:50:44.71] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.test.ts 500 Project: WatchType: Closed Script info Info 66 [9:50:44.71] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.ts 500 Project: WatchType: Closed Script info Info 67 [9:50:44.72] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Constants.ts 500 Project: WatchType: Closed Script info Info 68 [9:50:44.72] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.test.ts 500 Project: WatchType: Closed Script info Info 69 [9:50:44.72] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.ts 500 Project: WatchType: Closed Script info Info 70 [9:50:44.73] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.test.ts 500 Project: WatchType: Closed Script info Info 71 [9:50:44.73] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.ts 500 Project: WatchType: Closed Script info Info 72 [9:50:44.73] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.test.ts 500 Project: WatchType: Closed Script info Info 73 [9:50:44.74] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.ts 500 Project: WatchType: Closed Script info Info 74 [9:50:44.74] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.test.ts 500 Project: WatchType: Closed Script info Info 75 [9:50:44.74] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.ts 500 Project: WatchType: Closed Script info Info 76 [9:50:44.75] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Types.d.ts 500 Project: WatchType: Closed Script info Info 77 [9:50:44.75] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/BufferService.ts 500 Project: WatchType: Closed Script info Info 78 [9:50:44.75] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.test.ts 500 Project: WatchType: Closed Script info Info 79 [9:50:44.75] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.ts 500 Project: WatchType: Closed Script info Info 80 [9:50:44.76] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreService.ts 500 Project: WatchType: Closed Script info Info 81 [9:50:44.76] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/DirtyRowService.ts 500 Project: WatchType: Closed Script info Info 82 [9:50:44.76] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/InstantiationService.ts 500 Project: WatchType: Closed Script info Info 83 [9:50:44.77] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/LogService.ts 500 Project: WatchType: Closed Script info Info 84 [9:50:44.77] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/OptionsService.ts 500 Project: WatchType: Closed Script info Info 85 [9:50:44.77] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/ServiceRegistry.ts 500 Project: WatchType: Closed Script info Info 86 [9:50:44.77] FileWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/services/Services.ts 500 Project: WatchType: Closed Script info Info 87 [9:50:44.78] Starting updateGraphWorker: Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Info 88 [9:50:44.116] DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 89 [9:50:44.116] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /users/daimms/dev/tyriar/xterm.js/node_modules 1 Project: WatchType: node_modules for closed script infos in them Info 90 [9:50:44.314] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common 0 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 91 [9:50:44.315] Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common 0 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 92 [9:50:44.737] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 93 [9:50:44.737] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 94 [9:50:44.738] DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 95 [9:50:44.738] Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /Users/daimms/dev/Tyriar/xterm.js/src/common/parser 1 Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json WatchType: Failed Lookup Locations Info 96 [9:50:44.738] Finishing updateGraphWorker: Project: /Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json Version: 1 structureChanged: true Elapsed: 660ms Info 97 [9:50:44.738] Project '/Users/daimms/dev/Tyriar/xterm.js/src/common/tsconfig.json' (Configured) Info 98 [9:50:44.738] Files (68) /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es5.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.core.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.collection.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.generator.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.iterable.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.promise.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.proxy.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.reflect.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.symbol.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/chai/index.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CharWidth.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/CircularList.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Clone.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/EventEmitter.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Lifecycle.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/Platform.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/ServiceRegistry.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/Services.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/OptionsService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Constants.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/AttributeData.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/CellData.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Marker.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/data/Charsets.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TestUtils.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/TypedArrayUtils.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/Buffer.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferLine.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferReflow.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/buffer/BufferSet.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/data/EscapeSequences.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/Keyboard.test.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/utf8/index.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/input/TextDecoder.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Constants.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Types.d.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/DcsParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/EscapeSequenceParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/OscParser.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/parser/Params.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/BufferService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreMouseService.test.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/CoreService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/DirtyRowService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/InstantiationService.ts /Users/daimms/dev/Tyriar/xterm.js/src/common/services/LogService.ts /Users/daimms/dev/Tyriar/xterm.js/node_modules/@types/mocha/index.d.ts |
Did you miss attaching the log.. I don't see any log. |
@sheetalkamat click the "> Details" |
@Tyriar I don't see any other project being open that can be looked up.. Eg. I think if you open one of the file that references the file from the project that's currently open, tsserver would find the references correctly. At moment it does not lookup at any project other than already opened projects or the projects they reference if the definition falls into the referenced projects. However I have #33287 which is on top of #32028 that will walk to find solution like files and load those projects when finding references. Can you please try out the drop from it and see if that helps. Also please share the log from this drop and your directory structure where the usage should have been located if that doesn't work. Thanks. |
@sheetalkamat here are steps to reproduce the issue:
|
@sheetalkamat even if both files are open, the refs differ depending on where you start the search: Is it because the leaf-node projects aren't looking for downstream references or something? |
Not finding references of usage in When using typescript@next (without any changes to project) working correctly. |
@Tyriar I definitely see that #33287 helps with your expectation to find reference in terminal.ts even when it is not yet opened yet when you look for reference in keyboard.ts. Its a work in progress and so surely not in 3.7 but could be in 3.8 PS: I am investigating why we see different behavior with declaration maps |
@sheetalkamat that looks good, seems a little slow though. Once this is done the first time will is cache the project so successive requests are fast? |
yes.. its loading those projects... (so its like initial time to open file from each project that's loaded as part of that I think in your case its two projects, browser and src itself, ) |
So the issue seems to be |
…e name but program contains instead its d.ts Fixes #33323
TypeScript Version: 3.6.2
Search Terms: declarationMap
Code
Finding references here:
https://github.com/xtermjs/xterm.js/blob/91691085f666a712b268bf74b90d6684e1829b16/src/common/input/Keyboard.ts#L38
Expected behavior:
Should find the reference in Terminal.ts because
declarationMap
istrue
. Here is find all references from the declaration file which is what I expect when using it on the implementation:Actual behavior:
It doesn't find outside of the
common
project:This is one of the issues that must be fixed before I would recommend adopting project references inside VS Code.
The text was updated successfully, but these errors were encountered: