Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀 Request] How to get the hover help of a selected text in text editor #1152

Open
rytts opened this issue Feb 26, 2024 · 2 comments
Open
Labels
enhancement New feature or request
Milestone

Comments

@rytts
Copy link

rytts commented Feb 26, 2024

Describe the request

Hi,

I'm having trouble retrieving the text/info that appears when I hover over a part of the code in the text editor (ie. red circled part in screenshot), and would appreciate any help. How can I approach this? I've tried getting the CodeLens, then the Tooltip, but it appears to be undefined. Please see steps to reproduce for more details. Thanks!
MicrosoftTeams-image

Usage

Steps to reproduce

const editor = new TextEditor();
const editor1 = await new EditorView().openEditor("example.c");
await editor.selectText("text");
const lens = await editor.getCodeLens("text");
await lens?.click();
const text = await lens?.getText();
const tooltip = await lens?.getTooltip();

Operating System

Ubuntu 22.04

Visual Studio Code

1.85.0

vscode-extension-tester

7.0.0

NodeJS

18.15.0

@rytts rytts added enhancement New feature or request new-issue New issue which was not discussed yet labels Feb 26, 2024
@djelinek djelinek removed the new-issue New issue which was not discussed yet label Mar 20, 2024
@djelinek djelinek moved this from New to Backlog in ExTester Mar 20, 2024
@djelinek djelinek added this to the BACKLOG milestone Mar 20, 2024
@djelinek
Copy link
Collaborator

Hello, this hover get text or click on quick actions is still not implemented at the moment 🙁

Related to #429

@djelinek
Copy link
Collaborator

Related to #1248

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants