Skip to content
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

[CLOSED] Update Tern and Acorn, support completion for Angular #5033

Open
core-ai-bot opened this issue Aug 30, 2021 · 3 comments
Open

[CLOSED] Update Tern and Acorn, support completion for Angular #5033

core-ai-bot opened this issue Aug 30, 2021 · 3 comments

Comments

@core-ai-bot
Copy link
Member

Issue by dangoor
Friday Oct 11, 2013 at 02:39 GMT
Originally opened as adobe/brackets#5481


This fixes #5417 by adding the Tern plugin for Angular (and also moves us to the latest release of Tern and Acorn).


dangoor included the following code: https://github.com/adobe/brackets/pull/5481/commits

@core-ai-bot
Copy link
Member Author

Comment by RaymondLim
Monday Oct 14, 2013 at 23:35 GMT


Tested AngularJS code hinting and did sanity check on overall JS code hinting. Everything looks good. Merging.

@core-ai-bot
Copy link
Member Author

Comment by adumesny
Thursday Jan 30, 2014 at 01:13 GMT


@RaymondLim are angular code hint supposed to also work for HTML tags/attributes (directives like ng-model='xyz', filters,etc) or only for JS code referring to angular.xxx ?

In general does Brackets parse included script files in the main html file and give you code hints for your custom code as well as lib like angular, or are things more hardcoded for 3rd party lib under Brackets\www\extensions\default\JavaScriptCodeHints\thirdparty\tern\plugin

@core-ai-bot
Copy link
Member Author

Comment by dangoor
Thursday Jan 30, 2014 at 02:58 GMT


@adumesny We don't have any hinting for Angular's HTML extensions, it's just for the JS code (that's the kind of hinting that Tern does), and you're correct that we just rely on Tern's Angular support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant