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
Adds a new preference to control whether the
verify command should automatically run before the
upload. If the `arduino.upload.autoVerify` setting
value is `false`, IDE does not recompile the
sketch code before uploading it to the board.
Signed-off-by: dankeboy36 <[email protected]>
'After upload, verify that the contents of the memory on the board match the uploaded binary.'
143
+
),
144
+
},
145
+
'arduino.upload.autoVerify': {
146
+
type: 'boolean',
147
+
default: true,
148
+
description: nls.localize(
149
+
'arduino/preferences/upload.autoVerify',
150
+
"True if the IDE should automatically verify the code before the upload. True by default. When this value is false, IDE does not recompile the code before uploading the binary to the board. It's highly advised to only set this value to false if you know what you are doing."
* When the user explicitly triggers the verify command from the primary UI: menu, toolbar, or keybinding. The UI shows the output, updates the toolbar items state, etc.
21
+
*/
22
+
|'explicit'
23
+
/**
24
+
* When the verify phase automatically runs as part of the upload but there is no UI indication of the command: the toolbar items do not update.
25
+
*/
26
+
|'auto'
27
+
/**
28
+
* The verify does not run. There is no UI indication of the command. For example, when the user decides to disable the auto verify (`'arduino.upload.autoVerify'`) to skips the code recompilation phase.
29
+
*/
30
+
|'dry-run';
31
+
18
32
exportinterfaceVerifySketchParams{
19
33
/**
20
34
* Same as `CoreService.Options.Compile#exportBinaries`
21
35
*/
22
36
readonlyexportBinaries?: boolean;
23
37
/**
24
-
* If `true`, there won't be any UI indication of the verify command in the toolbar. It's `false` by default.
38
+
* The mode specifying how verify should run. It's `'explicit'` by default.
25
39
*/
26
-
readonlysilent?: boolean;
40
+
readonlymode?: VerifySketchMode;
27
41
}
28
42
29
43
/**
30
-
* - `"idle"` when neither verify, nor upload is running,
31
-
* - `"explicit-verify"` when only verify is running triggered by the user, and
32
-
* - `"automatic-verify"` is when the automatic verify phase is running as part of an upload triggered by the user.
44
+
* - `"idle"` when neither verify, nor upload is running
Copy file name to clipboardexpand all lines: i18n/en.json
+2
Original file line number
Diff line number
Diff line change
@@ -415,7 +415,9 @@
415
415
"survey.notification": "True if users should be notified if a survey is available. True by default.",
416
416
"unofficialBoardSupport": "Click for a list of unofficial board support URLs",
417
417
"upload": "upload",
418
+
"upload.autoVerify": "True if the IDE should automatically verify the code before the upload. True by default. When this value is false, IDE does not recompile the code before uploading the binary to the board. It's highly advised to only set this value to false if you know what you are doing.",
418
419
"upload.verbose": "True for verbose upload output. False by default.",
420
+
"upload.verify": "After upload, verify that the contents of the memory on the board match the uploaded binary.",
419
421
"verifyAfterUpload": "Verify code after upload",
420
422
"window.autoScale": "True if the user interface automatically scales with the font size.",
0 commit comments