File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { Editors } from './editors';
7
7
import { Code } from './code' ;
8
8
import { QuickInput } from './quickinput' ;
9
9
import { basename , isAbsolute } from 'path' ;
10
+ import { Quality } from './application' ;
10
11
11
12
enum QuickAccessKind {
12
13
Files = 1 ,
@@ -22,7 +23,11 @@ export class QuickAccess {
22
23
23
24
// make sure the file quick access is not "polluted"
24
25
// with entries from the editor history when opening
25
- await this . runCommand ( 'workbench.action.clearEditorHistoryWithoutConfirm' ) ;
26
+ if ( this . code . quality !== Quality . Stable ) {
27
+ await this . runCommand ( 'workbench.action.clearEditorHistoryWithoutConfirm' ) ;
28
+ } else {
29
+ await this . runCommand ( 'workbench.action.clearEditorHistory' ) ;
30
+ }
26
31
27
32
const PollingStrategy = {
28
33
Stop : true ,
You can’t perform that action at this time.
0 commit comments