-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide options to disable some of the TypeScript exclusive features #14
Comments
I can add notifications to the settings that we modify in this package to inform the users. |
Agreed. I want the features of this package only for JS. My personal preference is to avoid TypeScript, and this package is flooding my editor with TypeScript-related messages. |
I'd also like to request the ability to turn off TypeScript-specific features. I don't use TypeScript but otherwise love the features of this package. |
Just to clarify all the features (autocomplete, datatips, signature help, outline, diagnostics, etc) except a few (Eslint) come from Typescript. Could you exactly state what feature do you like to disable, so I can provide a config for that (e.g removing the suggestion for installing @types/package that could result in better IDE features). |
Sorry, I should be more clear. Needing some of those enabled makes sense. The main things I wish I could disable include:
While using this package I've noticed Atom gets very sluggish with some of my larger files open, which is why I think disabling some features may help. I've also noticed I have three outline panels now: the TypeScript "semantic view", one with colors, and a colorless one with a filter bar at the top. The TypeScript one only pops up if I specifically enable "semantic view", but the other two have the same shortcut so it gets a bit confusing. I thought maybe one came from a previous package I already had, but the only outline package I have installed is After thinking about this, I guess all I really use is diagnostics and hyperclicking. I don't use the other features, so maybe instead I should use different packages rather than asking for this one to be changed. 😅 I do appreciate all of your work on this though! |
From your message, it seems you have With that being said:
|
Thanks for the tip about Thanks for your consideration! |
Edited by @aminya
Background
Just to clarify all the features (autocomplete, data tips, signature help, outline, diagnostics, etc) except a few (Eslint) come from Typescript.
Disabling Typescript means disabling all the features. This the same for all the other IDEs (e.g. VsCode). JavaScript without Typescript almost has no IDE capabilities.
TODO
With that being said, we can do the following to make the features more customizable:
@types
package. To compensate for the lack of @types, I need to implement a feature that automatically installs @types (e.g. @types/node). This will fix Require options #4 as well.The text was updated successfully, but these errors were encountered: