62
GitHub - AdamNiederer/ng2-mode: Angular Support for Emacs
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
ng2-mode
The Angular 2+ support Emacs needs
Features
- Syntax highlighting
- Syntactic indentation
- Data binding macros
- typescript-mode integration
- tide integration
Dependencies
- typescript-mode is required for typescript editing support
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 modeng2-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+
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK