https://github.com/nikaspran/vscode-ast-query
Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries in Visual Studio Code
https://github.com/nikaspran/vscode-ast-query
abstract-syntax-tree ast esquery vscode-extension
Last synced: 10 months ago
JSON representation
Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries in Visual Studio Code
- Host: GitHub
- URL: https://github.com/nikaspran/vscode-ast-query
- Owner: nikaspran
- License: mit
- Created: 2020-04-14T08:54:39.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:55:59.000Z (over 3 years ago)
- Last Synced: 2025-04-03T00:41:17.641Z (about 1 year ago)
- Topics: abstract-syntax-tree, ast, esquery, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=nikaspran.ast-query
- Size: 2.16 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ast-query README
Search and highlight JavaScript and TypeScript via Abstract Syntax Tree queries.
Uses [esquery](https://github.com/estools/esquery) and [typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/typescript-estree).
## Preview

## 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