I'm looking for an extension in Visual Studio Code (vscode) where I can define my custom code outline. Essentially, listing all my functions/definitions in a tree-like manner.
Let's say I'm using a simple language that looks as follows:
begin foo1 arriving procedure
move into queue1
print queue1
send to foo2
end
begin foo2 arriving procedure
move into queue2
print queue2
send to foo3
end
I would like to know if there is an extension for vscode that let's me implement something like this:
Would be nice if it was clickable. To navigate/go to definition, and possible expandable in case of more complex code.
What I've found so far.
vscode code outline https://github.com/patrys/vscode-code-outline , I like this extension except it doesn't work for my language. Example image for a .js file
Show Functions https://marketplace.visualstudio.com/items?itemName=qrti.funclist
Sourcecookifier for notepad++ (Can do what I want but for notepad++ obviously)
I like the second extension (Show Functions) as it is easily customizable in the vscode/settings file. You can define your own regular expression from settings. However, it is not in a outline view fixed to the editor. Nor is it refreshing live.
I like the first extension too as it is in a tree view but I don't seem to know how and where to modify the settings in order to achieve my layout described.
If anyone could point me in right directions it would be very appreciated. I already tried a bit with the documentation of code outline extension but I don't think it is making any sense to me.
PS: First post on StackOverflow please let me know if there's something I should add/change.
Thanks in advance.