Just pause your keyboard cursor over a variable or function (default: 500ms), and the tooltip appears as if you hovered it with your mouse.
If you try it out, I’d really appreciate your feedback or ideas for improvements. GitHub repository for feedback and source code (https://github.com/developerjhp/vscode-quick-info-on-cursor)