-
Notifications
You must be signed in to change notification settings - Fork 0
/
toolbar.cson
50 lines (46 loc) · 1.01 KB
/
toolbar.cson
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
# {
# type: "button"
# icon: "gear"
# callback: "flex-tool-bar:edit-config-file"
# tooltip: "Edit Tool Bar"
# }
{
type: "button"
icon: "globe"
callback: "multiple-find-replace:replace"
tooltip: "Translate code into foreign language"
show: {
pattern: "*.cpp"
}
}
{
type: "button"
icon: "alphabetical"
iconset: "mdi"
callback: "multiple-find-replace2:replace"
tooltip: "Translate code back into English"
show: {
pattern: "*.cpp"
}
}
{
type: "spacer"
show: {
pattern: "*.cpp"
}
}
{
type: "button"
icon: "language-cpp"
iconset: "mdi"
callback: ["multiple-find-replace2:replace", "script:run"]
tooltip: "Translate and run code"
show: {
pattern: "*.cpp"
}
}
]