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

Migrate to vscode-languageclient instead of vscode-base-languageclient #24

Closed
gatesn opened this issue Aug 23, 2017 · 10 comments · Fixed by #163
Closed

Migrate to vscode-languageclient instead of vscode-base-languageclient #24

gatesn opened this issue Aug 23, 2017 · 10 comments · Fixed by #163
Assignees

Comments

@gatesn
Copy link
Collaborator

gatesn commented Aug 23, 2017

As per microsoft/vscode-languageserver-node#88, an abstract BaseLanguageClient has now been exposed in the library.

It looks like a pretty significant change to monaco-languageclient to implement this, however it does unfork the library so probably worth taking on.

@akosyakov
Copy link
Contributor

BaseLanguageClient merged in microsoft/vscode-languageserver-node#88 is only abstract from node env, but has dependencies on vscode and cannot be used with Monaco.

I'm fond of an idea of dropping vscode-base-languageclient in favor of vscode-languageclient instead. To make it happens the following should be done:

Actually, the first step should be done anyway to catch up with the latest changes.

@akosyakov
Copy link
Contributor

We could try the following approach: instead of abstracting away vscode API via services in vscode-base-languageclient, we move services to this repo and implement a minimal subset of vscode api needed for vscode-languageclient with services.

It should allow getting rid of the fork (vscode-base-languageclient) without breaking.

@gatesn
Copy link
Collaborator Author

gatesn commented Apr 15, 2018

I’ve been playing around with this a little (though not making any progress so please don’t count it as “assigned”!).

It seems the VSCode-languageserver-node package uses lots of types imported from vscode. Some of these now live in vscode-languageserver-types, however some don’t, like Workspace.

Is the correct thing to do to take a dev dependency on vscode, specifying it as an engine, and then implementing simple versions of these within monaco-languageclient?

@akosyakov
Copy link
Contributor

Is the correct thing to do to take a dev dependency on vscode, specifying it as an engine, and then implementing simple versions of these within monaco-languageclient?

I don't know whether it is right. It is an idea. We should try it and learn whether it is a way to go.

@akosyakov akosyakov self-assigned this Jul 23, 2018
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 24, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 25, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 26, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 26, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 26, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 26, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 26, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 30, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
akosyakov added a commit that referenced this issue Jul 30, 2018
vscode compatiblity layer is introduced to make use of vscode-languageclient directly instead of vscode-base-languageclient.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@akosyakov
Copy link
Contributor

We had to keep this issue due to #89 (comment).

@stale
Copy link

stale bot commented Sep 29, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@johnwiseheart
Copy link
Collaborator

While we wait, is it possible to release a new version of vscode-base-languageclient? Merged some changes to their repo which I'd like to use. Not sure how/where the differences are, so if I need to make the changes elsewhere let me know and I can do it.

@akosyakov
Copy link
Contributor

@johnwiseheart We do it soon, latest by end of July.

Generally i'm thinking to refactor and move language-client to backend (node) and forward monaco APIs between frontend-backend. It will allow to use vscode-languageclient directly. It is not something which will happen soon, if it will at all.

@akosyakov
Copy link
Contributor

We've decided to go with es6 dependencies and kill our fork. Clients will need to target es6 as well our use babel to down level monaco-langaugeclient and its dependencies to es5. I will explain how it can be done in the CHANGELOG.

@akosyakov
Copy link
Contributor

0.10.0 was released with support of Monaco 0.17.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants