mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
editor/sagas: fix signature trigger characters
The intended behavior is that comma should trigger signature help when it is not showing. retrigger only triggers if already showing.
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- Code completion trigger improvements.
|
||||
|
||||
### Fixed
|
||||
- Fixed terminal layout issues when resizing window vertically.
|
||||
- Fixed editor find widget visible over modal dialogs.
|
||||
|
||||
+2
-2
@@ -635,8 +635,8 @@ function* runJedi(): Generator {
|
||||
const subscription = monaco.languages.registerSignatureHelpProvider(
|
||||
pybricksMicroPythonId,
|
||||
{
|
||||
signatureHelpTriggerCharacters: ['('],
|
||||
signatureHelpRetriggerCharacters: [','],
|
||||
signatureHelpTriggerCharacters: ['(', ','],
|
||||
signatureHelpRetriggerCharacters: [')'],
|
||||
provideSignatureHelp(model, position, token, context) {
|
||||
return new Promise((resolve) => {
|
||||
emit({ model, position, token, context, resolve });
|
||||
|
||||
Reference in New Issue
Block a user