0
0
Fork
You've already forked PySh
0

Feature Request: Add Path Autocompletion to Function #7

Open
opened 2025年06月26日 12:57:13 +02:00 by XADE · 0 comments
Owner
Copy link

Description

Extend the existing function to support autocompletion for both relative and absolute file paths. The implementation should work seamlessly across Windows and Unix systems.

Acceptance Criteria

  • Autocompletion should suggest file paths (both relative and absolute) based on the current cursor position.
  • Cross-platform support: Functionality must work on both Windows and Unix environments.
  • Context-sensitive:
    • If the cursor is not empty and contains a space, only file paths should be suggested (not commands).
    • If the cursor does not contain a space, existing behavior should remain unchanged.

Additional Notes

  • Please ensure proper handling of path separators for different operating systems.
  • Consider edge cases such as home directories (~), drive letters (Windows), and hidden files.
### Description Extend the existing function to support autocompletion for both relative and absolute file paths. The implementation should work seamlessly across Windows and Unix systems. ### Acceptance Criteria - **Autocompletion** should suggest file paths (both relative and absolute) based on the current cursor position. - **Cross-platform support:** Functionality must work on both Windows and Unix environments. - **Context-sensitive:** - If the cursor is not empty and contains a space, only file paths should be suggested (not commands). - If the cursor does not contain a space, existing behavior should remain unchanged. ### Additional Notes - Please ensure proper handling of path separators for different operating systems. - Consider edge cases such as home directories (`~`), drive letters (Windows), and hidden files.
XADE changed title from (削除) Path completion (削除ここまで) to Feature Request: Add Path Autocompletion to Function 2025年06月27日 21:46:43 +02:00
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
zz/PySh#7
Reference in a new issue
zz/PySh
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?