microsoft / microsoft/Qcodes

partial auto completion when coding

Open
#6,252 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

Bug report template:

###
For now, auto-completion partially works with LSP server (e.g. vscode), I can only see a little bit of method in the completion menu.
But, if I execute in ipython, then I can get the fulllists of methods

### Steps to reproduce
1. coding with vscode
2. create instance for instrument class e.g. `rigol_dg4000 : RigolDG4000`
3. type `rigol_dg4000.` to trigger the completion menu

### Expected behaviour
list all possible methods

### Actual behaviour
only partial of methods show up

### System
It would be helpful to provide such information:

**operating system**

If you are using a released version of qcodes (recommended):
**qcodes version** : 0.45.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the completion behavior in VS Code with Qcodes 0.45.0 using a RigolDG4000 instance, then compare the LSP completion results with the full method list shown in IPython. Trace the LSP server's completion entry point and verify that the completion menu exposes all expected methods.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.