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
@@ -121,6 +121,12 @@
121
121
"type": "object",
122
122
"title": "ReScript",
123
123
"properties": {
124
+
"rescript.settings.allowBuiltInFormatter": {
125
+
"scope": "language-overridable",
126
+
"type": "boolean",
127
+
"default": false,
128
+
"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.
750
+
hasPromptedAboutBuiltInFormatter=true;
751
+
letparams: p.ShowMessageParams={
752
+
type: p.MessageType.Warning,
753
+
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