oleg-shilo / codemap.vscode

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

Benefit over existing code outline extensions? #1

Closed st-schneider closed 6 years ago

st-schneider commented 6 years ago

I was just asking myself, what benefits have your implementation over the already existing ones like?

https://github.com/patrys/vscode-code-outline

oleg-shilo commented 6 years ago

I haven't tested that extension. The extension home page does not contain any screenshot so I didn't identify it as belonging to the same category.

Anyway I just tested it now and indeed it is a good extension that brings very similar functionality as Code Map. Right now I can pick only a two differences:

However the major distinction point is that CodeMap is a port of the Sublime CodeMap plugin, which is rather a code mapping infrastructure then a one off specific syntax product.

Thus CodeMap comes with:

In a few days I will be releasing Python mapper. Then it will be turn for Roslyn-based C# mapper, and after that custom mappers and eventually the universal mapper support.

Thus if you are only interested in TypeScript then probably you can stick with vscode-code-outline. Otherwise, keep an eye on CodeMap.

st-schneider commented 6 years ago

Thanks for the elaborate answer. This was very informative.