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

normalize base of language filter pattern to support clients on another OS #8268

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Jul 30, 2020

What it does

How to test

  • deploy Theia on Linux and test on Windows client (on Linux as well for regressions)
    • gitpod backend is Linux if someone with Windows machine wants to try quickly
  • install Java Test Runner extension from Extensions view
  • check out and open https://github.com/che-samples/console-java-simple
  • run code lenses

Review checklist

Reminder for reviewers

@akosyakov akosyakov force-pushed the ak/normalize_pattern_base branch from 56a4ee4 to 2772011 Compare July 30, 2020 07:08
@akosyakov
Copy link
Member Author

akosyakov commented Jul 30, 2020

@eclipse-theia/ecd-theia-committers Can someone with Windows machine help to verify? Backend should run on Linux (you can just use Gitpod).

@akosyakov akosyakov added OS/Windows issues related to the Windows OS vscode issues related to VSCode compatibility labels Jul 30, 2020
Copy link
Contributor

@tsmaeder tsmaeder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with che-theia inside CRC (linux) and browser on Windows. "Debug Test | Run Test" code lenses show up now.

@@ -40,7 +40,6 @@ import {
MarkerSeverity, DocumentLink, WorkspaceSymbolParams, CodeAction, CompletionDto
} from '../../common/plugin-api-rpc-model';
import { RPCProtocol } from '../../common/rpc-protocol';
import { fromLanguageSelector } from '../../plugin/type-converters';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is now unreferenced. Can we remove it? It looks kinda fishy anyway.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

It also removes dependencies to the plugin process code from the main process.

Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
@akosyakov akosyakov force-pushed the ak/normalize_pattern_base branch from 2772011 to 6021f3a Compare July 30, 2020 12:56
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I unfortunately do not have a windows machine to test the functionality, but codewise it looks good to me 👍
Update: I also ran the tests and codelenses on Linux and it worked successfully.

@lmcbout
Copy link
Contributor

lmcbout commented Jul 30, 2020

Code wise looks good, Anyone with a window environment can perform a last check before merging for the release would be appreciated. Thanks

@akosyakov
Copy link
Member Author

Thomas already checked on windows against linux: #8268 (review)

@lmcbout
Copy link
Contributor

lmcbout commented Jul 30, 2020

Good, You should merge it
Thanks @akosyakov

@akosyakov akosyakov merged commit 900570a into master Jul 30, 2020
@akosyakov akosyakov deleted the ak/normalize_pattern_base branch July 30, 2020 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS/Windows issues related to the Windows OS vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Relative Patterns don't work accross Platforms
4 participants