Skip to content

Commit 55c74f1

Browse files
committed
Change default value of MATLAB.startDebuggerAutomatically setting
1 parent 3bd160e commit 55c74f1

File tree

4 files changed

+16
-15
lines changed

4 files changed

+16
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
## [1.3.1] - 2025-01-23
1111

1212
### Added
13-
- MATLAB path is kept in sync with the VS Code workspace, improving code navigation, completions, and execution
14-
- MATLAB debug workspace kept in sync with the selected callstack in VS Code
13+
- The extension keeps the MATLAB path in sync with the VS Code workspace, improving code navigation, completions, and execution
14+
- The extension keeps the MATLAB debug workspace in sync with the selected callstack in VS Code
1515

1616
### Fixed
17-
- Resolve error with document formatting when using with MATLAB R2025a
18-
- Resolve error with execution and debugging when using with MATLAB R2022b
17+
- Changing the default value of `MATLAB.startDebuggerAutomatically` to `false`
18+
- Resolves errors with document formatting when using with MATLAB R2025a
19+
- Resolves errors with execution and debugging when using with MATLAB R2022a
1920

2021
## [1.3.0] - 2024-12-18
2122

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ There are some limitations to running and debugging MATLAB code in Visual Studio
5151
To configure the extension, go to the extension settings and select from the available options.
5252

5353
### MATLAB Install Path Setting
54-
If you have MATLAB installed on your system, the extension automatically checks the system path for the location of the MATLAB executable. If the MATLAB executable is not on the system path, you may need to manually set the `matlab.installPath` setting to the full path of your MATLAB installation. For example, `C:\Program Files\MATLAB\R2022b` (Windows®), `/Applications/MATLAB_R2022b.app` (macOS), or `/usr/local/MATLAB/R2022b` (Linux®).
54+
If you have MATLAB installed on your system, the extension automatically checks the system path for the location of the MATLAB executable. If the MATLAB executable is not on the system path, you may need to manually set the `MATLAB.installPath` setting to the full path of your MATLAB installation. For example, `C:\Program Files\MATLAB\R2022b` (Windows®), `/Applications/MATLAB_R2022b.app` (macOS), or `/usr/local/MATLAB/R2022b` (Linux®).
5555

5656
You can determine the full path of your MATLAB installation by using the `matlabroot` command in MATLAB.
5757

@@ -61,37 +61,37 @@ matlabroot
6161
ans =
6262
'C:\Program Files\MATLAB\R2022b'
6363
```
64-
In the extension settings, set the `matlab.installPath` setting to the value returned by the `matlabroot` command.
64+
In the extension settings, set the `MATLAB.installPath` setting to the value returned by the `matlabroot` command.
6565

6666
![MATLAB Install Path Setting](public/InstallPathSetting.png)
6767

6868
### MATLAB Automatically Start Debugger Setting
69-
By default, the extension automatically starts the Visual Studio Code debugger when MATLAB reaches a breakpoint. To disable automatically starting the Visual Studio Code debugger, set the `matlab.automaticallyStartDebugger` setting to `false`. When starting the Visual Studio Debugger is disabled, MATLAB still stops at breakpoints, and you can debug your code in the MATLAB terminal using the MATLAB debugging functions.
69+
By default, the extension does not automatically start the Visual Studio Code debugger when MATLAB reaches a breakpoint. To enable automatically starting the Visual Studio Code debugger, set the `MATLAB.startDebuggerAutomatically` setting to `true`. When starting the Visual Studio Debugger is disabled, MATLAB still stops at breakpoints, and you can debug your code in the MATLAB terminal using the MATLAB debugging functions.
7070

7171
### MATLAB Index Workspace Setting
7272
By default, the extension indexes all the MATLAB code files (`.m`) in your current workspace. Indexing allows the extension to find and navigate between your MATLAB code files.
73-
You can disable indexing to improve the performance of the extension. To disable indexing, set the `matlab.indexWorkspace` setting to `false`. Disabling indexing can cause features such as code navigation not to function as expected.
73+
You can disable indexing to improve the performance of the extension. To disable indexing, set the `MATLAB.indexWorkspace` setting to `false`. Disabling indexing can cause features such as code navigation not to function as expected.
7474

7575
### MATLAB Connection Timing Setting
76-
By default, the extension starts MATLAB in the background when you open a MATLAB code file in Visual Studio Code. To control when the extension starts MATLAB, set the `matlab.matlabConnectionTiming` setting to one of these values:
76+
By default, the extension starts MATLAB in the background when you open a MATLAB code file in Visual Studio Code. To control when the extension starts MATLAB, set the `MATLAB.matlabConnectionTiming` setting to one of these values:
7777
* `onStart` (default) — Start MATLAB as soon as a MATLAB code file is opened.
7878
* `onDemand` — Start MATLAB only when needed for a given action.
7979
* `never` — Never start MATLAB.
8080
Note: Some functionality is available only with MATLAB running in the background.
8181

8282
### MATLAB Max File Size for Analysis Setting
83-
By default, the extension analyzes all files, regardless of their size, for features such as linting, code navigation, and symbol renaming. To limit the maximum number of characters a file can contain, set the `matlab.maxFileSizeForAnalysis` setting. For example, to limit the number of characters to 50,000, set the `matlab.maxFileSizeForAnalysis` setting to `50000`. If a file contains more than the maximum number of characters, features such as linting, code navigation, and symbol renaming are disabled for that file. To remove the limit and analyze all files regardless of their size, set the `matlab.maxFileSizeForAnalysis` setting to `0`.
83+
By default, the extension analyzes all files, regardless of their size, for features such as linting, code navigation, and symbol renaming. To limit the maximum number of characters a file can contain, set the `MATLAB.maxFileSizeForAnalysis` setting. For example, to limit the number of characters to 50,000, set the `MATLAB.maxFileSizeForAnalysis` setting to `50000`. If a file contains more than the maximum number of characters, features such as linting, code navigation, and symbol renaming are disabled for that file. To remove the limit and analyze all files regardless of their size, set the `MATLAB.maxFileSizeForAnalysis` setting to `0`.
8484

8585
### MATLAB Show Feature Not Available Error Setting
86-
By default, the extension displays an error when a feature requires MATLAB and MATLAB is unable to start. To not display an error, set the `matlab.showFeatureNotAvailableError` setting to `false`.
86+
By default, the extension displays an error when a feature requires MATLAB and MATLAB is unable to start. To not display an error, set the `MATLAB.showFeatureNotAvailableError` setting to `false`.
8787

8888
### MATLAB Sign In Setting
8989
By default, the extension assumes that the MATLAB installation specified in the Install Path setting is activated.
9090

91-
To enable browser-based sign in to your MathWorks account using the Online License Manager or a Network License Manager, set the `matlab.signIn` setting to true. When this setting is enabled, the extension prompts you to sign in when it starts MATLAB.
91+
To enable browser-based sign in to your MathWorks account using the Online License Manager or a Network License Manager, set the `MATLAB.signIn` setting to true. When this setting is enabled, the extension prompts you to sign in when it starts MATLAB.
9292

9393
### MATLAB Telemetry Setting
94-
You can help improve the extension by sending user experience information to MathWorks®. By default, the extension sends user experience information to MathWorks. To disable sending information, set the `matlab.telemetry` setting to `false`.
94+
You can help improve the extension by sending user experience information to MathWorks®. By default, the extension sends user experience information to MathWorks. To disable sending information, set the `MATLAB.telemetry` setting to `false`.
9595

9696
For more information, see the [MathWorks Privacy Policy](https://www.mathworks.com/company/aboutus/policies_statements.html).
9797

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
},
215215
"MATLAB.startDebuggerAutomatically": {
216216
"type": "boolean",
217-
"default": true,
217+
"default": false,
218218
"markdownDescription": "Automatically start the Visual Studio Code debugger when MATLAB reaches a breakpoint.",
219219
"scope": "window"
220220
},

server

0 commit comments

Comments
 (0)