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

Issue 2109 - DO NOT MERGE - 'test-lang' server #3123

Closed
wants to merge 1 commit into from
Closed

Issue 2109 - DO NOT MERGE - 'test-lang' server #3123

wants to merge 1 commit into from

Conversation

xcoulon
Copy link
Contributor

@xcoulon xcoulon commented Nov 18, 2016

Please DO NOT merge this pull request!

What does this PR do?

This pull request's unique purpose is to add support for a 'test-lang' server that can be used to test the upcoming pull requests related to the epic issue #2109.

What issues does this PR fix or reference?

Issue #2109

Note

To include the 'test-lang' server in the Che packaging, run the following sets of commands:

  • build and install the Che plugin
git clone https://github.com/xcoulon/che-plugin-test-lang-server.git
cd che-plugin-test-lang-server
mvn clean install -Denforcer.skip=true -Dmdep.analyze.skip=true
  • build and install the 'test-lang' server
git clone https://github.com/xcoulon/test-language-server.git
cd test-language-server
mvn clean install

Signed-off-by: Xavier Coulon xcoulon@redhat.com

…' server that can be used to test the upcoming pull requests related to the epic issue #2109.

Issue #2109

To include the 'test-lang' server in the Che packaging:

```
git clone https://github.com/xcoulon/che-plugin-test-lang-server.git
cd che-plugin-test-lang-server
mvn clean install -Denforcer.skip=true -Dmdep.analyze.skip=true

git clone https://github.com/xcoulon/test-language-server.git
cd test-language-server
mvn clean install
```

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@codenvy-ci
Copy link

Can one of the admins verify this patch?

@xcoulon xcoulon changed the title This pull request's unique purpose is to add support for a 'test-lang… Issue 2109 - DO NOT MERGE - 'test-lang' server Nov 18, 2016
vparfonov pushed a commit that referenced this pull request Dec 5, 2016
#3124)

Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on #3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
#3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
@TylerJewell
Copy link

@xcoulon - is this PR still needed for testing?

@xcoulon
Copy link
Contributor Author

xcoulon commented Jan 10, 2017

@TylerJewell sorry for the late response. Yes, this PR includes the test-lang server in Che, in order to be able to test the actual PR I submitted. Having a separate PR here was the solution that we found in order to allow for testing without committing the 'test-lang' server in the Che codebase.

@codenvy-ci
Copy link

Can one of the admins verify this patch?

@TylerJewell
Copy link

Closing - was told by engineers this is no longer needed.

JPinkney pushed a commit to JPinkney/che that referenced this pull request Aug 17, 2017
eclipse-che#3124)

Added a ShowMessageProcessor and a ShowMessageMessager classes to process
incoming `window/showMessage` notification and display a notification
in `float` mode in the UI if the message type is `error` or `warning`, in
the events panel otherwise. Note that the notification type for `error`
messages is incorrectly set to `Log` because of a bug in the typefox
dependency: `io.typefox.lsapi.MessageType#Log` has the value `1` instead of
`4`.

This issue depends on eclipse-che#3113
(Add a 'warning' state for the notifications)

To test the pull request, please follow the instructions on
eclipse-che#3123 to run the 'test-lang' server.
Once in the workspace, create a project, add a `foo.test` file (the
Language Server support for the 'test-lang' will be activated), then
type the following line
> window/showMessage:error: a message
and wait for the editor to save the changes. This will trigger a
`window/showMessage` notification from the 'test-lang' server in the Che UI.

Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants