Generate tags file for javascript codebase using static code analyses (babylon).
Yes, it is fast.
The following will generate tags
file in the current folder:
npm i -g js-editor-tags
git ls-files | js-editor-tags
You can also automatically keep tags file up to date. For example, using fswatch:
fswatch -0 -r . | while read -d "" file_path; do git ls-files $file_path; done | js-editor-tags -u
Another option is to use a git hook to run the script. Here's an example.
yarn test