-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathclj_light_refactor.behaviors
115 lines (88 loc) · 5.48 KB
/
clj_light_refactor.behaviors
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[[:app :lt.objs.plugins/load-js ["react.min.js" "clj-light-refactor_compiled.js"]]
[:app :lt.objs.plugins/load-css "css/refactor.css"]
;; Middleware independent refactorings
[:editor.clj.common :lt.plugins.cljrefactor.threading/thread-fully!]
[:editor.clj.common :lt.plugins.cljrefactor.threading/thread-one!]
[:editor.clj.common :lt.plugins.cljrefactor.threading/thread-first-fully!]
[:editor.clj.common :lt.plugins.cljrefactor.threading/thread-last-fully!]
[:editor.clj.common :lt.plugins.cljrefactor.threading/unwind-fully!]
[:editor.clj.common :lt.plugins.cljrefactor.threading/unwind-one!]
[:editor.clj.common :lt.plugins.cljrefactor.letz/introduce-let!]
[:editor.clj.common :lt.plugins.cljrefactor.letz/promote-let!]
[:editor.clj.common :lt.plugins.cljrefactor.letz/move-to-let!]
[:editor.clj :lt.plugins.cljrefactor.form-refactor/cycle-if!]
[:editor.cljs :lt.plugins.cljrefactor.form-refactor/cycle-if!]
[:editor.clj :lt.plugins.cljrefactor.form-refactor/cycle-col!]
[:editor.cljs :lt.plugins.cljrefactor.form-refactor/cycle-col!]
[:editor.clj :lt.plugins.cljrefactor.definition/start-show-definition]
[:editor.clj :lt.plugins.cljrefactor.definition/show-definition-at-cursor]
[:editor.clj :lt.plugins.cljrefactor.definition/finish-show-definition]
[:editor.cljs :lt.plugins.cljrefactor.definition/start-show-definition]
[:editor.cljs :lt.plugins.cljrefactor.definition/show-definition-at-cursor]
[:editor.cljs :lt.plugins.cljrefactor.definition/finish-show-definition]
[:editor.clj :lt.plugins.cljrefactor/ensure-connected]
[:editor.clj :lt.plugins.cljrefactor/clj-refactor.maybe-project]
[:editor.clj :lt.plugins.cljrefactor.usages/find-symbol.res]
[:editor.clj :lt.plugins.cljrefactor.usages/rename-symbol.start]
[:editor.clj :lt.plugins.cljrefactor.usages/rename-symbol.prompt]
[:editor.clj :lt.plugins.cljrefactor.usages/rename-symbol.res]
[:editor.clj :lt.plugins.cljrefactor.namespace/clean-ns-res]
[:editor.clj :lt.plugins.cljrefactor/resolve-missing!]
[:editor.clj :lt.plugins.cljrefactor/resolve-missing-res]
[:editor.clj :lt.plugins.cljrefactor/resolve-missing-selected]
;; Autocompleter
[:editor.clj :lt.plugins.cljrefactor.completer/completer.start]
[:editor.clj :lt.plugins.cljrefactor.completer/completer.res]
[:editor.clj :-lt.plugins.clojure/use-local-hints] ; Override clojure plugin hints
[:editor.clj :-lt.plugins.auto-complete/textual-hints] ; just messes with autocomplete of clojure stuff
[:editor.clj :lt.plugins.cljrefactor.completer/use-local-hints]
;; Testing
[:editor.clj :lt.plugins.cljrefactor.testing/test-all]
[:editor.clj :lt.plugins.cljrefactor.testing/test-one]
[:editor.clj :lt.plugins.cljrefactor.testing/test-res]
; Extract fn
[:editor.clj :lt.plugins.cljrefactor.function/extract-fn!]
[:editor.clj :lt.plugins.cljrefactor.function/unbound-res]
; Format code (clj-format)
[:editor.clj :lt.plugins.cljrefactor.format/start-format-code]
[:editor.clj :lt.plugins.cljrefactor.format/format-code!]
[:editor.clj :lt.plugins.cljrefactor.format/format-res]
; Macroexpand
[:editor.clj :lt.plugins.cljrefactor.macroexpand/start-macroexpand]
[:editor.clj :lt.plugins.cljrefactor.macroexpand/macroexpand]
[:editor.clj :lt.plugins.cljrefactor.macroexpand/macroexpand-res]
[:editor.clj.project-file :-lt.plugins.auto-complete/textual-hints] ; just messes with the artifacts completions
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/artifact-hints]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/finish-artifact-hints]
[:refactor.artifacts :lt.plugins.cljrefactor.artifacts/trigger-artifact-hints]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/finish-artifact-version-hints]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/trigger-artifact-version-hints]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/artifact-version-selected]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/hotload-dep!]
[:editor.clj.project-file :lt.plugins.cljrefactor.artifacts/hotload-dep.res]
[:editor.clj.project-file :-lt.plugins.cljrefactor.completer/use-local-hints]
[:refactor.usages :lt.plugins.cljrefactor.usages/on-close]
[:refactor.usages :lt.plugins.cljrefactor.usages/find-symbol.start]
[:refactor.usages :lt.plugins.cljrefactor.usages/move-next]
[:refactor.usages :lt.plugins.cljrefactor.usages/move-prev]
[:refactor.usages :lt.plugins.cljrefactor.usages/open-active]
[:refactor.usages :lt.plugins.cljrefactor.usages/clear!]
;; Namespace browser
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/escape!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/clear!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/focus!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/move-up!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/move-down!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/update-ns-list!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/select!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/search!]
[:clojure.nsbrowser :lt.plugins.cljrefactor.nsbrowser/set-nsbrowser-filters
["^cider\\.|^deps\\.|^refactor-nrepl\\.|^ibdknox\\.|^lighttable\\.nrepl"]]
[:editor.clj :lt.plugins.cljrefactor.nsbrowser/list-ns]
[:editor.clj :lt.plugins.cljrefactor.nsbrowser/list-ns-res]
[:editor.clj :lt.plugins.cljrefactor.nsbrowser/list-ns-vars]
[:editor.clj :lt.plugins.cljrefactor.nsbrowser/list-ns-vars-res]
;; jump to resource
[:editor.clj :lt.plugins.cljrefactor.resource/find-resource]
[:editor.clj :lt.plugins.cljrefactor.resource/find-resource.res]
]