posit-dev / posit-dev/positron

python: overlapping function information and file completion

Open
#4,644 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: completions bug lang: python
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Discussed in https://github.com/posit-dev/positron/discussions/4642

When using a dictionary as a parameter, the completion for a filepath overlaps the function information. We might want to be slightly less zealous than adding file completions on every "", or conditionally move where it is being presented.

Screenshot 2024-09-11 at 2 55 28 PM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the discussion linked from issue 4642 and reproduce the dictionary-parameter case shown in the screenshot. Trace the completion behavior that presents filepath suggestions alongside function information; done means the two presentations no longer overlap while the relevant completions remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.