CTAGS-LANG-JAVASCRIPT(7)

πŸ“¦
version 6.2.1 Β· 6 versions
, in alpine 3.24, fedora 43, fedora 44

πŸ’– ctags-lang-javascript(7) πŸ’–

okay bestie, so this is a page from Universal Ctags β€” the manual for ctags-lang-javascript, and it's literally just a lil scrapbook of random notes about tagging JavaScript source code. no cap. let's get into it πŸ¦‹


✨ SYNOPSIS ✨

here's the vibe, all three ways you can point ctags at your JS:

ctags ... --languages=+JavaScript ...
ctags ... --language-force=JavaScript ...
ctags ... --map-JavaScript=+.js ...

pick your fighter, they all work πŸ’…


🌸 DESCRIPTION 🌸

so like. this man page is a collection. a lil grab bag. it gathers up random notes about tagging JavaScript source code β€” that's the whole assignment, that's it, periodt ✨


πŸ‘‘ CLASSES πŸ‘‘

okay so here's the tea 🍡 ES6 rolled up and introduced the class keyword β€” iconic of it β€” but the original method of doing the exact same thing never left: you define a function and then attach a prototype to it. old school but still slaying.

and ctags follows this convention: function names that start with a capital letter are class constructors. so if it's PascalCase, ctags is reading it as a constructor. iykyk πŸ’…

πŸŽ€ Change since "0.0" πŸŽ€

  • New role foreigndecl for function kind ✨

🫢 SEE ALSO 🫢


and that's the whole page, bestie, we ate and left no crumbs πŸ“ this was version 6.2.1 of the page, from the Universal Ctags fam β€” go forth and tag your JavaScript, you main character πŸ’œπŸŒˆπŸ‘‘

πŸ“¦ where this page comes from