Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ast-queryNew to Visual Studio Code? Get it now.

ast-query

nikaspran

|
506 installs
| (0) | Free
Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ast-query README

Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries.

Uses esquery and typescript-estree.

Preview

Screenshot

Extension Settings

This extension contributes the following settings:

type default description
ast-query.globalFileGlob string **/*.{js,ts} include glob used when searching all files
ast-query.globalIgnoreGlob string **/node_modules/** exclude glob used when searching all files
ast-query.useGitignore boolean true Exclude files specified in gitignore when searching all files

TODO

  • Add ability to toggle active/global search when invoked via command palette
  • Remember actual searched file in search history, rather than just scope
  • Disable search active file buttons in files with wrong file type
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft