insert erb tags not working

View: New views
4 Messages — Rating Filter:   Alert me  

insert erb tags not working

by David Morton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure how this happened, but ctrl->  (ctrl, shift and .) does not
create <% %> tags.  I can select the menu item and get them, but the
hotkey doesn't work.  I also went into the bundle editor, and reassigned
the hotkeys to something else and get nothing.

When I change it to apple <, I get a beep.

I downloaded the most recent bundles for ruby and ruby on rails.   What
am I missing?

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: insert erb tags not working

by Takaaki Kato-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 24, 2009, at 8:28 AM, David Morton wrote:

> I'm not sure how this happened, but ctrl->  (ctrl, shift and .) does  
> not
> create <% %> tags.  I can select the menu item and get them, but the
> hotkey doesn't work.  I also went into the bundle editor, and  
> reassigned
> the hotkeys to something else and get nothing.
>
> When I change it to apple <, I get a beep.
>
> I downloaded the most recent bundles for ruby and ruby on rails.    
> What
> am I missing?

Have you set the language to HTML(Rails)?
See the image below
http://img.skitch.com/20091024-pk6mmmmh67mki1ba9mdptgrunn.jpg

- T

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: insert erb tags not working

by David Morton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Takaaki Kato wrote:

> On Oct 24, 2009, at 8:28 AM, David Morton wrote:
>
>> I'm not sure how this happened, but ctrl->  (ctrl, shift and .) does  
>> not
>> create <% %> tags.  I can select the menu item and get them, but the
>> hotkey doesn't work.  I also went into the bundle editor, and  
>> reassigned
>> the hotkeys to something else and get nothing.
>>
>> When I change it to apple <, I get a beep.
>>
>> I downloaded the most recent bundles for ruby and ruby on rails.    
>> What
>> am I missing?
>
> Have you set the language to HTML(Rails)?
> See the image below
> http://img.skitch.com/20091024-pk6mmmmh67mki1ba9mdptgrunn.jpg

Hmm, no, it was set to Ruby on Rails.    That works when I switch it.
So now why is it not set right on erb files?


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Re: insert erb tags not working

by Michael Sheets-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 24, 2009, at 10:18 AM, David Morton wrote:

> Hmm, no, it was set to Ruby on Rails.    That works when I switch it.
> So now why is it not set right on erb files?

It is set correctly by default, but if you ever change it it will them  
remember your choice in the future for that file extension.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate