Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Ruby on Rails Yasnippet possible: Install bug, Typo, Helpful preference
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Charles Magid (rubyCharles)  
View profile  
 More options Jan 30 2012, 12:47 pm
From: "Charles Magid (rubyCharles)" <cmma...@gmail.com>
Date: Mon, 30 Jan 2012 09:47:23 -0800 (PST)
Local: Mon, Jan 30 2012 12:47 pm
Subject: Ruby on Rails Yasnippet possible: Install bug, Typo, Helpful preference
In the section next to the bottom of the readme:  "Using imported
textmate snippets (rails example)".

A) In my experience, Rinari must be installed for yasnippet to work
properly with rails-mode.

B) I believe there is a small typo wrt the yas/snippet-dirs. I changed
the following line:

  Context

    1. (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet")
    2. (require 'yasnippet) ;; not yasnippet-bundle

    3.OLD (setq yas/snippet-dirs '("~/.emacs.d/snippets" "~/.emacs.d/
extras/imported"))
    3.NEW (setq yas/snippet-dirs '("~/.emacs.d/plugins/yasnippet/
snippets" "~/.emacs.d/plugins/yasnippet/extras/imported"))

C) Also I changed the prompt order to start with dropdown to have it
be the default.

    4.ADD (setq yas/use-menu (quote abbreviate))
    5.ADD (setq yas/prompt-functions (quote (yas/dropdown-prompt yas/x-
prompt yas/completing-prompt yas/ido-prompt yas/no-prompt)))

  Context

    6. (yas/global-mode 1)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »