Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i custom worker for python intellisense? #421

Closed
jacobyf opened this issue Apr 18, 2017 · 6 comments
Closed

How can i custom worker for python intellisense? #421

jacobyf opened this issue Apr 18, 2017 · 6 comments
Assignees
Milestone

Comments

@jacobyf
Copy link

jacobyf commented Apr 18, 2017

Hello, i have integrated monaco-editor into our projects. it's a wondeful tools, repectively. But my projects member mainly want to support python code. how can i custom a worker for this task?

@svenefftinge
Copy link

svenefftinge commented Apr 21, 2017

You can use :

Together with :

@alexdima alexdima added this to the Backlog milestone Jun 7, 2017
@alexdima alexdima self-assigned this Jun 7, 2017
@pkpp1233
Copy link

pkpp1233 commented Sep 7, 2017

@jacobyf or @alexandrudima did you end up setting this up? We're about to start building this out ourselves.

@akosyakov
Copy link

@pkpp1233 Look at the example in monaco-languageclient. It shows how to connect the Monaco editor with the JSON language server, you can do the same for python. Also this blog post exlpains it.

@Jandou6
Copy link

Jandou6 commented Sep 19, 2017

I had try to use Python-language-server.And pyls may use TCP connect.

So, if I use the code like JSON-server ,it can not work..

Are there anybody workout?

@akosyakov
Copy link

@Jandou6 The example in monaco-languageclient shows how to connect the external JSON server process:
https://github.com/TypeFox/monaco-languageclient/blob/b901301fe10c7a51e3b6faa35863bb69c93fcd11/example/src/json-server-launcher.ts#L17-L28

You should be able to spawn pyls process and connect to it in the same way.

@sriramks85
Copy link

I am trying to do the same as @Jandou6 and as suggested by you, but I am getting this error:
Launching PYTHON Server failed: Error: spawn pyls --tcp --host 0.0.0.0 --port 5000 ENOENT

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants