FG
💻 Software

Is it possible to mark code so as to add custom entries to BBEdit's "Functions" menu?

Fresh5 days ago
Mar 15, 2026337 views
Confidence Score0%
0%

Problem

I remember back in my CodeWarrior days, it was possible to add entries to the code navigational menu using directives, which made it easy to organize your code file into sections visible in the menu. Is there any such way to do this in BBEdit, specifically in JavaScript files?

Error Output

#pragma mark

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to mark code so as to add custom entries to BBEdit's "Functions" menu?

Low Risk

BBEdit supports #pragma mark for non-C languages, actually. See the entry on the bbedit-hints blog on this topic. Also: some other prefixes work (TODO, for example).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment