Skip to content

Commit

Permalink
Expand completion detail by default
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer committed Sep 12, 2023
1 parent e1d9bdc commit 109062b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,12 @@ export class CypherEditor extends React.Component<
tabIndex: this.props.tabIndex
})

// Set the details to be visible by default
this.editor
.getContribution('editor.contrib.suggestController')
// @ts-ignore this is an internal API
?.widget?.value?._setDetailsVisible(true)

const { KeyCode, KeyMod } = monaco
if (this.props.onExecute) {
this.editor.addCommand(
Expand Down

0 comments on commit 109062b

Please sign in to comment.