Closed brdloush closed 1 year ago
Sorry about this! Rookie mistake on my part; I didn't test on OS's other than macOS 🤦♂️ Yea, it looks like Windows users will have similar issues. I'll try and fix it later this evening.
I have this on MacOS too. Let me know if/how I can help with any investigation!
Thanks @PEZ!! Are you running on intel or M1?
I have the same error on osx with an M1.
Barnacles! Looking into why this is occurring, seems like this might be relevant: https://github.com/tree-sitter/tree-sitter-typescript/issues/244.
M1 here as well.
Don't know if it's worth mentioning or not.. but I just realized while hacking in different project in vscode that owlbear actions are actually working correctly (!!!) :+1: for me while editing typescript .tsx
files. Still when I create just a simple .html
file, it doesn't work there. So it seems that the extension integration isn't fully broken :thinking:
Update, the underlying TypeScript and HTML Tree-sitter WebAssembly files are breaking with the current version of VS Code (1.78.2) [TSX still works though for some reason] 😢 I believe this is because VS Code v1.78.2 upgraded its Electron to 22.5.2, and now VS Code's Electron/Node is not playing nice with Tree-sitter's WASMs!
This VS Code release and the corresponding Tree-sitter issues are all incredibly very recent, and unfortunately, after much experimentation and research, I'm not sure of a clear path forward ATM!
This could be another reason to port the core logic of Owlbear to LSP. But, I'm pretty new to LSP, and I'm not sure how flexible LSP is when it comes to supporting custom commands like the ones Owlbear provides (e.g. slurp, barf, etc.). Anyway, while I'm waiting for progress from Tree-sitter folks on the above issue, I'm going to think through alternatives to loading WASMs in VS Code.
I'll try and put out a patch that'll extend the working TSX support to TS/JS, and then I'll sunset HTML support for now until I figure out a path forward.
Sorry for the inconvenience folks!
Afaiu you can implement those commands with an LSP server. clojure-lsp has a few paredit commands, like drag sexpr and such.
OK, so I was able to find a way around the errors [they're still there, just non-blocking]. I'll probably still explore LSP, but for the time being, the just-released Owlbear v1.1.3 should work as expected on HTML, JS, TS, JSX, and TSX files!
Still have some issues on Windows, but I have a separate issue open for that.
Please let me know if this issue is still persisting!
Describe the bug Extension doesn't seem to work at all.
To Reproduce Steps to reproduce the behavior:
ctrl+shift+p
and look those actions up, they don't workExpected behavior It should work.
Desktop (please complete the following information): Ubuntu 22.04LTS
vscode:
Additional context Just after launch, I can see following error messages in the code
...
Then, after invoking any paredit-ish action: