Giter Club home page Giter Club logo

Comments (5)

chemzqm avatar chemzqm commented on September 23, 2024

It's bug of MPLS, add "python.jediEnabled": true, in settings file to use jedi.

from coc-python.

matteha avatar matteha commented on September 23, 2024

Alright, thanks. But If I do so it won't use the Microsoft Language Server at all right? But jedi instead.

from coc-python.

chemzqm avatar chemzqm commented on September 23, 2024

Yes, I got this

[Trace - 12:09:43 AM] Received notification 'telemetry/event'.
Params: {
    "EventName": "python_language_server/rpc.exception",
    "Properties": {
        "name": "InvalidOperationException",
        "stackTrace": "   at Microsoft.Python.Analysis.Documents.RunningDocumentTable.CreateDocument(ModuleCreationOptions mco)\n   at Microsoft.Python.Analysis.Documents.RunningDocumentTable.OpenDocument(Uri uri, String content, String filePath)\n   at Microsoft.Python.LanguageServer.Implementation.Server.DidOpenTextDocument(DidOpenTextDocumentParams params)\n   at Microsoft.Python.LanguageServer.Implementation.LanguageServer.DidOpenTextDocument(JToken token, CancellationToken cancellationToken)",
        "method": "textDocument/didOpen",
        "plsVersion": "0.2.31.0"
    },
    "Measurements": {}
}

Same issue on my VSCode.

from coc-python.

matteha avatar matteha commented on September 23, 2024

chemzqm, thanks so much for this. I noticed you set jedi as default, do you know where to put 'python.jediEnabled' to false in case the Intellisense Engine should be used? in coc-settings.json?

Like?

{
"coc.preferences.timeout": 5000,
"python.jediEnabled":false,
}

python.jediEnabled:Enables Jedi as IntelliSense engine instead of Microsoft Python Analysis Engine., default: true

from coc-python.

chemzqm avatar chemzqm commented on September 23, 2024

"coc.preferences.timeout" is deprecated, checkout neoclide/coc.nvim#462.

You can install coc-json by :CocInstall coc-json to have completion and disgnostic support.

from coc-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.