typescript.el
typescript.el copied to clipboard
TypeScript-support for Emacs
Take the line of typical REST service boilerplate: ````typescript return this.httpClient.post(url, { Name: name, ContactId: contactId }) ```` In Emacs this gets fontified incorrectly:  Modified to include a line-break...
GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.1) of 2019-02-26 ``` Leaving directory ‘/home/thomas/.emacs.d/elpa/typescript-mode-20181221.905’ Compiling file /home/thomas/.emacs.d/elpa/typescript-mode-20181221.905/typescript-mode-test-utilities.el at Thu Feb 28 19:29:48 2019 Entering directory ‘/home/thomas/.emacs.d/elpa/typescript-mode-20181221.905/’ Compiling file /home/thomas/.emacs.d/elpa/typescript-mode-20181221.905/typescript-mode.el...
Arrow functions should probably be indented like normal functions, though right now there is a difference: ``` // OK function foofunc(param: string): void { console.log('indented as expected'); } // Double...
Below are examples of 3 types of functions with single line parameters (S suffix) or double line parameters (D suffix). One would expect the behavior of single and multi-line parameters...
`typescript.el` indents like this: ``` var x = 5, y = 6; ``` I posit that it should indent like this: ``` var x = 5, y = 6; ```
The mode currently operates so that ``` const x = `abc def`; ``` Will be indented to: ``` const x = `abc def`; ``` However, `tide-format` leaves it as in...
As far as I know, TypeScript tends to be documented like this: ``` /** * Run the provided promise, and call process.exit with an appropriate code. */ export function runPromise(promise:...
Hi! This is just an issue to make sure that we put in place some mechanisms to not collide when `typescript-mode` lands in core. Maybe deprecation or some other guards...
forward-list in typescript-ts-mode wont match closing tags in this instance: `` forward-list goes from "
Thanks
I just want to say thanks. Thank you for long time.