Use typescript typings for javascript code completion
I am developing in ExtendScript (Adobe's version of JS, used to automate apps like Photoshop or Illustrator), and recently I have found a way to generate TypeScript typings file for JS APIs that are exposed by those apps. The typings are generated locally, and uploading them to e.g. DefinitelyTyped doesn't make sense (plugins for Photoshop contribute their own parts of API, things that work for me won't work for other users who don't have plugins I do). Is there a way to tell Webstorm that it should use the typings I generate locally to do the code completion?
Please sign in to leave a comment.
Just add them to your project - this should normally be enough. Either place them in your project folder, or add as Javascript libraries (File | Settings | Languages & Frameworks | JavaScript | Libraries, Add...)
Wow, that worked! The docs are confusing a bit in that regard. Anyway, thank you, this helps me a lot!