Closed fearhq closed 3 years ago
I suppose you are using custom commands in plain JS with no type definitions for the commands, right? So a workaround (better to say the right way) is to define types for you commands. See here for details. Is this approach acceptable for you?
Hey, @fearhq! Do you have a chance to try using type definitions?
Hello @mbolotov ! I have attempted to add type definitions inside my project, but have gotten a bit confused, since my project is not a typescript project. I have attempted to create type definitions, but cannot get them to load
you could try the 2.0 version of the plugin. It can automate generation of type definitions for your commands. see here: https://youtu.be/nCIgdCcPamM
closing this as IDE supports this feature via TypeScript definitions, see here And the plugin make it easy to use this feature: https://youtu.be/nCIgdCcPamM
I have noticed that custom command autocomplete works, but intellisense doesn't (highlighted as invalid/method expression not a function) Is it possible to enable intellisense for these cases? If not, is there a workaround?
Thank you for your hard work on this plugin!