-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
…' 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>
Can one of the admins verify this patch? |
#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>
@xcoulon - is this PR still needed for testing? |
@TylerJewell sorry for the late response. Yes, this PR includes the |
Can one of the admins verify this patch? |
Closing - was told by engineers this is no longer needed. |
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>
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:
Signed-off-by: Xavier Coulon xcoulon@redhat.com