displays the type info for var declarations
Also displays error information inline if wanted.
NOTE: because some errors were coming up, i disabled the Inline error display feature for now. i'll post an update as soon as the errors get resolved. I am really sorry for your inconvenience.
POLL: should the inline error display be put into a separate extension? please write your opinion in the Q/A section.
C# Var Type CodeLens
This extension enables the display of the inferred types of identifiers declared with the var keyword, similar to the CodeLens items.
This extension works with VS2019
NEW FEATURE: Inline Error display.
You can change the text size and color of the type names, and disable the adornments.
You can also disable the inline error display and show warnings and suggestions too.
New Feature Inline Error display:
When doing Drag&Drop inside an editor window into a line that has adornments, the Drag&Drop operation inserts the text at the beginning of that line. you then have to drag the text into the desired column. this is a known bug in VS that will hopefully be fixed with VS2019.
When changing the options, a refresh must occur in the editor for the changed otions to be respected (e.g. scroll)
improve icons for the extension and for the Command for enabling/disabling the adornments
exclude list e.g. for types or literals / identifier patterns ??