get selected text into a variable VSCode

Viewed 2965

Is there an easy way to get selected text into a variable similar to native variable ${lineNumber} which is the current selected line number? It would be very useful as a parameter for link to online help etc. Thank you.

1 Answers
Related