Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.7 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.7 KB

README.md

Features

This vscode extension is an AST explorer that handles file formats supported by the typescript compiler. The said formats are typescript, javascript, jsx, tsx. When the current editor is in one of this format, use the command view: show AST explorer in the palette to display the AST explor

The said explorer displays two treeviews :

  • AST explorer displays the AST tree nodes in a concise format. For keywords, it displays the keyword itself. For other tokens it displays syntaxkind
  • TS AST Branch (not implemented) will display more detailed information the branch that starts at the selected node and ends at the root of the AST (currently display only the root node).

Features TBD

Clicking in any of the current editor view , or the two treeview will update the other two views.

TS AST Branch

Each node will contain tabular data about the branch. Each node of the branch being tabular data So that implies some sort of webview but there is no API in vscode so a third party module must be involed.

randome stuff

for the README generated by yo code see yo-README.md. It contains stuff true of all extensions generated by yo code. vsc-extension-quickstart.md contains information about developping and debugging the extension. I will probably delete the formet and keep the latter for potential contributors.

A config option updateASTOnSaveOnly : either allows to update the AST of the current document on save, or do it continuously as the file is edited.