ctags-lang-javascript(7)

ctags-lang-javascript7

Random notes about tagging javascript source code with universal ctags

Usage

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

Overview

This man page gathers random notes about tagging JavaScript source code.

Classes

ES6 introduced the class keyword, but there is still the original method of defining a function and attaching a prototype. ctags follows the convention that function names that start with a capital letter are class constructors.

Change since "0.0"

•

New role foreigndecl for function kind

From ctags 1:6.2.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.