Skip to content

Commit df49558

Browse files
rashedmytprabhakk-mw
authored andcommitted
Updates kernel tab completion results to show uncategorized completion results instead of erroring.
1 parent b0afaf0 commit df49558

File tree

1 file changed

+3
-1
lines changed
  • src/jupyter_matlab_kernel/matlab/+jupyter

1 file changed

+3
-1
lines changed

src/jupyter_matlab_kernel/matlab/+jupyter/complete.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
function result = complete(code, cursorPosition)
77
% COMPLETE A helper function to provide tab completion results
88

9-
% Copyright 2023 The MathWorks, Inc.
9+
% Copyright 2023-2024 The MathWorks, Inc.
1010

1111
% Get tab completion data for matlab code. Using evalin('base',..) so that the
1212
% function workspace does not affect the results.
@@ -117,4 +117,6 @@
117117
type = "property";
118118
elseif strcmp(inputType, "variable")
119119
type = "variable";
120+
else
121+
type = "function";
120122
end

0 commit comments

Comments
 (0)