sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
810 stars 39 forks source link

[Feature request] Select and copy popup text #1649

Open Kristinita opened 7 years ago

Kristinita commented 7 years ago

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.

keith-hall commented 7 years ago

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.

kylebebak commented 5 years ago

@keith-hall

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

silverwind commented 5 months ago

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

gxanshu commented 5 months ago

is there any solution ?

jfcherng commented 5 months ago

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.

gxanshu commented 4 months ago

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 ?

jfcherng commented 4 months ago

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.

silverwind commented 4 months ago

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.

gxanshu commented 4 months ago

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