-
-
Notifications
You must be signed in to change notification settings - Fork 18
Extension appears to be running but doesn't provide any functionality #59
Comments
Update: this only happens in one of my two repos. I have no idea why. Is there any way to get more debugging info from the extension? It looks like it's not even running on my one repo despite reporting "activated" |
The extension is working for me on Beta 20, however, I do see some stuff in the extension console that indicates some changes to the runtime behavior that could be problematic. Specifically, I haven't see this before - it looks like Panic might have changed the execution environment for the language server to be readonly. If you clone this project locally and run it locally you'll see more information in the extension console (I hide a few things when not in dev mode). |
Also - you indicated that your expected typescript version is 3.7.5 and the sidebar says you're getting 4.0.2. I haven't used Rush.js or pnpm, but they could be causing the wrong version of typescript to be used, which could cause the issue. |
I don't know what happened, but it started working again. 🤷♂️ I guess we can close this issue. Very, very odd. Do you want me to file a bug with the Nova team about the readonly language server environment? |
FWIW I seem to be having the same issue, with b20. the sidebar shows that the TypeScript server is running but the extension is otherwise not working. |
@halfnibble Forgot to mention - I filed a bug for the readonly environment here. |
@joshdick Are you able to clone this and run locally? I'd like to see what the Extension Console says for someone who can reproduce. |
@apexskier A few interesting things: I tried upgrading Nova from b20 to v1.0 and starting completely fresh by removing all of Nova's supporting files with AppCleaner. After doing that:
|
Yikes. Can you file a bug with Panic for this? Any hard crashes indicate something not being handled gracefully by Nova, and will obscure any info the extension is providing in the console. |
Also, I forgot to mention - this extension doesn't provide syntax highlighting, that's something Nova provides directly. |
After upgrading to 1.0 having this extension enabled causes Nova to crash every time I try to open/close a tab in a project, even in non-TS projects. I submitted a problem report via the Panic's new issue form. |
This doesn't work and is very buggy. Also autocomplete of any kind doesn't show up. |
@ishanray Can you please provide some more details? Anything in the extension console? Does this reproduce if you run the extension locally? |
Unrelated to my original issue (which thankfully resolved itself 🤞), I saw this note on the typescript-language-server repo. Do we know how Theia is able to use the VS Code extension, and is that possible for Nova? |
My guess is that Theia is providing a compatible extension api for VSCode, which would be in Panic's hands. My opinion is that the bet on the Language Server Protocol is the right one, but Nova's support is still pretty basic. Since Microsoft is behind Typescript, VSCode, and LSP I'm hoping things converge (microsoft/TypeScript#39459). I haven't run into any missing functionality yet, but I'd consider taking over maintenance of |
This issue is getting a little messy and I'm going to be closing it, since it's pre-official release and I've updated my bug report template since. Sounds like @halfnibble and @joshdick aren't experiencing it anymore, @chillax's issue sounds more like #74, and @ishanray please file a new issue with more details if you're still experiencing this as well on the latest release. |
I am actually still having crashing issues with Nova 1.1 and v1.7.0 of this extension, but will prod #74 instead. |
Unfortunately, the extension does not work at all (except for syntax highlighting) in Nova 1.0b20.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect autocomplete to show a list of properties for typed objects.
And I would expect obvious type assignment errors to display an error.
Note: this worked in 1.0b19.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
The extension was working until the most recent Nova update (and the extension has not changed to my knowledge).
Since I am working in a monorepo, I also tried setting the path to the TypeScript server, and I still don't get TypeScript support in Nova.
npm-debug.log
Nothing output.
The text was updated successfully, but these errors were encountered: