nushell / nushell/vscode-nushell-lang

`<command> <subcommand>` is inserted even when `<command>` is already typed

Open
#120 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Nushell
Stars
153
Forks
31
PR merge metrics
No merged PRs in 30d

Description

  • Type into<space>
  • Press Ctrl+Space
  • Chose into int (or any other subcommand)
  • Get into into int, instead of into int

What can be done:

  • <command> should not be inserted when it's already written
  • <command> should not be shown in intellisence suggestion when it's already typed

Nu:

0.79.0

VS Code:

Version: 1.77.3
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:52.732Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Linux x64 5.15.0-71-generic
Sandboxed: No

OS:

Linux 22.04 Ubuntu

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

No source file or test is named. Reproduce the completion behavior in VS Code with Nu 0.79.0, then locate the extension's completion or IntelliSense entry point; done means selecting a subcommand after an existing command inserts only the subcommand and no longer shows the command prefix.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.