Steps to evaluate tide in emacs with angular/typescript project
-
Clone this repository
git clone https://github.com/perveziqbal/angular-tide-demo.git
-
Install npm packages
cd angular-tide-demo npm install
-
Open emacs
emacs -Q -l tide-emacs.el
-
Make sure you edit the tsserver.js
Replace the following line
var diagnostics = selector(project, file);
with
var diagnostics = selector(project, file) || [];
-
Open src/app/hello/hello.component.html
-
If needed install typescript's latest stable version globally
npm uninstall -g typescript npm install -g typescript