We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing #42195:
The "splice" API style results in this code for a simple rename:
function renameWorkspaceFolder(folder: vscode.WorkspaceFolder) { const allfolders = vscode.workspace.workspaceFolders; const ix = allfolders.indexOf(folder); vscode.workspace.updateWorkspaceFolders(ix, 1, { uri: folder.uri, name: 'new name' }); }
Or is there a simpler way to rename a folder programmatically?
The text was updated successfully, but these errors were encountered:
@weinand no, you are doing it right. a rename of a folder is a remove and add at the same place.
Sorry, something went wrong.
bpasero
No branches or pull requests
testing #42195:
The "splice" API style results in this code for a simple rename:
Or is there a simpler way to rename a folder programmatically?
The text was updated successfully, but these errors were encountered: