Can't open backstage template files, i.e. skeleton\packages\${{ values.name }}.ts
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: WSL
- Continue: latest
Description
This naming convention is for backstage templates. https://backstage.io/docs/features/software-templates/
When editing a file named skeleton\packages\${{ values.name }}\index.ts following error message is in the logs.
IDE Protocol _receive_json timed out after 20 seconds. The message sent was: {'filepath': '....\skeleton\\packages\\${{ values.name }}\\src\\router\\index.ts'}
To reproduce
- create a file called
${{ values.name }}\index.ts - try to /edit the file with continue
- error is thrown
Log output
IDE Protocol _receive_json timed out after 20 seconds. The message sent was: {'filepath': '....\skeleton\\packages\\${{ values.name }}\\src\\router\\index.ts'}
No response
Thanks for sharing this, looking into it now
I'm wondering if there's any part of the setup I'm missing. Here's what I'm trying so far, but unfortunately haven't reproduced:
- Using VS Code on Windows WSL
- In WSL, use
touch \${{\ values.name\ }}\\index.tsto create the file with everything escaped properly - Type something in the file in VS Code
- Save the file
- Highlight the code, ctrl+shift+m, the request an edit
I also tried a folder "${{ values.name }}" with a file called "index.ts" instead of a file literally named "${{ values.name }}\index.ts"
Hmm, to be more precise here is the exact folder structure for the index.ts
skeleton/packages/${{ values.name }}/src/index.ts
I tried in native windows, it works fine there with the same folder structure. Did you install VScode inside WSL or are you connecting to a windows/vscode via the WSL extension like i do ?