Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.3.12] - 2026-06-15

### Added
- Improved formatting of warnings in output
- Support for the diary command (Addresses [mathworks/MATLAB-extension-for-vscode#186](https://github.com/mathworks/MATLAB-extension-for-vscode/issues/186))

## [1.3.11] - 2026-05-08

### Added
Expand Down
11 changes: 10 additions & 1 deletion matlab/+matlabls/+project/openProject.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,14 @@ function openProject (projectPath)
% folder containing one.

% Copyright 2026 The MathWorks, Inc.
matlabls.internal.CommunicationManager.publish("/matlabls/events/input", struct("promptString", "Do you want to continue? [YES/no]:"));
matlab.project.loadProject(projectPath);
end
matlabls.internal.CommunicationManager.publish("/matlabls/events/input", struct("promptString", "? ")); % Clear the prompt string

% Check if the project failed to open (e.g. if the user declined the prompt)
if isempty(matlab.project.rootProject())
% Notify that a project is closed (no longer opening)
event = struct(Event = "closed");
matlabls.internal.CommunicationManager.publish("/matlabls/project/event", event);
end
end
41 changes: 23 additions & 18 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matlab-language-server",
"version": "1.3.11",
"version": "1.3.12",
"description": "Language Server for MATLAB code",
"main": "./src/index.ts",
"bin": "./out/index.js",
Expand Down
Loading
Loading