oleg-shilo / codemap.vscode

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

waiting for supporting cython #70

Open itapty-ily opened 2 years ago

oleg-shilo commented 2 years ago

If you are keen to see this support available, the fastest way to do this is by taking the default Python mapper and extending it to handle Cython-specific syntax.

https://github.com/oleg-shilo/codemap.vscode/blob/9a74df32fa0cf2fab3a0d4226342a860467d1ce3/package.json#L193-L212

The guide for custom mappers is here: https://github.com/oleg-shilo/codemap.vscode/wiki/Adding-custom-mappers#mapping-with-the-generic-mapper

If you share your solution I will include it in the default CodeMap distro.