File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,10 @@ module ModuleToFile = struct
173
173
in
174
174
changed :=
175
175
Some
176
- (CodeActions. makeWithDocumentChanges ~title: " Extract module as file"
176
+ (CodeActions. makeWithDocumentChanges
177
+ ~title:
178
+ (Printf. sprintf " Extract local module \" %s\" to file \" %s\" "
179
+ moduleName (moduleName ^ " .res" ))
177
180
~kind: RefactorRewrite
178
181
~document Changes:
179
182
[
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ module T = {
69
69
let b = 1
70
70
// ^xfm
71
71
}
72
- Hit: Extract module as file
72
+ Hit: Extract local module "T" to file "T.res"
73
73
74
74
CreateFile: T.res
75
75
@@ -100,7 +100,7 @@ newText:
100
100
101
101
*/
102
102
let b = 1
103
- Hit: Extract module as file
103
+ Hit: Extract local module "T" to file "T.res"
104
104
105
105
CreateFile: T.res
106
106
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ newText:
168
168
}
169
169
170
170
Xform src/Xform.res 72:5
171
- Hit: Extract module as file
171
+ Hit: Extract local module "ExtractableModule" to file "ExtractableModule.res"
172
172
173
173
CreateFile: ExtractableModule.res
174
174
You can’t perform that action at this time.
0 commit comments