Created
July 22, 2021 07:41
-
-
Save dwhenson/a5054fc82e54d35d339b2f1f9a78b639 to your computer and use it in GitHub Desktop.
LSP Logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: --> LSP-typescript initialize(1): {'capabilities': {'general': {'regularExpressions': {'engine': 'ECMAScript'}, 'markdown': {'version': '3.2.2', 'parser': 'Python-Markdown'}}, 'workspace': {'workspaceEdit': {'documentChanges': True, 'failureHandling': 'abort'}, 'executeCommand': {}, 'applyEdit': True, 'workspaceFolders': True, 'configuration': True, 'symbol': {'dynamicRegistration': True, 'tagSupport': {'valueSet': [1]}, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}}, 'didChangeConfiguration': {'dynamicRegistration': True}}, 'experimental': {}, 'textDocument': {'declaration': {'dynamicRegistration': True, 'linkSupport': True}, 'synchronization': {'dynamicRegistration': True, 'willSave': True, 'willSaveWaitUntil': True, 'didSave': True}, 'publishDiagnostics': {'relatedInformation': True, 'tagSupport': {'valueSet': [1, 2]}, 'versionSupport': True, 'codeDescriptionSupport': True, 'dataSupport': True}, 'documentHighlight': {'dynamicRegistration': True}, 'selectionRange': {'dynamicRegistration': True}, 'references': {'dynamicRegistration': True}, 'hover': {'dynamicRegistration': True, 'contentFormat': ['markdown', 'plaintext']}, 'documentSymbol': {'dynamicRegistration': True, 'tagSupport': {'valueSet': [1]}, 'hierarchicalDocumentSymbolSupport': True, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}}, 'rename': {'dynamicRegistration': True, 'prepareSupport': True}, 'codeAction': {'dynamicRegistration': True, 'codeActionLiteralSupport': {'codeActionKind': {'valueSet': ['quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source.organizeImports']}}, 'resolveSupport': {'properties': ['edit']}, 'dataSupport': True}, 'codeLens': {'dynamicRegistration': True}, 'typeDefinition': {'dynamicRegistration': True, 'linkSupport': True}, 'implementation': {'dynamicRegistration': True, 'linkSupport': True}, 'colorProvider': {'dynamicRegistration': True}, 'rangeFormatting': {'dynamicRegistration': True}, 'formatting': {'dynamicRegistration': True}, 'signatureHelp': {'dynamicRegistration': True, 'signatureInformation': {'parameterInformation': {'labelOffsetSupport': True}, 'documentationFormat': ['markdown', 'plaintext']}}, 'definition': {'dynamicRegistration': True, 'linkSupport': True}, 'completion': {'dynamicRegistration': True, 'completionItemKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}, 'completionItem': {'tagSupport': {'valueSet': [1]}, 'snippetSupport': True, 'deprecatedSupport': True, 'resolveSupport': {'properties': ['detail', 'documentation', 'additionalTextEdits']}, 'documentationFormat': ['markdown', 'plaintext']}}}, 'window': {'workDoneProgress': True, 'showDocument': {'support': True}, 'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}}}, 'rootPath': '/Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA', 'initializationOptions': {}, 'processId': 7019, 'rootUri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA', 'workspaceFolders': [{'name': 'vanilla-JSA', 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA'}, {'name': 'Projects', 'uri': 'file:///Users/hensond/Library/Application%20Support/Sublime%20Text/Packages/User/Projects'}], 'clientInfo': {'name': 'Sublime Text LSP', 'version': '1.7.0'}} | |
:: <<< LSP-typescript 1: {'capabilities': {'referencesProvider': True, 'executeCommandProvider': {'commands': ['_typescript.applyWorkspaceEdit', '_typescript.applyCodeAction', '_typescript.applyRefactoring', '_typescript.organizeImports', '_typescript.applyRenameFile']}, 'completionProvider': {'resolveProvider': True, 'triggerCharacters': ['.', '"', "'", '/', '@', '<']}, 'documentSymbolProvider': True, 'hoverProvider': True, 'documentFormattingProvider': True, 'implementationProvider': True, 'foldingRangeProvider': True, 'codeActionProvider': True, 'documentHighlightProvider': True, 'workspaceSymbolProvider': True, 'callsProvider': True, 'documentRangeFormattingProvider': True, 'signatureHelpProvider': {'triggerCharacters': ['(', ',', '<']}, 'typeDefinitionProvider': True, 'renameProvider': True, 'textDocumentSync': {'change': {'syncKind': 2}, 'didClose': {}, 'save': {}, 'didOpen': {}}, 'definitionProvider': True}} | |
:: -> LSP-typescript initialized: {} | |
:: -> LSP-typescript textDocument/didOpen: {'textDocument': {'languageId': 'literals', 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js', 'version': 0, 'text': '/**\n * Adds user defined units of time to an original time, and formats the result\n * @return {objects} Values from utility functions\n */\nconst Stamp = (function () {\n function Constructor(timestamp) {\n this.timestamp = date ? new Date(date).getTime() : new Date().getTime();\n }\n\n Constructor.prototype.times = {\n hours: 1000 * 60 * 60,\n days: 1000 * 60 * 60 * 24,\n weeks: 1000 * 60 * 60 * 24 * 7,\n months: 1000 * 60 * 60 * 24 * 30,\n years: 1000 * 60 * 60 * 24 * 365,\n };\n\n /**\n * Adds a number of units of time to a timestamp\n * @param {number} timestamp The timestamp\n * @param {number} number The number of units to add\n * @return {number} The combined timestamp and units * milliseconds\n */\n Constructor.prototype.addHours = function (n = 1) {\n return this.timestamp + n * this.times.hours;\n };\n Constructor.prototype.addDays = function (n = 1) {\n return this.timestamp + n * this.times.days;\n };\n Constructor.prototype.addWeeks = function (n = 1) {\n return this.timestamp + n * this.times.weeks;\n };\n Constructor.prototype.addYears = function (n = 1) { \n return this.timestamp + n * this.times.years;\n };\n\n /**\n * Converts timestamp from ms to default or user defined date formats\n * @param {number} timestamp The timestamp\n * @param {object} [options={}] The user options\n * @return {string} The date as a string\n */\n Constructor.prototype.formatTimestamp = function () {\n const defaults = {\n hour12: true,\n timeStyle: "short",\n dateStyle: "medium",\n };\n // const format = { ...defaults, ...options };\n return new Date(this.timeAdjust).toLocaleString(navigator.language, defaults);\n };\n\n return Constructor;\n})();\n\nconst now = new Stamp();\nconst inOneHour = now.addDays();\n// const inTwoWeeks = now.addWeeks(2);\n// const inFourYears = now.addYears(3);\n// const inTwoWeeksDate = new Stamp(inTwoWeeks).formatTimestamp();\n// const inTwoYearsDate = now.formatTimestamp(inFourYears);\n'}} | |
:: --> LSP-eslint initialize(1): {'capabilities': {'general': {'regularExpressions': {'engine': 'ECMAScript'}, 'markdown': {'version': '3.2.2', 'parser': 'Python-Markdown'}}, 'workspace': {'workspaceEdit': {'documentChanges': True, 'failureHandling': 'abort'}, 'executeCommand': {}, 'applyEdit': True, 'workspaceFolders': True, 'configuration': True, 'symbol': {'dynamicRegistration': True, 'tagSupport': {'valueSet': [1]}, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}}, 'didChangeConfiguration': {'dynamicRegistration': True}}, 'experimental': {}, 'textDocument': {'declaration': {'dynamicRegistration': True, 'linkSupport': True}, 'synchronization': {'dynamicRegistration': True, 'willSave': True, 'willSaveWaitUntil': True, 'didSave': True}, 'publishDiagnostics': {'relatedInformation': True, 'tagSupport': {'valueSet': [1, 2]}, 'versionSupport': True, 'codeDescriptionSupport': True, 'dataSupport': True}, 'documentHighlight': {'dynamicRegistration': True}, 'selectionRange': {'dynamicRegistration': True}, 'references': {'dynamicRegistration': True}, 'hover': {'dynamicRegistration': True, 'contentFormat': ['markdown', 'plaintext']}, 'documentSymbol': {'dynamicRegistration': True, 'tagSupport': {'valueSet': [1]}, 'hierarchicalDocumentSymbolSupport': True, 'symbolKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]}}, 'rename': {'dynamicRegistration': True, 'prepareSupport': True}, 'codeAction': {'dynamicRegistration': True, 'codeActionLiteralSupport': {'codeActionKind': {'valueSet': ['quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source.organizeImports']}}, 'resolveSupport': {'properties': ['edit']}, 'dataSupport': True}, 'codeLens': {'dynamicRegistration': True}, 'typeDefinition': {'dynamicRegistration': True, 'linkSupport': True}, 'implementation': {'dynamicRegistration': True, 'linkSupport': True}, 'colorProvider': {'dynamicRegistration': True}, 'rangeFormatting': {'dynamicRegistration': True}, 'formatting': {'dynamicRegistration': True}, 'signatureHelp': {'dynamicRegistration': True, 'signatureInformation': {'parameterInformation': {'labelOffsetSupport': True}, 'documentationFormat': ['markdown', 'plaintext']}}, 'definition': {'dynamicRegistration': True, 'linkSupport': True}, 'completion': {'dynamicRegistration': True, 'completionItemKind': {'valueSet': [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]}, 'completionItem': {'tagSupport': {'valueSet': [1]}, 'snippetSupport': True, 'deprecatedSupport': True, 'resolveSupport': {'properties': ['detail', 'documentation', 'additionalTextEdits']}, 'documentationFormat': ['markdown', 'plaintext']}}}, 'window': {'workDoneProgress': True, 'showDocument': {'support': True}, 'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}}}, 'rootPath': '/Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA', 'initializationOptions': {}, 'processId': 7019, 'rootUri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA', 'workspaceFolders': [{'name': 'vanilla-JSA', 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA'}, {'name': 'Projects', 'uri': 'file:///Users/hensond/Library/Application%20Support/Sublime%20Text/Packages/User/Projects'}], 'clientInfo': {'name': 'Sublime Text LSP', 'version': '1.7.0'}} | |
LSP-eslint: ESLint server running in node v16.4.0 | |
:: <- LSP-eslint window/logMessage: {'type': 3, 'message': 'ESLint server running in node v16.4.0'} | |
:: <<< LSP-eslint 1: {'capabilities': {'workspace': {'workspaceFolders': {'supported': True}}, 'executeCommandProvider': {'commands': ['eslint.applySingleFix', 'eslint.applySuggestion', 'eslint.applySameFixes', 'eslint.applyAllFixes', 'eslint.applyDisableLine', 'eslint.applyDisableFile', 'eslint.openRuleDoc']}, 'textDocumentSync': {'change': {'syncKind': 2}, 'didClose': {}, 'save': {'includeText': False}, 'didOpen': {}}, 'codeActionProvider': {'codeActionKinds': ['quickfix', 'source.fixAll.eslint']}}} | |
:: -> LSP-eslint initialized: {} | |
:: -> LSP-eslint workspace/didChangeConfiguration: {'settings': {'format': False, 'codeActionOnSave': {'mode': 'all', 'enable': True}, 'packageManager': 'npm', 'validate': ['javascript', 'javascriptreact'], 'quiet': False, 'rulesCustomizations': [], 'onIgnoredFiles': 'off', 'nodePath': None, 'codeAction': {'disableRuleComment': {'location': 'separateLine', 'enable': True}, 'showDocumentation': {'enable': True}}, 'options': {}, 'run': 'onType', 'probe': ['javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'html', 'vue', 'markdown']}} | |
:: <-- LSP-eslint client/registerCapability(0): {'registrations': [{'id': '106420dc-4dfd-4dcd-942c-e0c95be41b54', 'registerOptions': {}, 'method': 'workspace/didChangeConfiguration'}]} | |
:: >>> LSP-eslint 0: None | |
:: <-- LSP-eslint client/registerCapability(1): {'registrations': [{'id': 'f9d518c3-7fa7-4d8c-9271-2293c5dd6a3d', 'registerOptions': {}, 'method': 'workspace/didChangeWorkspaceFolders'}]} | |
:: >>> LSP-eslint 1: None | |
:: -> LSP-eslint textDocument/didOpen: {'textDocument': {'languageId': 'literals', 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js', 'version': 0, 'text': '/**\n * Adds user defined units of time to an original time, and formats the result\n * @return {objects} Values from utility functions\n */\nconst Stamp = (function () {\n function Constructor(timestamp) {\n this.timestamp = date ? new Date(date).getTime() : new Date().getTime();\n }\n\n Constructor.prototype.times = {\n hours: 1000 * 60 * 60,\n days: 1000 * 60 * 60 * 24,\n weeks: 1000 * 60 * 60 * 24 * 7,\n months: 1000 * 60 * 60 * 24 * 30,\n years: 1000 * 60 * 60 * 24 * 365,\n };\n\n /**\n * Adds a number of units of time to a timestamp\n * @param {number} timestamp The timestamp\n * @param {number} number The number of units to add\n * @return {number} The combined timestamp and units * milliseconds\n */\n Constructor.prototype.addHours = function (n = 1) {\n return this.timestamp + n * this.times.hours;\n };\n Constructor.prototype.addDays = function (n = 1) {\n return this.timestamp + n * this.times.days;\n };\n Constructor.prototype.addWeeks = function (n = 1) {\n return this.timestamp + n * this.times.weeks;\n };\n Constructor.prototype.addYears = function (n = 1) { \n return this.timestamp + n * this.times.years;\n };\n\n /**\n * Converts timestamp from ms to default or user defined date formats\n * @param {number} timestamp The timestamp\n * @param {object} [options={}] The user options\n * @return {string} The date as a string\n */\n Constructor.prototype.formatTimestamp = function () {\n const defaults = {\n hour12: true,\n timeStyle: "short",\n dateStyle: "medium",\n };\n // const format = { ...defaults, ...options };\n return new Date(this.timeAdjust).toLocaleString(navigator.language, defaults);\n };\n\n return Constructor;\n})();\n\nconst now = new Stamp();\nconst inOneHour = now.addDays();\n// const inTwoWeeks = now.addWeeks(2);\n// const inFourYears = now.addYears(3);\n// const inTwoWeeksDate = new Stamp(inTwoWeeks).formatTimestamp();\n// const inTwoYearsDate = now.formatTimestamp(inFourYears);\n'}} | |
:: <-- LSP-eslint workspace/configuration(2): {'items': [{'scopeUri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js', 'section': ''}]} | |
:: >>> LSP-eslint 2: [{'format': False, 'codeActionOnSave': {'mode': 'all', 'enable': True}, 'packageManager': 'npm', 'validate': 'off', 'quiet': False, 'rulesCustomizations': [], 'onIgnoredFiles': 'off', 'nodePath': None, 'codeAction': {'disableRuleComment': {'location': 'separateLine', 'enable': True}, 'showDocumentation': {'enable': True}}, 'options': {}, 'run': 'onType', 'workspaceFolder': {'name': 'vanilla-JSA', 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA'}}] | |
LSP-typescript: [tsserver] /bin/sh: /usr/local/Cellar/node/16.4.0/bin/npm: No such file or directory | |
:: <- LSP-typescript window/logMessage: {'type': 1, 'message': '[tsserver] /bin/sh: /usr/local/Cellar/node/16.4.0/bin/npm: No such file or directory\n'} | |
:: --> LSP-typescript textDocument/documentHighlight(2): {'textDocument': {'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'}, 'position': {'character': 49, 'line': 33}} | |
:: --> LSP-eslint textDocument/codeAction(2): {'context': {'diagnostics': []}, 'textDocument': {'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'}, 'range': {'end': {'character': 49, 'line': 33}, 'start': {'character': 49, 'line': 33}}} | |
:: <<< LSP-eslint 2: [] | |
:: <<< LSP-typescript 2: [] | |
:: <- LSP-typescript textDocument/publishDiagnostics: {'diagnostics': [], 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'} | |
:: <- LSP-typescript textDocument/publishDiagnostics: {'diagnostics': [{'severity': 4, 'code': 80002, 'range': {'end': {'character': 22, 'line': 5}, 'start': {'character': 11, 'line': 5}}, 'source': 'typescript', 'message': 'This constructor function may be converted to a class declaration.'}, {'severity': 4, 'code': 6133, 'range': {'end': {'character': 32, 'line': 5}, 'start': {'character': 23, 'line': 5}}, 'source': 'typescript', 'message': "'timestamp' is declared but its value is never read."}], 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'} | |
:: <- LSP-typescript textDocument/publishDiagnostics: {'diagnostics': [{'severity': 4, 'code': 80002, 'range': {'end': {'character': 22, 'line': 5}, 'start': {'character': 11, 'line': 5}}, 'source': 'typescript', 'message': 'This constructor function may be converted to a class declaration.'}, {'severity': 4, 'code': 6133, 'range': {'end': {'character': 32, 'line': 5}, 'start': {'character': 23, 'line': 5}}, 'source': 'typescript', 'message': "'timestamp' is declared but its value is never read."}], 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'} | |
:: <- LSP-typescript textDocument/publishDiagnostics: {'diagnostics': [{'severity': 4, 'code': 80002, 'range': {'end': {'character': 22, 'line': 5}, 'start': {'character': 11, 'line': 5}}, 'source': 'typescript', 'message': 'This constructor function may be converted to a class declaration.'}, {'severity': 4, 'code': 6133, 'range': {'end': {'character': 32, 'line': 5}, 'start': {'character': 23, 'line': 5}}, 'source': 'typescript', 'message': "'timestamp' is declared but its value is never read."}], 'uri': 'file:///Users/hensond/Documents/Development/vanilla-JS/vanilla-JSA/app.js'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment