-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
master build failure on Windows (tests) #152
Comments
same problem, in win10 and java 1.8.0_201. |
@carldou why do you want to recompile instead of just consuming the VS Code extension from the VS Code marketplace? |
I install the Yang VS Code Extension from VS Code marketplace, but it only highlights the grammer without automatic code completion. So I thought maybe I need to install this yang-lsp additionally. Now, it seems not necessary. |
I just tried on Windows 10 with latest VSCode and I do get code completion Did you install the correct extension? There is another one with syntax highlighting only. It may also be a problem with (locating) Java on your machine. Do you get messages from VSCode that the language server couldn't be started or keeps crashing? |
Hello, I have exactly the same issue with VSCode and building yang-lsp and I noticed that it started to apear after I install GIT with VSCode as default text editor. Before that Yang VS Code Extension was working fine. |
Which version of Java is installed on your system? |
This one: |
built using cygwin (gradelw) and powershell (gradlew.bat) also in eclipse
Also the link to builds is empty (returns a 404)
https://hub.docker.com/r/typefox/yang-lsp/builds
$ java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
:io.typefox.yang.ide:testClasses
:io.typefox.yang.ide:test
io.typefox.yang.tests.editor.syntaxcoloring.YangSemanticHighlightingCalculatorTest > checkDescription_multiLine FAILED
org.junit.ComparisonFailure at YangSemanticHighlightingCalculatorTest.java:210
org.junit.ComparisonFailure: expected:<... : []
1 : []
2 : [3:[1:[keyword.other.unit, source.yang]]
3 : [0:11:[keyword.other.unit, source.yang]]
4 : [0:2]:[keyword.other.unit...> but was:<... : []
1 : []
2 : [3:[2:[keyword.other.unit, source.yang]]
3 : [0:12:[keyword.other.unit, source.yang]]
4 : [0:3]:[keyword.other.unit...>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.eclipse.xtext.testing.AbstractLanguageServerTest.assertEquals(AbstractLanguageServerTest.java:1305)
at io.typefox.yang.tests.editor.syntaxcoloring.YangSemanticHighlightingCalculatorTest.assertInfos(YangSemanticHighlightingCalculatorTest.java:210)
The text was updated successfully, but these errors were encountered: