oleg-shilo / codemap.vscode

Code map (syntax tree) of the active document
MIT License
85 stars 28 forks source link

[help]how to use info from line which is after|before the matched line #74

Closed iamqiz closed 2 years ago

iamqiz commented 2 years ago

for example code is:

# the func is used to  xxxxxx
# ggggg
# yyyy
def aaaa(){

}

pattern to match func is : ^def\s+.* i want to show "xxxxxx" from comment line instead of func name "aaaa" how to do it ? thanks!

oleg-shilo commented 2 years ago

Should be handled the same way as #73