-
-
Notifications
You must be signed in to change notification settings - Fork 962
Open
Labels
Description
Thank you for the bug report
- I am using the latest version of
lsp-moderelated packages. - I checked FAQ and Troubleshooting sections
- You may also try reproduce the issue using clean environment using the following command:
M-x lsp-start-plain
Bug description
Environment
- Emacs version: GNU Emacs (native-comp, latest stable)
- Packages:
corfu(latest) +lsp-mode(latest) +lsp-pyright(latest) +electric-pair-mode(builtin, enabled) - Language: Python (pyright as LSP backend)
Problem Description
Critical freeze (UI unresponsive) occurs every time I type a closing double quote " in Python code (e.g. typing print("hello" → electric-pair auto-inserts ") and places cursor at the closing " position.
- No completion is being used/invoked manually at all, the freeze happens purely on typing the quote (automatic pair insertion)
- Freeze duration is noticeable (5-10s) with 100% CPU spike in Emacs main thread
- This also sometimes happens at ( when typing print(
CPU Profiler Report (100% CPU usage stack)
10055 91% - timer-event-handler
10054 91% - apply
9952 90% - corfu--auto-complete-deferred
9952 90% - corfu--protect
9952 90% - handler-bind-1
9952 90% - #<byte-code-function 968>
9952 90% - #<byte-code-function 937>
9952 90% - corfu--exhibit
9952 90% - apply
9952 90% - #<byte-code-function 15B>
9952 90% - apply
9952 90% - #<byte-code-function BAE>
9949 90% - corfu--update
9943 90% - corfu--recompute
9943 90% - corfu--filter-completions
9943 90% - completion-all-completions
9943 90% - completion--nth-completion
9943 90% - seq-some
9943 90% - seq-do
9943 90% - mapc
9943 90% - #<byte-code-function A4E>
9943 90% - #<byte-code-function A55>
9904 90% - lsp-completion-passthrough-all-completions
9904 90% - #<byte-code-function DFA>
9904 90% - #<byte-code-function D9C>
9904 90% - lsp-request-while-no-input
9903 89% - sit-for
17 0% + redisplay_internal (C function)
15 0% + #<byte-code-function 9B2>
3 0% + timer-event-handler
36 0% + completion-pcm-all-completions
3 0% + completion-basic-all-completions
6 0% + redisplay
2 0% posn-at-point
1 0% + corfu--candidates-popup
58 0% + lsp--on-idle
40 0% corfu--hide-frame-deferred
2 0% + show-paren-function
1 0% + #<native-comp-function F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_9>
1 0% + auto-revert-buffers
1 0% + timer-activate-when-idle
520 4% + command-execute
271 2% Automatic GC
68 0% + #<byte-code-function 9B2>
57 0% + redisplay_internal (C function)
17 0% + ...
14 0% + corfu--post-command
1 0% + undo-auto--add-boundary
1 0% + corfu--auto-post-command
Full Configuration
;;; corfu completion
(use-package corfu
:ensure t
:init (global-corfu-mode)
:custom
(corfu-min-prefix-length 1)
(corfu-auto-delay 0.3)
(corfu-cycle t)
(corfu-align-to-window t)
(corfu-popupinfo-delay '(0.5 . 0.2))
(corfu-preview-current nil)
(corfu-auto t)
(corfu-quit-no-match t)
:config
(corfu-history-mode 1)
(corfu-popupinfo-mode))
;;; lsp mode
(use-package lsp-mode
:ensure t
:defer t
:init
(setq lsp-keymap-prefix "C-c l")
:hook
(lsp-mode . lsp-enable-which-key-integration)
:commands (lsp lsp-deferred)
:custom
(lsp-completion-provider :capf)
(lsp-headerline-breadcrumb-enable t)
(lsp-log-io t)
:bind
("C-c l s" . lsp-ivy-workspace-symbol))
;;; pyright
(use-package lsp-pyright
:ensure t
:defer t
:after lsp-mode
:hook (python-mode . (lambda ()
(require 'lsp-pyright))))lsp-io-log
in lsp-log there would be lost of request and cancle during freeze time which is so long to privide.
besides
the freeze dispears when i close corfu-auto, but auto complete helps me a lot so i do not wants to close it.
thanks for responding and answering
Steps to reproduce
- config corfu lsp-mode lsp-pyright
- print code
print("hello")
Expected behavior
the completion of print or sign not freeze the gui.
or the freeze time is below 1s which was show in lsp-log instead of freeze 10s
Which Language Server did you use?
pyright
OS
Linux
Error callstack
lsp log was too long so i split half to additional context
the backtrace maybe wrong
Debugger entered--Lisp error: (quit)
syntax-propertize(8)
syntax-ppss(8)
electric-pair--unbalanced-strings-p(34)
electric-pair-inhibit-if-helps-balance(34)
electric-pair-default-inhibit(34)
electric-pair-post-self-insert-function()
self-insert-command(1 34)
funcall-interactively(self-insert-command 1 34)
command-execute(self-insert-command)
the freeze was hard to get backtrance so this backtrance maybe wrong
# lsp-log
- the lsp log the freeze happens mainly after 12:05:01
[Trace - 12:04:33 AM] Sending request 'initialize - (1)'.
Params: {
"processId": 23471,
"rootPath": "/home/ocean/tmp",
"clientInfo": {
"name": "emacs",
"version": "GNU Emacs 30.2 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.51, cairo version 1.18.4)\n of 2025-11-15"
},
"rootUri": "file:///home/ocean/tmp",
"capabilities": {
"general": {
"positionEncodings": [
"utf-32",
"utf-16"
]
},
"workspace": {
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
]
},
"applyEdit": true,
"symbol": {
"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
]
}
},
"executeCommand": {
"dynamicRegistration": false
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"workspaceFolders": true,
"configuration": true,
"codeLens": {
"refreshSupport": true
},
"diagnostics": {
"refreshSupport": false
},
"fileOperations": {
"didCreate": false,
"willCreate": false,
"didRename": true,
"willRename": true,
"didDelete": false,
"willDelete": false
}
},
"textDocument": {
"declaration": {
"dynamicRegistration": true,
"linkSupport": true
},
"definition": {
"dynamicRegistration": true,
"linkSupport": true
},
"references": {
"dynamicRegistration": true
},
"implementation": {
"dynamicRegistration": true,
"linkSupport": true
},
"typeDefinition": {
"dynamicRegistration": true,
"linkSupport": true
},
"synchronization": {
"willSave": true,
"didSave": true,
"willSaveWaitUntil": true
},
"documentSymbol": {
"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
]
},
"hierarchicalDocumentSymbolSupport": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"resolveSupport": {
"properties": [
"edit",
"command"
]
},
"dataSupport": true
},
"completion": {
"completionItem": {
"snippetSupport": false,
"documentationFormat": [
"markdown",
"plaintext"
],
"resolveAdditionalTextEditsSupport": true,
"insertReplaceSupport": true,
"deprecatedSupport": true,
"resolveSupport": {
"properties": [
"documentation",
"detail",
"additionalTextEdits",
"command"
]
},
"insertTextModeSupport": {
"valueSet": [
1,
2
]
},
"labelDetailsSupport": true
},
"contextSupport": true,
"dynamicRegistration": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
},
"activeParameterSupport": true
},
"dynamicRegistration": true
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"hover": {
"contentFormat": [
"markdown",
"plaintext"
],
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true
},
"selectionRange": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": false
},
"typeHierarchy": {
"dynamicRegistration": true
},
"publishDiagnostics": {
"relatedInformation": true,
"tagSupport": {
"valueSet": [
1,
2
]
},
"versionSupport": true
},
"diagnostic": {
"dynamicRegistration": false,
"relatedDocumentSupport": false
},
"linkedEditingRange": {
"dynamicRegistration": true
},
"inlineCompletion": null
},
"window": {
"workDoneProgress": true,
"showDocument": {
"support": true
}
}
},
"initializationOptions": null,
"workDoneToken": "1",
"workspaceFolders": [
{
"uri": "file:///home/ocean/tmp",
"name": "tmp"
},
{
"uri": "file:///home/ocean/codes/python",
"name": "python"
}
]
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Pyright language server 1.1.407 starting"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Server root directory: file:///home/ocean/miniconda3/lib/python3.13/site-packages/pyright/dist/dist"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting service instance \"tmp\""
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Starting service instance \"python\""
}
[Trace - 12:04:33 AM] Received response 'initialize - (1)' in 400ms.
Result: {
"capabilities": {
"textDocumentSync": 2,
"definitionProvider": {
"workDoneProgress": true
},
"declarationProvider": {
"workDoneProgress": true
},
"typeDefinitionProvider": {
"workDoneProgress": true
},
"referencesProvider": {
"workDoneProgress": true
},
"documentSymbolProvider": {
"workDoneProgress": true
},
"workspaceSymbolProvider": {
"workDoneProgress": true
},
"hoverProvider": {
"workDoneProgress": true
},
"documentHighlightProvider": {
"workDoneProgress": true
},
"renameProvider": {
"prepareProvider": true,
"workDoneProgress": true
},
"completionProvider": {
"triggerCharacters": [
".",
"[",
"\"",
"'"
],
"resolveProvider": true,
"workDoneProgress": true,
"completionItem": {
"labelDetailsSupport": true
}
},
"signatureHelpProvider": {
"triggerCharacters": [
"(",
",",
")"
],
"workDoneProgress": true
},
"codeActionProvider": {
"codeActionKinds": [
"quickfix",
"source.organizeImports"
],
"workDoneProgress": true
},
"executeCommandProvider": {
"commands": [],
"workDoneProgress": true
},
"callHierarchyProvider": true,
"workspace": {
"workspaceFolders": {
"supported": true,
"changeNotifications": true
}
}
}
}
[Trace - 12:04:33 AM] Sending notification 'initialized'.
Params: {}
[Trace - 12:04:33 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {}
}
[Trace - 12:04:33 AM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py",
"languageId": "python",
"version": 0,
"text": "print(\"hello\")\n\nprint(\"hello\")\n\nprint(\"hello\")\n\nprint(\"hello\")\n\nprint(\"hello\")\nprint(\"hell'o\")\n\nprint(\"\")\n"
}
}
[Trace - 12:04:33 AM] Sending request 'textDocument/documentSymbol - (2)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
}
}
[Trace - 12:04:33 AM] Sending request 'textDocument/codeAction - (3)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:33 AM] Sending request 'textDocument/documentHighlight - (4)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:33 AM] Sending notification '$/cancelRequest'.
Params: {
"id": 2
}
[Trace - 12:04:33 AM] Sending request 'textDocument/documentSymbol - (5)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
}
}
[Trace - 12:04:33 AM] Sending notification '$/cancelRequest'.
Params: {
"id": 3
}
[Trace - 12:04:33 AM] Sending request 'textDocument/codeAction - (6)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:33 AM] Sending notification '$/cancelRequest'.
Params: {
"id": 4
}
[Trace - 12:04:33 AM] Sending request 'textDocument/documentHighlight - (7)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:33 AM] Received request 'client/registerCapability - (0).
Params: {
"registrations": [
{
"id": "d2c22c47-df17-4086-baf6-81d56fb6d692",
"method": "workspace/didChangeWatchedFiles",
"registerOptions": {
"watchers": [
{
"globPattern": "**/pyrightconfig.json",
"kind": 7
},
{
"globPattern": "**",
"kind": 7
}
]
}
}
]
}
[Trace - 12:04:33 AM] Sending response 'client/registerCapability - (0)'. Processing request took 3ms
Params: {
"jsonrpc": "2.0",
"id": 0,
"result": null
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (1).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/tmp",
"section": "python"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (1)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"analysis": {
"diagnosticSeverityOverrides": {},
"typeCheckingMode": "standard",
"autoImportCompletions": true,
"diagnosticMode": "openFilesOnly",
"logLevel": "info",
"autoSearchPaths": true,
"extraPaths": []
},
"pythonPath": "/home/ocean/miniconda3/bin/python",
"venvPath": ""
}
]
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (2).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/codes/python",
"section": "python"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (2)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 2,
"result": [
{
"analysis": {
"diagnosticSeverityOverrides": {},
"typeCheckingMode": "standard",
"autoImportCompletions": true,
"diagnosticMode": "openFilesOnly",
"logLevel": "info",
"autoSearchPaths": true,
"extraPaths": []
},
"pythonPath": "/home/ocean/miniconda3/bin/python",
"venvPath": ""
}
]
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (3).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/tmp",
"section": "python.analysis"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (3)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 3,
"result": [
{
"diagnosticSeverityOverrides": {},
"typeCheckingMode": "standard",
"autoImportCompletions": true,
"diagnosticMode": "openFilesOnly",
"logLevel": "info",
"autoSearchPaths": true,
"extraPaths": []
}
]
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (4).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/codes/python",
"section": "python.analysis"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (4)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 4,
"result": [
{
"diagnosticSeverityOverrides": {},
"typeCheckingMode": "standard",
"autoImportCompletions": true,
"diagnosticMode": "openFilesOnly",
"logLevel": "info",
"autoSearchPaths": true,
"extraPaths": []
}
]
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (5).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/tmp",
"section": "pyright"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (5)'. Processing request took 8ms
Params: {
"jsonrpc": "2.0",
"id": 5,
"result": [
{
"disableLanguageServices": false,
"disableOrganizeImports": false,
"disableTaggedHints": false,
"typeCheckingMode": "standard",
"analysis": {
"diagnosticSeverityOverrides": {}
}
}
]
}
[Trace - 12:04:33 AM] Received request 'workspace/configuration - (6).
Params: {
"items": [
{
"scopeUri": "file:///home/ocean/codes/python",
"section": "pyright"
}
]
}
[Trace - 12:04:33 AM] Sending response 'workspace/configuration - (6)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 6,
"result": [
{
"disableLanguageServices": false,
"disableOrganizeImports": false,
"disableTaggedHints": false,
"typeCheckingMode": "standard",
"analysis": {
"diagnosticSeverityOverrides": {}
}
}
]
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Setting pythonPath for service \"tmp\": \"/home/ocean/miniconda3/bin/python\""
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "No include entries specified; assuming /home/ocean/tmp"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/node_modules"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/__pycache__"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/.*"
}
[Trace - 12:04:33 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Assuming Python version 3.13.9.final.0"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Setting pythonPath for service \"python\": \"/home/ocean/miniconda3/bin/python\""
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "No include entries specified; assuming /home/ocean/codes/python"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/node_modules"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/__pycache__"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Auto-excluding **/.*"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Assuming Python version 3.13.9.final.0"
}
[Trace - 12:04:34 AM] Received request 'client/registerCapability - (7).
Params: {
"registrations": [
{
"id": "b66a95d3-e0d0-46ff-a0f1-f5cba6792cd4",
"method": "workspace/didChangeWatchedFiles",
"registerOptions": {
"watchers": [
{
"globPattern": "**/pyrightconfig.json",
"kind": 7
},
{
"globPattern": "**",
"kind": 7
}
]
}
}
]
}
[Trace - 12:04:34 AM] Sending response 'client/registerCapability - (7)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 7,
"result": null
}
[Trace - 12:04:34 AM] Received response 'nil - (2)' in 0ms.
Result: {
"code": -32800,
"message": "request cancelled"
}
[Trace - 12:04:34 AM] Received response 'nil - (4)' in 0ms.
Result: {
"code": -32800,
"message": "request cancelled"
}
[Trace - 12:04:34 AM] Received response 'textDocument/documentSymbol - (5)' in 951ms.
Result: []
[Trace - 12:04:34 AM] Received response 'textDocument/documentHighlight - (7)' in 947ms.
Result: [
{
"kind": 2,
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 2,
"character": 0
},
"end": {
"line": 2,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 4,
"character": 0
},
"end": {
"line": 4,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 6,
"character": 0
},
"end": {
"line": 6,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 8,
"character": 0
},
"end": {
"line": 8,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 9,
"character": 0
},
"end": {
"line": 9,
"character": 5
}
}
},
{
"kind": 2,
"range": {
"start": {
"line": 11,
"character": 0
},
"end": {
"line": 11,
"character": 5
}
}
}
]
[Trace - 12:04:34 AM] Received response 'nil - (3)' in 0ms.
Result: {
"code": -32800,
"message": "request cancelled"
}
[Trace - 12:04:34 AM] Received response 'textDocument/codeAction - (6)' in 952ms.
Result: []
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found 36 source files"
}
[Trace - 12:04:34 AM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Found 4 source files"
}
[Trace - 12:04:34 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///home/ocean/tmp/pyt.py",
"version": 0,
"diagnostics": []
}
[Trace - 12:04:34 AM] Sending request 'textDocument/codeAction - (8)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:34 AM] Received request 'client/unregisterCapability - (8).
Params: {
"unregisterations": [
{
"id": "d2c22c47-df17-4086-baf6-81d56fb6d692",
"method": "workspace/didChangeWatchedFiles"
}
]
}
[Trace - 12:04:34 AM] Sending response 'client/unregisterCapability - (8)'. Processing request took 0ms
Params: {
"jsonrpc": "2.0",
"id": 8,
"result": null
}
[Trace - 12:04:34 AM] Received response 'textDocument/codeAction - (8)' in 11ms.
Result: []
[Trace - 12:04:36 AM] Sending request 'textDocument/codeAction - (9)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 12,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:36 AM] Sending request 'textDocument/documentHighlight - (10)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 12,
"character": 0
}
}
[Trace - 12:04:36 AM] Sending request 'textDocument/hover - (11)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 12,
"character": 0
}
}
[Trace - 12:04:36 AM] Received response 'textDocument/codeAction - (9)' in 32ms.
Result: []
[Trace - 12:04:36 AM] Received response 'textDocument/documentHighlight - (10)' in 30ms.
Result: null
[Trace - 12:04:36 AM] Received response 'textDocument/hover - (11)' in 28ms.
Result: null
[Trace - 12:04:36 AM] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py",
"version": 1
},
"contentChanges": [
{
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 12,
"character": 0
}
},
"rangeLength": 106,
"text": ""
}
]
}
[Trace - 12:04:37 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///home/ocean/tmp/pyt.py",
"version": 1,
"diagnostics": []
}
[Trace - 12:04:37 AM] Sending request 'textDocument/documentSymbol - (12)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
}
}
[Trace - 12:04:37 AM] Sending request 'textDocument/codeAction - (13)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:37 AM] Sending request 'textDocument/documentHighlight - (14)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:37 AM] Sending request 'textDocument/hover - (15)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:37 AM] Received response 'textDocument/documentSymbol - (12)' in 6ms.
Result: []
[Trace - 12:04:37 AM] Received response 'textDocument/codeAction - (13)' in 5ms.
Result: []
[Trace - 12:04:37 AM] Received response 'textDocument/documentHighlight - (14)' in 5ms.
Result: null
[Trace - 12:04:37 AM] Received response 'textDocument/hover - (15)' in 4ms.
Result: null
[Trace - 12:04:40 AM] Sending request 'textDocument/codeAction - (16)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:40 AM] Sending request 'textDocument/documentHighlight - (17)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:40 AM] Received response 'textDocument/codeAction - (16)' in 76ms.
Result: []
[Trace - 12:04:40 AM] Received response 'textDocument/documentHighlight - (17)' in 11ms.
Result: null
[Trace - 12:04:57 AM] Sending request 'textDocument/codeAction - (18)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 12:04:57 AM] Sending request 'textDocument/documentHighlight - (19)'.
Params: {
"textDocument": {
"uri": "file:///home/ocean/tmp/pyt.py"
},
"position": {
"line": 0,
"character": 0
}
}
[Trace - 12:04:57 AM] Received response 'textDocument/codeAction - (18)' in 20ms.
Result: []
[Trace - 12:04:57 AM] Received response 'textDocument/documentHighlight - (19)' in 19ms.
Result: null
- the lsp log the freeze happens mainly after 12:05:01Anything else?
lsp-log.txt
the lsp log was too long so i upload a file
Reactions are currently unavailable