Skip to content

Can we reopen project folder as last open‘s, not user's home folder? #12511

Answered by vince-fugnitto
ouliuquan asked this question in Ideas
Discussion options

You must be logged in to vote

@ouliuquan do you mean when performing "open folder" you want to see the dialog opened at the last folder opened by the user?

If so anything is possible but you likely want to customise the implementation of the "Open Folder" command in a custom extension:

commands.registerCommand(WorkspaceCommands.OPEN_FOLDER, {
isEnabled: () => true,
execute: () => this.doOpenFolder()
});

protected async doOpenFolder(): Promise<URI | undefined> {
const props:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ouliuquan
Comment options

Answer selected by ouliuquan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants