Visual Studio Code: Extension to navigate among the functions in a .sh file?

Hello Friends

For Visual Studio Code used for Linux scripting (bash/shell) purposes and considering the following scenario:

  • Having a .sh file with 20 functions declared

With What extension would be possible do the following sequence of events?:

  1. Through either a keyboard shortcut or mouse support
  2. open a dialog window showing all the functions
  3. do click to go directly to a specific function

Is possible?

Thank You

There is an extension named Shell function outline, maybe this is what you’re looking for.

Thanks for the link. It has an important note to be considered

Hello

After to did do a research was tested the extension

which requires two extensions>

  • shellcheck
  • shfmt

So far it covers the main requirement. These 3 extension are available in VSC marketplace.