CTAGS-LANG-JAVASCRIPT(7)
π 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
foreigndeclfor 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
- alpine 3.24: ctags-doc 6.2.1-r0 Β· GPL-2.0-or-later
- fedora 43: ctags 6.2.1-1.fc43 Β· GPL-2.0-or-later
- fedora 44: ctags 6.2.1-3.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms