-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix #7100: remove @theia/languages
and monaco-languageclient
#8131
Conversation
@akosyakov I'm not aware of anyone using the languageserver namespace. AFAIC go ahead and kill it. |
a2a0663
to
d3b5a5a
Compare
These APIs will be removed in next release via #8131 Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
documentChanges: true | ||
} | ||
}; | ||
export class MonacoWorkspace { | ||
|
||
protected resolveReady: () => void; | ||
readonly ready = new Promise<void>(resolve => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested according to How to test
section.
Used GitLens extension for checking Git blame annotations.
Everything works as expected.
These APIs will be removed in next release via #8131 Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
d3b5a5a
to
cb073f4
Compare
I rebased and fixed conflicts for the PR as was discussed #8010 (comment) There is copy branch without rebasing just in case https://github.com/eclipse-theia/theia/tree/ak/drop_monaco_language_client_copy I'm going to wait for ci build/tests and provide light manual testing tomorrow morning before merge the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did light testing after rebasing:
- workspace symbols
- debug console
- git blame hover
- call hierarchies
- problem markers
It works well for me - I don't see a regression.
So, I'm going to merge the PR and then adapt #8010 to these changes.
Can we wait a few more days, please? |
hi @kittaakos, could you explain why you need more days ? We just have a fresh tagged release so I think it's ok to merge all major changes in repo after this tag like drop monaco-language-client, update FS api, bump monaco, etc. |
All downstream projects still using language contributions from Theia cannot use the |
@kittaakos I'm not sure few more days would help then ? as basically at some point |
I still have time to code until Monday. |
ok so let's wait until monday @RomanNikitenko ? |
I would like to land #8010 ASAP |
Yes, it helps. For example, here is a Theia issue: #8281 |
@kittaakos we could do some 1.4 bugfixes release as well (we did some of them in the past) |
@RomanNikitenko, go for it. Thanks for your patience. |
It allows to consume Monaco directly without trying to run vscode-languageclient in the browser. One should contributed language smartness via VS Code extensions instead. Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
cb073f4
to
5b44a07
Compare
What it does
@theia/languages
andmonaco-languageclient
- It allows to consume Monaco directly without trying to run vscode-languageclient in the browser. One should contribute language smartness via VS Code extensions instead.TODO:
Language
from@theia/core/lib/browser/language-service
monaco.languages.register*
,MonacoLanguages.registerWorkspaceSymbolProvider
orLanguageService
from@theia/core/lib/browser/language-service
MonacoWorkspace
TypeHierarchyRegistry.register
for now, later VS Code extension: Create a "TypeHierarchyProvider" api for visualising type hierarchies microsoft/vscode#15533languageServer
namespace -> use vscode-langaugeserver via VS Code extensionHow to test
Go to Workspace Symbol...
commandRun Mocha Test
Open Call Hierarchy
on some methodReview checklist
Reminder for reviewers