gediminasz / ctags-companion

A Visual Studio Code symbols provider based on Ctags
https://marketplace.visualstudio.com/items?itemName=gediminaszlatkus.ctags-companion
MIT License
25 stars 7 forks source link

helper.js:toSymbolKind(): add more universal ctags kinds #6

Closed hirooih closed 3 years ago

hirooih commented 3 years ago

First thank you for your ctags companion extension. It helps me a lot.

Currently only "class", "function", "member", and "variable" kind-tags are mapped to SymbolKind. Universal-ctags support much more kind-tags.

I tried to map more universal-ctags kind-tags to SymbolKind as shown in this table. By this fix most of kind-tags for program languages will be supported.

Note: "member" was mapped to SymbolKind.Method. I changed the mapping to SymbolKind.Property.

gediminasz commented 3 years ago

Great, I will make a release tomorrow.