Windows 路径格式错误
Open
Beginner friendly
bug
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
Windows 路径格式错误
software.aws.toolkits.eclipse.amazonq.util.QEclipseEditorUtils.getOpenFileUri(QEclipseEditorUtils.java:124)
插件在 Windows 上生成了 Unix 风格的路径(以 / 开头),而 Windows 需要 C:/ 这种格式。
影响:
getOpenFileUri() 方法无法解析路径
导致 getActiveEditorRelativePath() 失败
所有 inline completion 功能不可用
Contributor guide
Research direction
Inspect QEclipseEditorUtils.java at line 124, starting with getOpenFileUri() and then tracing getActiveEditorRelativePath(). Confirm how the path is generated on Windows and verify that the resulting URI uses a Windows drive-letter format such as C:/ so inline completion can resolve the active file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100