adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.27k stars 7.64k forks source link

[js code hint] External library GSAP not recognized in code hints #10471

Open grossmann opened 9 years ago

grossmann commented 9 years ago

I am working on a project including the Greensock Animation Platform (GSAP) library (http://greensock.com/gsap). I copied the latest version in a subfolder of my project and expected to get code hints via tern. But it turned out that code hints for this library don't show up. My own functions defined in other files show correctly. Do I have to enable something to get this working or is this function not implemented (jet)?

sprintr commented 9 years ago

Have a look at JavaScript File Inference Problem

grossmann commented 9 years ago

Thanks for your comment. But this doesn't seem to be the reason. I didn't get a timeout info modal and I don't have a .brackets.json file in my project root. So to me this doesn't look like a tern timeout problem (as described in the linked article). Maybe this will be fixed with the refactoring project, which was scheduled for spring 2014. Is there a possibility to get this somehow working in the meanwhile (maybe with an extension). This would make programming soo much easier (especially if you are new to a library).