Skip to content
angelozerr edited this page Jun 12, 2017 · 1 revision

Code Lens

TypeScript IDE 1.3.0 provides CodeLens features to see references and implementations inside the editor. If you wish to use CodeLens you must Activate CodeLens? preferences from the JavaScript / TypeScript / Editor / CodeLens global preferences:

CodeLens Preferences Page

After that you will benefit with CodeLens:

TypeScript CodeLens Demo

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.