Comments (9)
Interesting, I can unpublish the version while I investigate this. The vscode extension will prompt you to rollback
from jsonnet-language-server.
Are you using VSCode? If so you can get the server output in the ‘Jsonnet Language Server’ output tab
from jsonnet-language-server.
Yup, that's what I'm getting in VSCode:
Tried re-starting VSCode, the language server. Trying re-installing the extension
from jsonnet-language-server.
So looking at the Jsonnet extension logs:
Not using custom binary path. Using default path
Binary path is /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server (exists: true)
Auto-update is enabled. Fetching latest release from https://api.github.com/repos/grafana/jsonnet-language-server/releases/latest
Latest release is 0.7.1
Failed to get current version from /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server
Error: Command failed: /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server --version
Downloading latest release (0.7.1) to /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server...
Downloading https://github.com/grafana/jsonnet-language-server/releases/download/v0.7.1/jsonnet-language-server_0.7.1_darwin_arm64
Successfully downloaded the language server version 0.7.1
Jsonnet Language Server will start: '/Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server --log-level info --tanka'
And this is the LS logs:
[Info - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info - 4:05:11 PM] Connection to server got closed. Server will restart.
[Error - 4:05:11 PM] Connection to server got closed. Server will not be restarted.
from jsonnet-language-server.
Let me know if you wan't me to test something
from jsonnet-language-server.
@julienduchesne I think this may be the same problem I ran into a while ago (M1 mac having issues with updated binary). I'm running 0.7.1
during my tuning for intellij-jsonnet
plugin.
I think it may have something to do with MacOS permissions.
from jsonnet-language-server.
@julienduchesne I think this may be the same problem I ran into a while ago (M1 mac having issues with updated binary). I'm running
0.7.1
during my tuning forintellij-jsonnet
plugin.I think it may have something to do with MacOS permissions.
Yep, I've tested 0.7.1 a bunch and it seems fine. I'll republish it
from jsonnet-language-server.
Can you try 0.7.1 using this installation method: grafana/vscode-jsonnet#3 (comment) @thepalbi?
from jsonnet-language-server.
Worked like charm. Thanks @zzehring
from jsonnet-language-server.
Related Issues (20)
- Allow passing argument to jsonnet binary HOT 1
- Server crashing in vscode HOT 2
- `nvim-lspconfig` not detecting `jsonnet_ls` on file-open
- Support providing docs for non-stdlib function/objects HOT 1
- Support grafonnet autocompletion HOT 5
- unexpected warnings on `std.native` function calls HOT 1
- Completion fails when exposing field at root
- Completion fails when not in an object/array
- Completion gives wrong result when key partially matches another key
- Double completion ends up with wrong result
- Go to definition does not work in assert
- Completion Fails for nested functions
- Re-read imported functions
- required function argument handling
- Support JSON schema validation
- `items` is null when there are no completions
- Fails on code which import `/dev/stdin`
- Add rename support for local/object key HOT 1
- [Bug] Crash (NPE) periodically occurs during some editing operations
- Invalid URL escape "%2B"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsonnet-language-server.