Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JavaScript Function ListNew to Visual Studio Code? Get it now.
JavaScript Function List

JavaScript Function List

Joseph Huckaby

|
1 install
| (0) | Free
Browse named JavaScript functions in the Secondary Side Bar and jump directly to their declarations.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JavaScript Function List

JavaScript Function List adds a compact list of named functions from the active JavaScript file to VS Code's Secondary Side Bar. Functions stay in source order by default, and selecting one jumps straight to its declaration and selects the line.

JavaScript Function List icon

Features

  • Lists function names only, without arguments or return values
  • Supports standard and async functions
  • Keeps functions in source order, with an optional alphabetical sort toggle
  • Refreshes automatically as you edit or switch files
  • Selects the declaration line when you choose a function
  • Ignores anonymous callbacks, closures, promise handlers, comments, and strings
  • Appears directly in the Secondary Side Bar

Supported JavaScript patterns

Plain named functions:

function foo(bar) {}
async function foo2(bar2) {}

Named object properties using the function keyword:

var obj = {
	foo: function(bar) {},
	foo2: async function(bar2) {}
};

Object shorthand methods and class methods:

var obj = {
	foo(bar) {},
	async foo2(bar2) {}
};

class Foo {
	foo(bar) {}
	async foo2(bar2) {}
}

Named function expressions assigned to variables:

var foo = function(bar) {};
const foo2 = async function(bar2) {};

The same object patterns also work inside module.exports = { ... }.

Usage

  1. Open a JavaScript file.
  2. Open the Secondary Side Bar with View > Appearance > Secondary Side Bar if it is hidden.
  3. Select Function List in the Secondary Side Bar.
  4. Select a function name to jump to it and select its declaration line.

Use the sort button in the view title to switch between source order and alphabetical order.

Intentional exclusions

The extension stays focused on explicitly named, traditional JavaScript functions. It does not list:

  • Anonymous callbacks and closures
  • Arrow functions
  • .then() or .catch() handlers
  • Computed method names
  • Getters and setters
  • Functions found inside comments, strings, or template literals

Requirements

JavaScript Function List requires VS Code 1.106 or newer. Version 1.106 introduced direct extension contributions to the Secondary Side Bar.

Development

This extension is written in plain JavaScript and has no runtime dependencies.

npm test

To try it in VS Code, open this folder and press F5 to launch an Extension Development Host.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft