You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cody incorrectly resolves paths when generating or modifying code for components located in a folder named _components. Instead of using the correct path, Cody generates an invalid one, making the "Apply in Editor" feature unusable.
Steps to Reproduce
Use a Next.js project with the App Router setup.
Place components in a folder named _components alongside a page.tsx file, like this:
Thank you for providing the detailed bug report.
The team will have a look at it.
One missing information is, what version of Cody you are using and on what OS.
Version
1.96.0
Describe the bug
Cody incorrectly resolves paths when generating or modifying code for components located in a folder named
_components
. Instead of using the correct path, Cody generates an invalid one, making the "Apply in Editor" feature unusable.Steps to Reproduce
_components
alongside apage.tsx
file, like this:Expected behavior
Cody should generate the correct path:
Additional context
The issue prevents applying changes directly via the “Apply in Editor” feature.
This behavior has been observed consistently with _components folders in App Router projects.
The text was updated successfully, but these errors were encountered: