-
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
Integrated yaml language server #6371
Conversation
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
ci-build |
Build # 3744 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3744/ to view the results. |
agents/ls-yaml/pom.xml
Outdated
<parent> | ||
<artifactId>che-agents-parent</artifactId> | ||
<groupId>org.eclipse.che</groupId> | ||
<version>5.18.0-SNAPSHOT</version> |
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.
please update version to current 5.19.0-SNAPSHOT
"description": "Yaml intellisense", | ||
"dependencies": [], | ||
"properties": {} | ||
} |
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.
missing new line
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.
Fixed in 9cf7ca0. For some reason github doesn't show the correction.
|
||
touch ${LS_LAUNCHER} | ||
chmod +x ${LS_LAUNCHER} | ||
echo "nodejs ${LS_DIR}/./out/server/src/server.js --stdio" > ${LS_LAUNCHER} |
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.
missing new line
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.
./out
-> out
@@ -0,0 +1,168 @@ | |||
# |
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.
do we need shebang here? and also set -e
?
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.
No shebang
<parent> | ||
<artifactId>che-plugin-yaml-parent</artifactId> | ||
<groupId>org.eclipse.che.plugin</groupId> | ||
<version>5.18.0-SNAPSHOT</version> |
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.
please update version to current 5.19.0-SNAPSHOT
<dependency> | ||
<groupId>org.eclipse.che.core</groupId> | ||
<artifactId>che-core-api-core</artifactId> | ||
<version>5.18.0-SNAPSHOT</version> |
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.
use ${project.version} here, and that is a wrong place for declare version
<dependency> | ||
<groupId>javax.inject</groupId> | ||
<artifactId>javax.inject</artifactId> | ||
<version>1</version> |
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.
you should not have dependency version declared here.
<dependency> | ||
<groupId>javax.ws.rs</groupId> | ||
<artifactId>javax.ws.rs-api</artifactId> | ||
<version>2.0</version> |
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.
you should not have dependency version declared here.
<parent> | ||
<artifactId>che-plugin-yaml-parent</artifactId> | ||
<groupId>org.eclipse.che.plugin</groupId> | ||
<version>5.18.0-SNAPSHOT</version> |
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.
update version
plugins/plugin-yaml/pom.xml
Outdated
<parent> | ||
<artifactId>che-plugin-parent</artifactId> | ||
<groupId>org.eclipse.che.plugin</groupId> | ||
<version>5.18.0-SNAPSHOT</version> |
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.
update version
yamlPreferences.add(newYamlPref); | ||
} | ||
} catch (Exception e) { | ||
System.out.println(e); |
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.
Use logger pls.
Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>
Build # 3851 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3851/ to view the results. |
hey @JPinkney build of that PR failed on CI due to dependencies problem
don't forget to sort pom after adding dep ;) |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3858/ |
Basically ok for me i just aware about location of binaries described here link. Is it legal @skabashnyuk ? |
Signed-off-by: jpinkney josh.pinkney@mail.utoronto.ca
What does this PR do?
This PR integrates the yaml language server (https://github.com/redhat-developer/yaml-language-server) into eclipse che.
What issues does this PR fix or reference?
redhat-developer/rh-che#213
Changelog
Integrated yaml language server
Release Notes
Integrated yaml language server
Docs PR