Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cody (for vscode) can't handle filenames with special characters on Windows #6438

Open
u84six opened this issue Dec 21, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working repo/cody

Comments

@u84six
Copy link

u84six commented Dec 21, 2024

Version

1.52.0

Describe the bug

When I ask Cody to modify a svelte file, (e.g. src/routes/+layout.svelte), it generates a new one instead called routes+layout.svelte. So it looks like it chokes on the "+" symbol in the file name. Svelte uses this filename format to function properly, so it can't be omitted.

Expected behavior

Cody should understand filenames with leading special characters like: src/routes/+[filename].svelte

Additional context

Windows 10 - It looks like an escape character issue between Windows path format (backslash) and the "+" character. I'm assuming that when used on macOS or Linux, it's not an issue. In the above example, I'm using forward slashes, because even this website sees the backslash as an escape character :)

cody-svelte-issue

@u84six u84six added bug Something isn't working repo/cody labels Dec 21, 2024
Copy link

linear bot commented Dec 21, 2024

@u84six u84six changed the title Cody (for vscode) doesn't understand Svelte files Cody (for vscode) can't handle filenames with special characters on Windows Dec 21, 2024
@PriNova PriNova self-assigned this Dec 22, 2024
@PriNova
Copy link
Collaborator

PriNova commented Dec 22, 2024

Hey @u84six

Thank you for providing this detailed issue report. This helps a lot to pin down the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repo/cody
Projects
None yet
Development

No branches or pull requests

2 participants