[
https://issues.apache.org/jira/browse/NETBEANS-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224633#comment-16224633
]
Dalton Notetech commented on NETBEANS-107:
------------------------------------------
*How the Language Service works*
When you use an editor with a language service, there's an editor process which
starts a separate language process/service to which it speaks through an RPC.
Any time you type inside of the editor, it sends information to the other
process to track the state of your project. When you trigger a completion list
within a template, the editor process first parses the template into an HTML
AST, or abstract syntax tree. Then the Angular compiler interprets what module
the template is part of, the scope you're in, and the component selector. Then
it figures out where in the template AST your cursor is. When it determines the
context, it can then determine what the children can be.
For more in-depth information, see the [Angular Language Service
API|https://github.com/angular/angular/blob/master/packages/language-service/src/types.ts]
> Support Angular Language Service
> --------------------------------
>
> Key: NETBEANS-107
> URL: https://issues.apache.org/jira/browse/NETBEANS-107
> Project: NetBeans
> Issue Type: Wish
> Components: cnd - Code Completion, cnd - Editor
> Affects Versions: 9.0
> Reporter: Dalton Notetech
> Assignee: Geertjan Wielenga
> Labels: Angular, AngularJS, Typesript
> Fix For: 9.0
>
>
> Add support for angular's new language service described in
> https://next.angular.io/guide/language-service
> This will allow
> * Autocompletion
> * Error checking
> * Navigation
> etc in angular.
> Also make sure that non standard html tags won't cause any issues (atleast
> errors should be replaced with warnings and there should not be any
> formatting issues)
> Also Remove support for Angular 1 and add inbuilt support for typescript
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)