[TxMt] Re: R bundle: find variables in object

Ross Ahmed rossahmed at googlemail.com
Sat Dec 28 17:42:48 UTC 2013


What language could I use to scan the source? Could you give some
indications of what code should look like and where it should be placed
within TextMate?

On 19/12/2013 04:12, "Allan Odgaard" <mailinglist at textmate.org> wrote:

>On 24 Nov 2013, at 20:18, Ross Ahmed wrote:
>
>> In R.app on Mac OSX, pressing tab after an object name and dollar sign
>> will list all variables contained within that object [Š] Is it
>> possible to mimic this behaviour in a .R file in TextMate?
>
>Not without writing code to scan your source and produce a list of the
>variables contained in the object.
>
>Though if you have code to do this, setting up tab to insert that as a
>completion list (snippet) when tab is pressed and is to the right of an
>object is fairly simple.
>
>_______________________________________________
>textmate mailing list
>textmate at lists.macromates.com
>http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list