File tree 4 files changed +13
-9
lines changed
4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,9 @@ endforeach()
223
223
# generated srcs
224
224
#
225
225
226
+ #
227
+ # AcceptableOperators files
228
+ #
226
229
add_custom_command (
227
230
OUTPUT
228
231
${PROJECT_BINARY_DIR} /generated /wl/Kernel/AcceptableOperators.wl
@@ -242,6 +245,9 @@ add_custom_command(
242
245
${PROJECT_SOURCE_DIR}
243
246
)
244
247
248
+ #
249
+ # CodeFormatter.nb
250
+ #
245
251
add_custom_command (
246
252
OUTPUT
247
253
${PROJECT_BINARY_DIR} /generated /wl/FrontEnd/Palettes/CodeFormatter.nb
@@ -258,7 +264,6 @@ add_custom_command(
258
264
)
259
265
260
266
261
-
262
267
#
263
268
# paclet target
264
269
#
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ Options[CodeFormat] = {
194
194
195
195
"TabWidth" :> $DefaultTabWidth ,
196
196
"BreakLinesMethod" :> $DefaultBreakLinesMethod ,
197
- (* Undocumented options for LineBreakerV1 *)
197
+ (* Undocumented options for LineBreakerV1 *)
198
198
"SafetyMargin" :> $DefaultSafetyMargin ,
199
199
200
200
PerformanceGoal -> "Speed"
Original file line number Diff line number Diff line change @@ -61,3 +61,8 @@ Make sure that the paclets can be found on your system:
61
61
```
62
62
Needs["CodeFormatter`"]
63
63
```
64
+
65
+ and try a basic example:
66
+ ```
67
+ CodeFormat["If[a, b, c]"]
68
+ ```
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ what are all of the "Preserve" behaviors?
85
85
86
86
Not all newlines and whitespace are stripped
87
87
88
+ multi-line comments need to remember original indentation
88
89
89
90
It is desired that this comment stay at end of line:
90
91
@@ -110,13 +111,6 @@ This information must be kept track of
110
111
111
112
112
113
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
114
121
115
122
116
You can’t perform that action at this time.
0 commit comments