Feature: Show directory contents with "nix" completion on double-TAB

Open
#160 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by tracing the existing nix-style completion entry point and compare its behavior with windows-style completion. Review how the plugin currently presents the file bar, then determine how a second TAB on an ambiguous completion should expose all directory options. Done means directory contents are discoverable through the agreed completion UI without changing the existing completion modes.

Written by the indexing model from the issue text.

Description

enhancement

Basically, I'm thinking of something similar to the Emacs (or shell) behavior. With "nix"-style completion enabled, if the user presses TAB twice when the completion is ambiguous, show a list of all options. This could be done with a minihtml hover, or (preferably) by expanding the panel to include the file list above the file bar (ideally with sidebar-derived icons, but really it doesn't matter).

As it stands, windows-style completion is almost the only useful one (despite its annoying behavior), since it's the only way to explore a directory structure.

Dominant language
Python
Stars
832
Forks
96
Avg merge
1m
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

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.

More from SublimeText/AdvancedNewFile

All issues in SublimeText/AdvancedNewFile

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.