Skip to content

Commit 1284330

Browse files
Expand completion detail by default (#1936)
1 parent 1b37e03 commit 1284330

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/neo4j-arc/cypher-language-support/cypher-editor/CypherEditor.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,12 @@ export class CypherEditor extends React.Component<
361361
tabIndex: this.props.tabIndex
362362
})
363363

364+
// Set the details to be visible by default
365+
this.editor
366+
.getContribution('editor.contrib.suggestController')
367+
// @ts-ignore this is an internal API
368+
?.widget?.value?._setDetailsVisible(true)
369+
364370
const { KeyCode, KeyMod } = monaco
365371
if (this.props.onExecute) {
366372
this.editor.addCommand(

0 commit comments

Comments
 (0)