I'm not sure if I'm using this correctly or not. The readme says:
Open online documentation for the currently focused word
Does focused here mean "selected"? Or where the cursor is placed in the text editor?
I tried to step through the code and it appear that getCurrentTokens return and empty array. That in itself returns early after the first call to getCorrectedCurrentToken. position yields 0,0 regardless of where the text caret is located in the editor.
I'm not sure if I'm using this correctly or not. The readme says:
Does focused here mean "selected"? Or where the cursor is placed in the text editor?
I tried to step through the code and it appear that
getCurrentTokens
return and empty array. That in itself returns early after the first call togetCorrectedCurrentToken
.position
yields 0,0 regardless of where the text caret is located in the editor.