vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

Keep last file opened in open file dialog

Open MarcJose opened this issue 2 years ago • 2 comments

Hello everyone :) I may have a feature request below:

Is your feature request related to a problem? Please describe. When opening multiple files, it is quite annoying to always having to type the full path again.

Describe the solution you'd like It would be neat if the file open dialogue would remember the last used library and source file. This would be the same behaviour as inside RDi.

For example, after opening the first file with [Ctrl]+[Alt]+[P]: image

Then when opening the second file with [Ctrl]+[Alt]+[P] it would display: image

Currently, the input field is completely empty :/

Kind regards, Marc

MarcJose avatar Sep 08 '23 14:09 MarcJose

This is a pretty neat idea! Since this window can accept both an IFS path or a member path, we'd have to support remembering the path for both.

worksofliam avatar Sep 12 '23 16:09 worksofliam

@worksofliam I tested this - and it seems to me that it's not possible to have an initial value in a QuickPick, which is the component used in the open file dialog... ❔

chrjorgensen avatar Sep 12 '23 21:09 chrjorgensen