redcar-filter-through-command 1.3.0-java → 1.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +1 -0
- data/README.md +2 -2
- data/docs/cookbook.md +67 -0
- data/docs/images/after.png +0 -0
- data/docs/images/autocomplete.png +0 -0
- data/docs/images/before.png +0 -0
- data/docs/images/cookbook/convert to haml.png +0 -0
- data/docs/images/cookbook/emo.png +0 -0
- data/docs/images/cookbook/gist.png +0 -0
- data/docs/images/cookbook/markdown.png +0 -0
- replace.png +0 -0
- data/docs/images/cookbook/sort lines.png +0 -0
- data/docs/images/cookbook/tidy gsp indentation.png +0 -0
- data/docs/images/cookbook/tidy java indentation.png +0 -0
- data/docs/images/cookbook/what time is it.png +0 -0
- data/docs/images/filter text.png +0 -0
- data/docs/images/html output.png +0 -0
- data/docs/images/html popup output.png +0 -0
- data/docs/images/popup output.png +0 -0
- data/docs/images/run command.png +0 -0
- data/docs/images/speedbar.png +0 -0
- data/docs/images/substitution.png +0 -0
- data/plugin.rb +1 -1
- metadata +22 -1
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
yardoc lib/**/*.rb - license docs/*.md
|
data/README.md
CHANGED
@@ -8,14 +8,14 @@ _A Redcar Editor plugin for manipulating and displaying text using shell command
|
|
8
8
|
|
9
9
|
Version 1.0 supports Redcar 0.8 and above, versions 1.1 and beyond support Redcar 0.12 and above only.
|
10
10
|
|
11
|
-
###Redcar v0.12 and above
|
11
|
+
###Redcar v0.12 and above
|
12
12
|
|
13
13
|
gem install redcar-filter-through-command
|
14
14
|
|
15
15
|
|
16
16
|
alternately, you can install from source:
|
17
17
|
|
18
|
-
###Redcar v0.8 to v0.11
|
18
|
+
###Redcar v0.8 to v0.11
|
19
19
|
|
20
20
|
Download a build from the Downloads section and copy to `~/.redcar/plugins`, or build from source:
|
21
21
|
|
data/docs/cookbook.md
ADDED
@@ -0,0 +1,67 @@
|
|
1
|
+
#Cookbook
|
2
|
+
|
3
|
+
Interesting uses for Filter through Command
|
4
|
+
|
5
|
+
###Sorting Lines
|
6
|
+
|
7
|
+
**Command:** `sort` **Input:** Selection **Output:** Replace Selection
|
8
|
+
|
9
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/sort%20lines.png)
|
10
|
+
|
11
|
+
###Convert HTML/Text to HAML
|
12
|
+
|
13
|
+
*Command:* `html2haml` **Input:** Document **Output:** Replace Document
|
14
|
+
|
15
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/convert%20to%20haml.png)
|
16
|
+
|
17
|
+
###Tidy Java/C/C++ Indentation
|
18
|
+
|
19
|
+
**Command:** `astyle --style=[language] -S` **Input:** Document **Output:** Replace Document
|
20
|
+
|
21
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/tidy%20java%20indentation.png)
|
22
|
+
|
23
|
+
###Tidy ERb/GSP/JSP Indentation
|
24
|
+
|
25
|
+
**Command:** `tidy -xml -imq --wrap 0` **Input:** Document **Output:** Replace Document
|
26
|
+
|
27
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/tidy%20gsp%20indentation.png)
|
28
|
+
|
29
|
+
###Search and Replace
|
30
|
+
|
31
|
+
**Command:** `sed 's/[find]/[replace]/g'` **Input:** Document or Selection **Output:** Replace Document or Replace Selection
|
32
|
+
|
33
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/search%20and%20replace.png)
|
34
|
+
|
35
|
+
###Tidy HTML Indentation
|
36
|
+
|
37
|
+
**Command:** `tidy -q` **Input:** Document **Output:** Replace Document
|
38
|
+
|
39
|
+
###Insert a Random Emoticon
|
40
|
+
|
41
|
+
**Command:** `curl -s http://jpw.heroku.com/emo/one` **Input:** None **Output:** Insert as Text
|
42
|
+
|
43
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/emo.png)
|
44
|
+
|
45
|
+
###Show the Time
|
46
|
+
|
47
|
+
**Command:** `date` **Input:** None **Output:** Show as Popup
|
48
|
+
|
49
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/what%20time%20is%20it.png)
|
50
|
+
|
51
|
+
###Preview Markdown
|
52
|
+
|
53
|
+
**Command:** `Markdown.pl` **Input:** Document **Output:** Show as HTML
|
54
|
+
|
55
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/markdown.png)
|
56
|
+
|
57
|
+
###Post a Gist
|
58
|
+
|
59
|
+
(somewhat slow, investigating)
|
60
|
+
|
61
|
+
**Command:** `gist` **Input:** Document or Selection **Output:** Open as URL
|
62
|
+
|
63
|
+
![](https://github.com/kattrali/redcar-filter-through-command/raw/redcar-0.12/docs/images/cookbook/gist.png)
|
64
|
+
|
65
|
+
###Sparkup!
|
66
|
+
|
67
|
+
**Command:** `sparkup` **Input:** Selection **Output:** Replace Selection
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
replace.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/plugin.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: redcar-filter-through-command
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.3.
|
5
|
+
version: 1.3.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Delisa Mason
|
@@ -88,10 +88,31 @@ files:
|
|
88
88
|
- lib/filter_command/formats/replace.rb
|
89
89
|
- lib/filter_command/formats/discard.rb
|
90
90
|
- lib/filter_command/formats/insert.rb
|
91
|
+
- docs/cookbook.md
|
92
|
+
- docs/images/html output.png
|
93
|
+
- docs/images/autocomplete.png
|
94
|
+
- docs/images/after.png
|
95
|
+
- docs/images/popup output.png
|
96
|
+
- docs/images/speedbar.png
|
97
|
+
- docs/images/before.png
|
98
|
+
- docs/images/substitution.png
|
99
|
+
- docs/images/html popup output.png
|
100
|
+
- docs/images/filter text.png
|
101
|
+
- docs/images/run command.png
|
102
|
+
- docs/images/cookbook/tidy gsp indentation.png
|
103
|
+
- docs/images/cookbook/search and replace.png
|
104
|
+
- docs/images/cookbook/emo.png
|
105
|
+
- docs/images/cookbook/what time is it.png
|
106
|
+
- docs/images/cookbook/markdown.png
|
107
|
+
- docs/images/cookbook/gist.png
|
108
|
+
- docs/images/cookbook/sort lines.png
|
109
|
+
- docs/images/cookbook/tidy java indentation.png
|
110
|
+
- docs/images/cookbook/convert to haml.png
|
91
111
|
- license
|
92
112
|
- README.md
|
93
113
|
- changes.md
|
94
114
|
- plugin.rb
|
115
|
+
- .yardopts
|
95
116
|
homepage: http://github.com/kattrali/redcar-filter-through-command
|
96
117
|
licenses:
|
97
118
|
- MIT
|