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: package.json
-6
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