Skip to content

Commit 5257af9

Browse files
author
Brenton Bostick
committed
update docs
1 parent b316154 commit 5257af9

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

CMakeLists.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ endforeach()
223223
# generated srcs
224224
#
225225

226+
#
227+
# AcceptableOperators files
228+
#
226229
add_custom_command(
227230
OUTPUT
228231
${PROJECT_BINARY_DIR}/generated/wl/Kernel/AcceptableOperators.wl
@@ -242,6 +245,9 @@ add_custom_command(
242245
${PROJECT_SOURCE_DIR}
243246
)
244247

248+
#
249+
# CodeFormatter.nb
250+
#
245251
add_custom_command(
246252
OUTPUT
247253
${PROJECT_BINARY_DIR}/generated/wl/FrontEnd/Palettes/CodeFormatter.nb
@@ -258,7 +264,6 @@ add_custom_command(
258264
)
259265

260266

261-
262267
#
263268
# paclet target
264269
#

CodeFormatter/Kernel/CodeFormatter.wl

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Options[CodeFormat] = {
194194

195195
"TabWidth" :> $DefaultTabWidth,
196196
"BreakLinesMethod" :> $DefaultBreakLinesMethod,
197-
(* Undocumented options for LineBreakerV1 *)
197+
(* Undocumented options for LineBreakerV1 *)
198198
"SafetyMargin" :> $DefaultSafetyMargin,
199199

200200
PerformanceGoal -> "Speed"

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@ Make sure that the paclets can be found on your system:
6161
```
6262
Needs["CodeFormatter`"]
6363
```
64+
65+
and try a basic example:
66+
```
67+
CodeFormat["If[a, b, c]"]
68+
```

docs/canonicalization.md

+1-7
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ what are all of the "Preserve" behaviors?
8585

8686
Not all newlines and whitespace are stripped
8787

88+
multi-line comments need to remember original indentation
8889

8990
It is desired that this comment stay at end of line:
9091

@@ -110,13 +111,6 @@ This information must be kept track of
110111

111112

112113

113-
114-
115-
116-
117-
118-
119-
120114

121115

122116

0 commit comments

Comments
 (0)