godotengine / godotengine/godot-vscode-plugin

Activate method signature help upon selecting a completion

Open
#940 2 comments 0 reactions 0 assignees View on GitHub
confirmed enhancement
Dominant language
TypeScript
Stars
2.1k
Forks
257
PR merge metrics
No merged PRs in 30d

Description

### Godot version

4.5.1.stable.official [f62fdbde1]

### VS Code version

1.105.1

### Godot Tools VS Code extension version

2.5.1

### System information

macOS Tahoe 26.0.1

### Problem statement

Method signature help does not appear immediately after selecting an autocomplete suggestion for a method. For example:

- Begin typing `my_m`
- Select `my_method` from the autocomplete list, and press return/tab
- _Editor adds remaining text and opening parenthesis: `my_method(`, but no signature info appears_
- Delete and retype `(` character
- _Signature info is activated_

### Proposed solution

Two potential solutions come to mind:

1. **Aligns with current extension behaviour**: Provide method signature assistance immediately upon selecting an autocompleted method (and continue to insert the opening parenthesis)
2. **Aligns with other VSCode LSP clients** (e.g. official Python and JS extensions): Preserve current activation behaviour for method signature assistance, but omit the opening parenthesis when completing a method name (leaving the user to type `(` and activate method help at that point)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.