-
Notifications
You must be signed in to change notification settings - Fork 344
Json language services not working #333
Comments
@perrinjerome thank you very much for pointing out the issue! I believe we can use the same resolution block as found in the main repository given that it works correctly in the images. I verified in the main repo and the JSON language features were working successfully. |
1.2.3 seems to cause incompatibities. Fixes theia-ide#333
1.2.3 seems to cause incompatibities. Fixes theia-ide#333 Signed-off-by: Jérome Perrin <[email protected]>
Thank you for feedback, I might be missing something, using the same resolution as on main repository did not work when I tried. You said "it works correctly in the images", which images were you referring to ? I made a draft pull request with this change #337 , but if there's a way that does not involve pinning an old version of |
I mentioned "given that it works correctly in the images" meaning that hopefully the same resolution block found in the main-repository would be enough but based on your previous comments it did not seem to work. I suspect that it's due to the fact the main-repository has a
I'll verify the changes in a few moments once I get the chance :)
You're correct, when the builtin extension |
ah yes that's definitively the reason, thanks. |
I have reproduced the issue using the Theia app from image |
1.2.3 seems to cause incompatibities. Fixes #333 Signed-off-by: Jérome Perrin <[email protected]>
Language services for json files no longer seem to work.
This can be observed with yesterday's build:
then open a json file, for example the preferences, try to complete, but only the "default" completions show up.
In the Output pane from JSON, we can see error message:
For reference, an old tag where json language services were working:
theiaide/theia:0.16.0-next.77297761
. One difference is the version picked forvscode-json-languageserver@^1.2.1
,1.2.2
was OK and nowadays we have1.2.3
which seems to cause this incompatibility.At least if I run use this patch for force the resolution to
1.2.2
, language services are working as expected:If you think this patch is correct and want me to submit a PR updating all
package.json
from this repository to have this resolution, let me know.The text was updated successfully, but these errors were encountered: