davidg238
10/16/2022, 2:26 AM{
"explorer.confirmDelete": false,
"editor.tabSize": 2,
"editor.detectIndentation": false,
"toit.path": "/home/david/toit/build/host/sdk/bin/",
"toitLanguageServer.command": ["/home/david/toit/build/host/sdk/bin/toit.lsp", "--toitc=/home/david/toit/build/host/sdk/bin/toit.compile"],
}
JAG is on the path, /home/david/toit/build/host/sdk/bin/ is not.
AFter looking at some search results 'on spawnSync .. EACCES' , I updated the settings to:
{
"explorer.confirmDelete": false,
"editor.tabSize": 2,
"editor.detectIndentation": false,
"toit.path": "/home/david/toit/build/host/sdk/bin/toit.run",
"toitLanguageServer.command": [
"/home/david/toit/build/host/sdk/bin/toit.lsp",
"--toitc=/home/david/toit/build/host/sdk/bin/toit.compile"
],
"jag.path": "/usr/local/bin/jag",
}
and got the error
Running the toit tool at '/home/david/toit/build/host/sdk/bin/toit.run' yielded an error: Error: Command failed: /home/david/toit/build/host/sdk/bin/toit.run version -o short
Also, wasn't there a Toit logo in the Primary Sidebar ... or is the lack thereof, just a consequence of the extension configuration error?
Any ideas? Thxfloitsch
10/16/2022, 9:18 AMjag
is on your path you can remove all path entries of Toit. The extension will then just find jag
and use its LSP server.
The open source version does not have any sidebar. It does have done commands though: jag.flash
, jag.scan
, jag.monitor
, jag.monitor
, and jag.watch
.davidg238
10/16/2022, 4:52 PMsmolesen
10/30/2022, 7:54 PMfloitsch
10/30/2022, 7:55 PMfloitsch
10/30/2022, 7:57 PMencoding.protobuf
seems to indicate that you are using the old generator.
I created a package with an updated version just last week: https://github.com/toitware/toit-protobuffloitsch
10/30/2022, 7:58 PMsmolesen
10/30/2022, 8:01 PMfloitsch
10/30/2022, 8:02 PMsmolesen
10/30/2022, 8:10 PMfloitsch
10/30/2022, 8:11 PMsmolesen
10/30/2022, 8:13 PMfloitsch
10/30/2022, 8:14 PMimport protobuf
floitsch
10/30/2022, 8:14 PMencoding.
smolesen
10/30/2022, 8:14 PMfloitsch
10/30/2022, 8:15 PMjag pkg install protobuf
floitsch
10/30/2022, 8:16 PMsmolesen
10/30/2022, 8:16 PMfloitsch
10/30/2022, 8:16 PMfloitsch
10/30/2022, 8:16 PMfloitsch
10/30/2022, 8:17 PMfloitsch
10/30/2022, 8:18 PMsmolesen
10/30/2022, 8:26 PMfloitsch
10/30/2022, 8:27 PMfloitsch
10/30/2022, 8:28 PMfloitsch
10/30/2022, 8:28 PMsmolesen
10/30/2022, 8:30 PMfloitsch
10/30/2022, 8:30 PMfloitsch
10/30/2022, 8:31 PMfloitsch
10/30/2022, 8:31 PMfloitsch
10/30/2022, 8:32 PMsmolesen
10/30/2022, 8:42 PMfloitsch
10/30/2022, 8:43 PMfloitsch
10/30/2022, 8:43 PMgo install github.com/toitware/toit-protobuf/tool@latest
again?floitsch
10/30/2022, 8:44 PMsmolesen
10/30/2022, 8:45 PMfloitsch
10/30/2022, 8:46 PMfloitsch
10/30/2022, 8:46 PMfloitsch
10/30/2022, 9:02 PMfloitsch
10/30/2022, 9:02 PMsmolesen
10/30/2022, 10:27 PMfloitsch
10/30/2022, 10:28 PMfloitsch
10/30/2022, 10:28 PMfloitsch
10/30/2022, 10:29 PMsmolesen
10/30/2022, 10:29 PMfloitsch
10/30/2022, 10:30 PMfloitsch
10/30/2022, 10:30 PMfloitsch
10/30/2022, 10:35 PMfloitsch
10/31/2022, 1:09 PMgo install github.com/toitware/toit-protobuf/protoc-gen-toit@latest
should work now.
Also, the core types should work correctly, now.smolesen
10/31/2022, 6:31 PMfloitsch
10/31/2022, 9:25 PMfloitsch
10/31/2022, 9:26 PMsmolesen
11/01/2022, 7:26 PMfloitsch
11/01/2022, 7:27 PMfloitsch
11/01/2022, 7:27 PMjag pkg update
floitsch
11/01/2022, 7:27 PMsmolesen
11/01/2022, 7:27 PMsmolesen
11/01/2022, 7:29 PM