mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 01:44:19 +00:00
first commit of a million rails snippets, conditions missing, command implementation missing...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Controller
|
||||
## binding: "~$@"
|
||||
## condition: "text.html.ruby, source.ruby.rails.embedded.html, meta.rails.helper, meta.rails.functional_test, source.js, source.css, source.yaml, meta.rails.model, meta.rails.unit_test, text.haml"
|
||||
# --
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: File on Current Line
|
||||
## binding: "~@"
|
||||
## condition: "source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, text.haml"
|
||||
# --
|
||||
7
extras/imported/rails-mode/Go To/Go To File.yasnippet
Normal file
7
extras/imported/rails-mode/Go To/Go To File.yasnippet
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Alternate File
|
||||
## binding: "~@"
|
||||
## condition: "source.ruby.rails, text.html.ruby, source.ruby.rails.embedded.html, source.yaml, text.haml, source.css, source.js, source.sass"
|
||||
# --
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Functional Test
|
||||
## binding: "~$@"
|
||||
## condition: "meta.rails.controller, meta.rails.helper, meta.rails.model, source.yaml, meta.rails.unit_test"
|
||||
# --
|
||||
7
extras/imported/rails-mode/Go To/Go To Helper.yasnippet
Normal file
7
extras/imported/rails-mode/Go To/Go To Helper.yasnippet
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Helper
|
||||
## binding: "~$@"
|
||||
## condition: "text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.model, meta.rails.unit_test, meta.rails.functional_test, text.haml"
|
||||
# --
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Javascript
|
||||
## binding: "~$@"
|
||||
## condition: "text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml"
|
||||
# --
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Stylesheet
|
||||
## binding: "~$@"
|
||||
## condition: "text.html.ruby, source.ruby.rails.embedded.html, meta.rails.controller, meta.rails.helper, text.haml"
|
||||
# --
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to Unit Test
|
||||
## binding: "~$@"
|
||||
## condition: "meta.rails.controller, meta.rails.helper, meta.rails.model, meta.rails.functional_test, source.yaml"
|
||||
# --
|
||||
7
extras/imported/rails-mode/Go To/Go To View.yasnippet
Normal file
7
extras/imported/rails-mode/Go To/Go To View.yasnippet
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# type: command
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Go to View
|
||||
## binding: "~$@"
|
||||
## condition: "meta.rails.controller, meta.rails.mailer, source.js, source.css"
|
||||
# --
|
||||
Reference in New Issue
Block a user