Skip to content

Commit

Permalink
Expand completion detail by default (#1936)
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer authored Sep 13, 2023
1 parent 1b37e03 commit 1284330
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 1284330

Please sign in to comment.