@@ -415,14 +415,15 @@ export class StartWorkCommand extends QuickCommand<State> {
415415 ) : StepResultGenerator < StartWorkItem | StartWorkTypeItem > {
416416 const buildIssueItem = ( i : StartWorkItem ) => {
417417 const buttons = i . item . issue . url ? [ OpenOnGitHubQuickInputButton ] : [ ] ;
418+ const hoverContent = i . item . issue . body ? `${ repeatSpaces ( 200 ) } \n\n${ i . item . issue . body } ` : '' ;
418419 return {
419420 label :
420421 i . item . issue . title . length > 60 ? `${ i . item . issue . title . substring ( 0 , 60 ) } ...` : i . item . issue . title ,
421422 // description: `${i.repoAndOwner}#${i.id}, by @${i.author}`,
422423 description : `\u00a0 ${
423424 i . item . issue . repository ? `${ i . item . issue . repository . owner } /${ i . item . issue . repository . repo } #` : ''
424425 } ${ i . item . issue . id } \u00a0`,
425- detail : ` ${ fromNow ( i . item . issue . updatedDate ) } by @${ i . item . issue . author . name } ` ,
426+ detail : `${ fromNow ( i . item . issue . updatedDate ) } by @${ i . item . issue . author . name } ${ hoverContent } ` ,
426427 iconPath : i . item . issue . author ?. avatarUrl != null ? Uri . parse ( i . item . issue . author . avatarUrl ) : undefined ,
427428 item : i ,
428429 picked : i . item . issue . id === state . item ?. item ?. issue . id ,
@@ -566,6 +567,10 @@ function isStartWorkTypeItem(item: unknown): item is StartWorkTypeItem {
566567 return item != null && typeof item === 'object' && 'type' in item ;
567568}
568569
570+ function repeatSpaces ( count : number ) {
571+ return ' ' . repeat ( count ) ;
572+ }
573+
569574export function getStartWorkItemIdHash ( item : StartWorkItem ) {
570575 return md5 ( item . item . issue . id ) ;
571576}
0 commit comments