You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using universal ctags with tagbar, and tagbar is not generating the type information correctly.
I checked and tagbar is indeed using the correct executable (not the one mac has by default).
The text was updated successfully, but these errors were encountered:
Currently the way tagbar functions with regard to the type is one of two ways. The first and more accurate way is if ctags gives us the type. This is seen with the --fields=t output from ctags.
This field isn't supported by all languages in ctags though, so that gives the second approach. If bot found, tagbar will do its best to try and guess at the type. To be consistent, it will extract the contents of the line preceding the tag and use that as the datatype. This cor was added as part of #698, specifically the s:getDataType() routine.
It is not really feasible to create a separate parser for each language within tagbar itself, so the best bet would be to work with the ctags team to add datatype support the typescript language. If that was done, then tagbar should be able to get the type correctly.
Im using universal ctags with tagbar, and tagbar is not generating the type information correctly.
I checked and tagbar is indeed using the correct executable (not the one mac has by default).
The text was updated successfully, but these errors were encountered: