You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,10 @@
12
12
13
13
## master
14
14
15
+
#### :nail_care: Polish
16
+
17
+
- Remove the built-in formatter since it has been causing more harm than done good.
18
+
15
19
#### :rocket: New Feature
16
20
17
21
- Add support for "dot completion everywhere". In addition to record fields, dots will now complete for object fields, and pipe completions applicable to the type the dot is on. You can also configure where the editor draws extra pipe completions from via the `@editor.completeFrom` attribute. https://github.com/rescript-lang/rescript-vscode/pull/1054
Copy file name to clipboardExpand all lines: package.json
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -136,12 +136,6 @@
136
136
"type": "object",
137
137
"title": "ReScript",
138
138
"properties": {
139
-
"rescript.settings.allowBuiltInFormatter": {
140
-
"scope": "language-overridable",
141
-
"type": "boolean",
142
-
"default": false,
143
-
"description": "Whether you want to allow the extension to format your code using its built in formatter when it cannot find a ReScript compiler version in your current project to use for formatting."
// Let's only prompt the user once about this, or things might become annoying.
834
-
if(hasPromptedAboutBuiltInFormatter){
835
-
return[fakeSuccessResponse];
836
-
}
837
-
hasPromptedAboutBuiltInFormatter=true;
838
-
839
-
letparams: p.ShowMessageParams={
840
-
type: p.MessageType.Warning,
841
-
message: `Formatting not applied! Could not find the ReScript compiler in the current project, and you haven't configured the extension to allow formatting using the built in formatter. To allow formatting files not strictly part of a ReScript project using the built in formatter, [please configure the extension to allow that.](command:workbench.action.openSettings?${encodeURIComponent(
0 commit comments