Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7550911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:20:24+00:00 2026-05-30T10:20:24+00:00

I would appreciate if someone could direct me to a website that shows how

  • 0

I would appreciate if someone could direct me to a website that shows how to do this..
Can’t seem to find anything decent enough via google.

This will be the first time I’m doing this kind of thing with a text editor.. It has got to the stage where typing out things like <%= %> is getting old and slow.

I’ve got a rails snippet package and also ryan-on-rails package installed. Just confused with how to start using them.

I’m on max osx – snow leopard

Kind regards

Update

This helped me out. http://webtempest.com/sublime-text-2-how-to-create-snippets/ but I still need a little practice.

  1. I have a package “rails” can’t remember where I got it but the triggering of snippets is working. I’d just like to find a nice list of the commands rather than have to go to each snippet and look for myself. I can find the by clicking on snippets but isn’t there a way I can create a shortcut for that?

  2. Also would like some auto indentation.. and also complete.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:20:27+00:00Added an answer on May 30, 2026 at 10:20 am

    Since you’re new to Sublime Text, I highly recommend you check out: ST2’s Unofficial Documentation. If includes a ton of getting started info plus tons of info for extendibility and plugin development.

    Another great “Getting Started” guide can be found here on Nettuts+.

    If you’re looking a list of your snippets and their associated shortcuts, go to “Tools > Snippets…” from your menu.

    To expand <% into <%| %> (where | is the cursor), add the following you to your User-keybindings (Preferences > Keybindings – User):

     {
       "args": {
         "contents": "% $0 %>"
       }, 
       "command": "insert_snippet", 
       "context": [
         {
           "key": "selector", 
           "match_all": true, 
           "operand": "source.ruby", 
           "operator": "equal"
         },
         { "key": "preceding_text", "operator": "regex_match", "operand": ".*<", "match_all": true }
       ],
       "keys": [
         "%"
         ]
       }
    

    The latest beta includes improved auto-indentation, so if you don’t have that installed, try that out.
    As for autocompletion, Sublime Text 2 by default offers autocompletion of words in the current document (plus all of your snippets/completions from packages). However, if you’re looking for IDE-like autocompletion, there is the SublimeCodeIntel plugin. I am reluctant to mention it because it has not been updated in months and the bug reports keep flowing in.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just cannot get this to work, would appreciate if someone can help. So
i would appreciate if someone could help me on ruby on rails. can i
I don't understand what's happening here. If someone could explain, I would appreciate it.
I am a Java beginner and I would appreciate it if someone here can
new to mvc3, i have a few questions, would appreciate if someone could answer/provide
I'm having a little trouble with this maybe someone could direct me in the
I (Windows 7 user) would appreciate if someone can give a simple explanation or
I would appreciate if someone could explain to me the following behavior: Say I
I would appreciate if someone could help/explain the following please. I am trying to
I know this is not much programming related, but I would appreciate if someone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.