Skip to content

New and Noteworthy 1.3.0

Angelo edited this page Mar 1, 2019 · 6 revisions

New and Noteworthy 1.3.0

Here's a list of the most noteworthy things in the Angular Eclipse 1.3.0 release which is available for download since 09/07/2017. You can see issues for 1.3.0

TypeScript 2.4.1

@angular language service

The TypeScript plugin @angular language service is now very well integrated and works too with HTML file:

HTML Angular Demo

To benefit with that:

  • use TypeScript 2.4.1
  • install @angular/language-service with npm
  • declare in your tsconfig.json the plugin @angular/language-service
{
  "compilerOptions": {
    ...
    "plugins": [
      { "name": "@angular/language-service"}
    ]
  }
}

Angular2 syntax coloration

If you activate TextMate syntax coloration, you will benefit with HTML & CSS syntax coloration inside @Component/template and @Component/styles:

Angular2 Syntax Coloration

Wizard & Terminal

TM Terminal is used to execute command. New Angular Project Wizard was a lot improved:

This wizard uses ng new to create the project and configure the project according the node and angular cli selected.

It updates too the tsconfig.json to consume the 2 plugins :

  • @angular/language-service to benefit with Angular completion, hover, validation, hyperlink inside TypeScript and HTML files.
  • tslint-language-service to benefit with tslint validation (and Codelizer too).
{
  "compilerOptions": {
    ...
    "plugins": [
      { "name": "@angular/language-service"},
      { "name": "tslint-language-service"}
    ]
  }
}

Once the cli has finished to generate the project, you can benefit with angular and tslint features: