posit-dev / posit-dev/positron

Python: natively support path completions for files

Open
#5,345 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The Jedi LSP folks are planning to remove path completions on their side, so for now, I would probably try an extension for now.

I did try the Path Intellisense and Path Autocomplete extensions which seems to resolve the issue when auto-completing at the . -- note that I had to start using Ctrl+Space to initiate the auto-complete rather than Tab

I would probably lean towards: https://open-vsx.org/extension/christian-kohler/path-intellisense

Originally posted by @jthomasmock in #5193

We should handle path completions on our own without requiring an extension, and eventually, it looks like Jedi will stop supporting file-name completions for Python.

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

The issue names no repository files or tests; start by reproducing Python path completion with Ctrl+Space and reviewing the current Jedi LSP behavior alongside the referenced Path Intellisense and Path Autocomplete extensions. Done means file-path completions work natively without requiring an extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
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.