@@ -104,6 +104,13 @@ export class CommandQuickPickItem implements QuickPickItem {
104104 }
105105}
106106
107+ export class MessageQuickPickItem extends CommandQuickPickItem {
108+
109+ constructor ( message : string ) {
110+ super ( { label : message , description : '' } as QuickPickItem ) ;
111+ }
112+ }
113+
107114export class KeyCommandQuickPickItem extends CommandQuickPickItem {
108115
109116 constructor ( command : Commands , args ?: any [ ] ) {
@@ -113,7 +120,7 @@ export class KeyCommandQuickPickItem extends CommandQuickPickItem {
113120
114121export class OpenFileCommandQuickPickItem extends CommandQuickPickItem {
115122
116- constructor ( public uri : Uri , item : QuickPickItem ) {
123+ constructor ( public readonly uri : Uri , item : QuickPickItem ) {
117124 super ( item , undefined , undefined ) ;
118125 }
119126
@@ -138,7 +145,7 @@ export class OpenFileCommandQuickPickItem extends CommandQuickPickItem {
138145
139146export class OpenFilesCommandQuickPickItem extends CommandQuickPickItem {
140147
141- constructor ( public uris : Uri [ ] , item : QuickPickItem ) {
148+ constructor ( public readonly uris : Uri [ ] , item : QuickPickItem ) {
142149 super ( item , undefined , undefined ) ;
143150 }
144151
@@ -163,7 +170,7 @@ export class CommitQuickPickItem implements QuickPickItem {
163170 description : string ;
164171 detail : string ;
165172
166- constructor ( public commit : GitCommit ) {
173+ constructor ( public readonly commit : GitCommit ) {
167174 let message = commit . message ;
168175 const index = message . indexOf ( '\n' ) ;
169176 if ( index !== - 1 ) {
0 commit comments