[TxMt] Feature Request: Copy the content of a tooltip into the clipboard

Niels Kobschaetzki n.kobschaetzki at googlemail.com
Thu May 29 11:57:27 UTC 2008


On Thu, May 29, 2008 at 1:50 PM, Allan Odgaard
<throw-away-2 at macromates.com> wrote:
> On 29 May 2008, at 13:15, Hans-Joerg Bibiko wrote:
>
>>> [...]
>>> We already have ⌃⇧P → Show Scope (as tool tip) and ⌃⇧⌘P → Copy Scope (to
>>> clipboard).
>>>
>>> One could do similar for the statistics command.
>>
>> Well, this would work for specific commands, but I asked for a general
>> approach. Sometimes it would be nice to have the message of any command
>> shown as tool tip in the clipboard etc.
>
> I wasn't necessary proposing we manually go and duplicate all commands with
> tool tip output, just that maybe the decision to run them with "capture to
> clipboard" could be made before the action is launched.
>
>> [...]
>> But how about an option in TM's preference:
>> "Write the content of any tool tip to /tmp/TM_tooltip.txt"
>
> I think a log is an excellent idea. So basically all (command) tool tip
> output goes to ~/Library/Logs/ with a date stamp or similar, preferably with
> some newline escaping so a "repeat last tool tip" command would just tail
> -n1 «log», and similarly for a copy.

If it is implemented as a log the one who implements it should not
forget log-rotation. I guess a new log-file for every day would be
best (old one shouldn't be deleted - maybe there should be an option
how long those files should "live").

Niels


More information about the textmate mailing list