Home Download Buy Blog Forum Support

newbie questions

newbie questions

Postby xiaolai on Thu Oct 04, 2012 1:35 pm

Hi, all, I am a new user of st2.

thanks for reading my questions:

(I'm using ST2 on OS X Mountain Lion.)

1. Is there any way to view all currently available tab triggers? (as I can see in textmate's toolbar menu of Bundles...) or is there any plan to add such a menu?

2. I can see many textmate bundle files, in the ~/Library/Application Support Sublime Text 2/Packages/ directory, such as html/HTML.tmLanguage, or some file ending with .tmPreferences... but how can I make use of these files?

3. In Textmate, when I edit html files, I can use supper + b to wrap text with <strong></strong>, super + i to wrap with <em></em>, how to do so (other keybinds are ok.) in ST2?

4. When I edit a rails view template file (.html.eb), syntax scope chosen as HTML(Rails), "if + tab" gives me php code: <?php if (condition): ?><?php endif ?>, why?

Posts: 1
Joined: Thu Oct 04, 2012 1:19 pm

Re: newbie questions

Postby lperry65 on Mon Nov 26, 2012 4:56 pm

Hi xiaolai,

I'm having the same issues. Although I love TM, I wanted to move to something that was under active development and I had confidence in so I purchased ST2 after trying it for a week. Unfortunately I was working on a PHP project at the time and didn't realise the lack of support ST2 has for rails development out of the box (my bad).

The if+tab inserting a php block is a bug due to the scope of the php snippet which is covered in another post in this forum. I've spent several hours googling for help on ST2 + rails and have come to the conclusion that you have to either role your own or install a package from the community. Personally I dislike both of these options, as a freelance developer I tend to see my editor as a tool and dont want to spend time messing with it, and I'd prefer to have the company that developed the editor create the required plugins as I have more faith in the quality of their code etc.

I'm sure I'll get hammered for my opinions as there are a lot of people who love ST2, I'm one of those people who are happy to pay for good software and ST2 is definitely worth the money it cost me, but I'm contemplating moving to RubyMine for rails development maybe worth you having a look too. :)
Posts: 8
Joined: Mon Nov 26, 2012 4:29 pm

Re: newbie questions

Postby Clams on Mon Nov 26, 2012 8:01 pm

For your third point have a look at https://github.com/ignacysokolowski/SublimeTagWrapper .
Posts: 132
Joined: Fri Dec 30, 2011 7:44 am

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 21 guests