Skip to content

How to use this? #388

Closed
Closed
@gvanrossum

Description

@gvanrossum

Excuse me if I'm dumb, but I'm new to both vscode and pyls, and I don't know anything about node.js either. How does one typically configure vscode to use pyls? By default it comes with a different Python package. I looked at README.rst and found instructions for developing pyls against vscode (which is my ultimate plan :-) but those instructions seem broken too:

$ yarn install .
yarn install v1.7.0
error `install` has been replaced with `add` to add new dependencies. Run "yarn add ." instead.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ yarn add .
yarn add v1.7.0
(node:23850) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[1/5] 🔍  Validating package.json...
warning [email protected]: The engine "vscode" appears to be invalid.
[2/5] 🔍  Resolving packages...
error Received malformed response from registry for undefined. The registry may be down.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

What am I missing? (My ultimate goal is to write a plugin that adds access to mypy's internals to allow definition lookup and other functionality for Python -- the mypy-daemon has already collected the data, it's just a matter of getting it out. See https://mypy.readthedocs.io/en/latest/mypy_daemon.html for the current state of this project.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions