[TxMt] Re: Show current scope/block, but not Textmate scope
Allan Odgaard
mailinglist at textmate.org
Sat Jun 14 11:16:44 UTC 2014
On 6 Jun 2014, at 21:45, coccoinomane wrote:
> I would like to have information on the current scope to be printed,
> for
> example, as a tooltip. Again, by "scope" here I mean in the
> programming
> sense […]
You can write a custom command that takes “document” as input and
shows its output in a tool tip.
This command can use the TM_LINE_NUMBER environment variable to figure
out what line the caret is at, and then what “scope” you’re in.
More information about the textmate
mailing list