oleg-shilo / codemap.vscode

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

pattern with newline #21

Closed rlodbrok closed 4 years ago

rlodbrok commented 5 years ago

Is there a possibility to identify functions including newline?

In AHK it is possible a function exists like this: func01() { code }

The following should not match: if (matching){ func01() }

My pattern today is: "pattern": "^ (\w)[(].?[)]\s{"

oleg-shilo commented 5 years ago

I think your problem is matching https://github.com/oleg-shilo/codemap.vscode/issues/20 100%