-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I have a simple Tiltfile with a "load" statement and a function call:
load('ext://hello_world', 'hi')
hi()
After adding the "load" statement, the code completion, hover doc etc. does not work anymore. In addition, I have a vscode Tiltfile language server error:
2025-06-04 12:59:46.956 [error] Error: Header must provide a Content-Length property.
at yo.onData (/home/user/.vscode/extensions/tilt-dev.tiltfile-0.0.4/out/extension.js:2:14350)
at Socket.<anonymous> (/home/user/.vscode/extensions/tilt-dev.tiltfile-0.0.4/out/extension.js:2:14080)
at Socket.emit (node:events:524:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:191:23)
I commented out the "load" statement and restarted the vscode extensions host. After that the error disappeared and code completion, hover doc etc. work perfectly. This could be a problem at https://github.com/tilt-dev/starlark-lsp, but I'm not sure.
EDIT:
I found a dirty workaround.. After removing the Tilt extensions directory ~/.local/share/tilt-dev/tilt_modules/github.com/tilt-dev/tilt-extensions/ and restarting the vscode extension host the vscode-tilt extension works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels