Error `Start and End must be well ordered` returned by Language Server
See original GitHub issueWhile working on some python code, I noticed the following error message:
Starting Microsoft Python language server.
[Info - 10:05:43 PM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for /Users/donjayamanne/.local/share/virtualenvs/dbg-cDgS3Mye/bin/python
[Info - 11:10:00 PM] Found 228 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 83) after filtering
[Info - 11:10:01 PM] Found 293 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 85) after filtering
[Info - 11:11:21 PM] Found 293 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (82, 92) after filtering
[Info - 11:15:20 PM] Found 224 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 9) after filtering
[Error - 11:16:43 PM] Request textDocument/completion failed.
Message: Start and End must be well ordered
Code: -32000
[object Object]
[Info - 11:16:43 PM] Found 77 completions for file:///Users/donjayamanne/.vscode-insiders/extensions/pythonVSCode/pythonFiles/normalizeForInterpreter.py at (80, 36) after filtering
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
Language Server Extension Guide - Visual Studio Code
With Language Servers, you can implement autocomplete, error-checking (diagnostics), jump-to-definition, and many other language features supported in VS Code.
Read more >Language Server Protocol Specification - 3.17
This document describes the 3.17.x version of the language server protocol. ... No LSP error codes should * be defined between the start...
Read more >Extending a client with the language server protocol
In this post we will investigate how to use the language server protocol for actually extending any client understanding the LSP. Language ...
Read more >Integrating Code Completion in Visual Studio Code - Strumenta
Introduction. Automatic code completion, also known as IntelliSense, is an important part of the modern software development experience.
Read more >Example language server - vscode-docs1
A good starting point for a language server implementation in Node.js is the ... always provide the same completion items. return [ {...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Gonna close then, there were fixes made in the area.
@DonJayamanne, @brettcannon - this was fixed while ago, see https://github.com/Microsoft/python-language-server/issues/23