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

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

bug

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
Dominant language
Python
Stars
274
Forks
246
Avg merge
1d 14h
Merged PRs (30d)
12

Getting set up

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 ros2/ros2cli

All issues in ros2/ros2cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.