Visual Studio Code: Extensions to open a script file referred through "source" and show a diagram of them

Hello Friends

For simplicity purposes consider the following code for the child.sh file:

#! /bin/bash

# shellcheck source=/dev/null
source "$HOME/path/parent.sh"

something(){
 ...
}

...

For Visual Studio Code, according with your own experience and use, I need extensions to accomplish the following goals:

  • Open the parent.sh file is if done Ctrl + Click in the source "$HOME/path/parent.sh" line
  • Open a Dialog Window as a popup if is done Ctrl + mouse hover over the source "$HOME/path/parent.sh" line
  • Show a hierarchy diagram of the 2 script files involved

Thanks in advance

1 Like