getWorkspaceFolder method
Returns the {@link WorkspaceFolderworkspace folder} that contains a given uri.
- returns
undefined
when the given uri doesn't match any workspace folder - returns the input when the given uri is a workspace folder itself
Implementation
_i3.WorkspaceFolder? getWorkspaceFolder(_i3.Uri uri) => _i4.callMethod(
this,
'getWorkspaceFolder',
[uri],
);