sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

[Feature request] Select and copy popup text

Open Kristinita opened this issue 8 years ago • 9 comments

1. Request

It would be nice, if would be possible select and copy text in Sublime Text popups.

2. Justification

Example popups.

BracketHighlighter:

BracketHighlighter

SublimeLinter csslint:

SublimeLinter

  1. I'm not good at speaking English. Hundreds of times in a day I select texts and translate them via QTranslate. If select and/or copy texts in popup will be possible, I don't need to print texts for translating. I make fewer steps.
  2. For example, I don't know vendor-prefix csslint rule. I need to print popup text in search bar, that get information about rule. If select and/or copy texts in popup will be possible — I select and copy text from popup → I press Bang hotkey → I see Google SERP. I make fewer steps.

3. Desirable behavior

Opportunity select and copy text in Sublime Text popups.

Thanks.

Kristinita avatar Apr 12 '17 07:04 Kristinita

As a workaround until this functionality is available, plugins could add a "Copy Text to Clipboard" link in the popup, just like Tools -> Developer -> Show Scope Name does.

keith-hall avatar Apr 12 '17 07:04 keith-hall

@keith-hall

Thanks for this! I think this is a good work-around for the time being.

kylebebak avatar Jul 02 '19 14:07 kylebebak

Selecting and copying out of popups would be a very nice feature for LSP popups.

silverwind avatar May 29 '24 08:05 silverwind

is there any solution ?

gxanshu avatar Jun 11 '24 14:06 gxanshu

is there any solution ?

The plugin author has to add a button, which triggers a custom copy command, for copying whatever designed to be copied.

jfcherng avatar Jun 11 '24 16:06 jfcherng

I need to copy lsp content that came on popup which plugin I have to install ? Or I which setting of lsp I can turn on copy feature ?

gxanshu avatar Jun 12 '24 01:06 gxanshu

I need to copy lsp content that came on popup which plugin I have to install ? Or I which setting of lsp I can turn on copy feature ?

if you are not the plugin developer, there is nothing you can do unfortunately.

jfcherng avatar Jun 12 '24 02:06 jfcherng

As the labels show, this is a missing feature in the minihtml renderer. I was looking for its source code, but could not find it anywhere, so it seems it is closed source, which is a shame.

silverwind avatar Jun 12 '24 13:06 silverwind

Sublime text can be the world's best code editor if they made it open source or at-lest make it more hackable editor

gxanshu avatar Jun 12 '24 13:06 gxanshu

Tools->LSP-Toggle Diagnostics Panel (Ctrl+Alt+M)

tea06194 avatar Jan 14 '25 18:01 tea06194

Tools->LSP-Toggle Diagnostics Panel (Ctrl+Alt+M)

This is my life saver!! Ideally a copy button in the pop-up will be great

DavidHe1127 avatar Mar 31 '25 11:03 DavidHe1127