Skip to content

New and Noteworthy 1.3.0

angelozerr edited this page Jun 12, 2017 · 9 revisions

New and Noteworthy 1.3.0

Here's a list of the most noteworthy things in the typescript.java 1.3.0 release which is available for download since ?. You can see issues for 1.3.0

CodeLens

CodeLens can be available to see references an dimplementation inside the TypeScript editor:

TypeScript CodeLens Demo

See here for more informations.

Pay attention, it's not perfect, there are some limitations:

  • lens doesn't work for the first line of the editor
  • if tsserver is not available after 5 seconds, CodeLens will not work. Please update the text editor to refresh teh compute of the CodeLens.

Refactoring rename

TODO : add demo

Severity

Since tslint 5.0.0, severity can be customized per rule. Severities are now supported inside the TypeScript Editor by using the tslint-language-service.

Here a demo with tslint and severities:

tslint Severity Demo

Here a tslint.json example which configure "quotemark" rule with "warning" severity:

{
	"rules": {
		"quotemark": {
			"severity": "warning",
			"options": [
				"single"
			]
		}
	}
}

Compare

Before

After