ros2 / ros2/ros2cli

Tab completion doesn't work with cmd.exe or PowerShell

Open
#712 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Bug report

Required Info:

  • Operating System:
    • Windows 10
  • Installation type:
    • binaries
  • Version or commit hash:
  • DDS implementation:
  • Client library (if applicable):
Steps to reproduce issue

In either cmd.exe or Powershell, activate the ROS 2 workspace

# Cmd.exe
call C:\dev\ros2_humble\setup.bat
# Powershell
. C:\dev\ros2_humble\setup.ps1

Type

ros2 lau<tab>
Expected behavior

The command would complete to ros2 launch

Actual behavior

Nothing happens

Additional information

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

Reproduce the issue in cmd.exe and PowerShell after running the shown workspace setup commands, then trace the ros2 command's tab-completion entry point. Compare completion behavior for ros2 lau<TAB> in both shells and verify that it completes to ros2 launch without breaking existing command-line behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.