mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
completions: Object names in signal handlers
This commit is contained in:
parent
1205fc42ea
commit
67983aee2e
3 changed files with 31 additions and 16 deletions
|
@ -247,3 +247,11 @@ def decompile_signal(
|
|||
line += ";"
|
||||
ctx.print(line)
|
||||
return gir
|
||||
|
||||
|
||||
@completer(
|
||||
[Signal],
|
||||
[[(TokenType.PUNCTUATION, "(")]],
|
||||
)
|
||||
def signal_object_completer(ctx: CompletionContext):
|
||||
yield from get_object_id_completions(ctx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue