62

GitHub - AdamNiederer/ng2-mode: Angular Support for Emacs

 5 years ago
source link: https://github.com/AdamNiederer/ng2-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

GPLv3 MELPA

ng2-mode

The Angular 2+ support Emacs needs

Screenshot

Features

  • Syntax highlighting
  • Syntactic indentation
  • Data binding macros
  • typescript-mode integration
  • tide integration

Dependencies

Installation

Install this package with M-x package-install RET ng2-mode, and adding the following to your init.el file:

(require 'ng2-mode)

Supported File Types

ng2-ts-mode is automatically activated in *.component.ts and *.service.ts ng2.html-mode is automatically activated in *.component.html

Functions

  • ng2-ts-mode - Enable Angular 2 TypeScript mode
  • ng2-html-mode - Enable Angular 2 Template mode

Contributing

If you want to see a function in either mode, feel free to open an issue or a pull request.

License

GPLv3+


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK