Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do both of the commands at the same time.
Wil
On Sat, Dec 26, 2009 at 9:04 AM, Wilhelm Longshanks wilhelm.longshanks@gmail.com wrote:
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do both of the commands at the same time.
Wil
ctrl-shift-v validates cmd-shift-delete removes trailing whitespace
hth
It's in the text bundle
On Sat, Dec 26, 2009 at 11:24 AM, James Edward Gray II james@graysoftinc.com wrote:
On Dec 26, 2009, at 8:35 AM, Rick DeNatale wrote:
cmd-shift-delete removes trailing whitespace
What bundle is this command in? I'm not seeing it.
James Edward Gray II
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Sat, Dec 26, 2009 at 11:35 PM, Rick DeNatale rick.denatale@gmail.com wrote:
On Sat, Dec 26, 2009 at 9:04 AM, Wilhelm Longshanks wilhelm.longshanks@gmail.com wrote:
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do both of the commands at the same time.
Wil
ctrl-shift-v validates cmd-shift-delete removes trailing whitespace
Right. But I'd like to invoke both at the same time when I hit Command-S.
On 26.12.2009, at 18:06, Wilhelm Longshanks wrote:
On Sat, Dec 26, 2009 at 11:35 PM, Rick DeNatale rick.denatale@gmail.com wrote:
On Sat, Dec 26, 2009 at 9:04 AM, Wilhelm Longshanks wilhelm.longshanks@gmail.com wrote:
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do both of the commands at the same time.
Wil
ctrl-shift-v validates cmd-shift-delete removes trailing whitespace
Right. But I'd like to invoke both at the same time when I hit Command-S.
Hi,
you can record a macro plus a tiny "hack".
Maybe try the following:
-create a dummy tmcommand "SaveDummy": save: current document input:none output:discard no command!
-then record a macro 1) Remove trailing whitespace 2) Ruby Syntax Validation 3) SaveDummy
-save that macro as e.g. "SaveRuby" bound to keystroke ⌘S with scope "source.ruby"
Cheers, --Hans
Not that I recall
On Sat, Dec 26, 2009 at 11:33 AM, James Edward Gray II james@graysoftinc.com wrote:
On Dec 26, 2009, at 10:27 AM, Rick DeNatale wrote:
It's in the text bundle
Ah, yes, I see it now.
Mine doesn't have the shortcut though. Did you assign that locally perhaps?
James Edward Gray II
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Sun, Dec 27, 2009 at 2:36 AM, Hans-Jörg Bibiko bibiko@eva.mpg.de wrote:
On 26.12.2009, at 18:06, Wilhelm Longshanks wrote:
On Sat, Dec 26, 2009 at 11:35 PM, Rick DeNatale rick.denatale@gmail.com wrote:
On Sat, Dec 26, 2009 at 9:04 AM, Wilhelm Longshanks wilhelm.longshanks@gmail.com wrote:
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do both of the commands at the same time.
Wil
ctrl-shift-v validates cmd-shift-delete removes trailing whitespace
Right. But I'd like to invoke both at the same time when I hit Command-S.
Hi,
you can record a macro plus a tiny "hack".
Maybe try the following:
-create a dummy tmcommand "SaveDummy": save: current document input:none output:discard no command!
-then record a macro
- Remove trailing whitespace
- Ruby Syntax Validation
- SaveDummy
-save that macro as e.g. "SaveRuby" bound to keystroke ⌘S with scope "source.ruby"
Thanks. That should work!
Wil