-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
area:editRelates to side panel Edit featureRelates to side panel Edit featureide:jetbrainsRelates specifically to JetBrains extensionRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on LinuxHappening specifically on Linux
Description
Before submitting your bug report
- I've tried using the "Ask AI" feature on the Continue docs site to see if the docs have an answer
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:Fedora Linux 42 (Workstation Edition)
- Continue version: 1.0.30
- IDE version: WebStorm 2025.2
- Model: gemini-2.5-flash-preview-05-20
- config:
name: Local
version: 1.0.0
schema: v1
models:
- name: Gemini 2.0 Flash Lite
model: custom-gemini-flash
apiBase: https://##########/api/v0
requestOptions:
headers:
X-Access-Key: ###########
roles:
- edit
- apply
- summarize
capabilities:
- tool_use
defaultCompletionOptions:
contextLength: 1000000
maxTokens: 50000
provider: lmstudio
- name: Gemini 2.5 Flash Preview
model: custom-gemini-2.5-flash-thinking
apiBase: https://################/api/v0
requestOptions:
headers:
X-Access-Key: #######################
roles:
- chat
- apply
- edit
- summarize
capabilities:
- tool_use
defaultCompletionOptions:
contextLength: 1000000
maxTokens: 50000
provider: lmstudio
- name: Gemini 2.5 Pro Exp
model: custom-gemini-2.5-pro-thinking
apiBase: https://####################/api/v0
requestOptions:
headers:
X-Access-Key: #########################
roles:
- chat
- edit
capabilities:
- tool_use
defaultCompletionOptions:
contextLength: 1000000
maxTokens: 30000
provider: lmstudio
- name: Gemini 2.5 Pro Paid
model: gemini-2.5-pro-preview-05-06
apiKey: ############################
defaultCompletionOptions:
contextLength: 50000
maxTokens: 20000
provider: gemini
- name: Voyage Reranker
provider: voyage
apiKey: ##########################
model: rerank-2
roles:
- rerank
- name: Voyage Code 3
provider: voyage
model: voyage-code-3
apiKey: #####################
roles:
- embed
- uses: mistral/codestral
with:
MISTRAL_API_KEY:############################
- name: Gemini Embeddings
provider: gemini
model: models/text-embedding-004
apiKey: ######################
roles:
- embed
context:
- provider: code
- provider: docs
- provider: diff
- provider: currentFile
- provider: terminal
- provider: problems
- provider: folder
- provider: codebase
- provider: tree
- provider: os
mcpServers:
- name: ddg-search
command: uvx
args:
- duckduckgo-mcp-server
- name: Context7
command: bunx
args:
- -y
- "@upstash/context7-mcp@latest"
- name: Repomix
command: npx
args:
- "-y"
- "repomix"
- "--mcp"
OR link to assistant in Continue hub:
Description
the edit tool does not edit the correct file if the file path or filename has '$' symbol in it.
if i try to edit a file in this path
/home/user/Dev/demo/start-basic/src/routes/demo/$demoId/index.tsx
it will create a new file in this directory instead,
/home/user/home/user/Dev/demo/start-basic/src/routes/demo/%24demoId/index.tsx


To reproduce
-
create a new "tanstack start" project
npx gitpick TanStack/router/tree/main/examples/react/start-basic start-basic
cd start-basic
npm install
npm run dev
-
create a new file at src/routes/demo/$demoid/index.tsx
-
try to edit it using llm agent
@index.tsx change the text to we are checking
Log output
Metadata
Metadata
Assignees
Labels
area:editRelates to side panel Edit featureRelates to side panel Edit featureide:jetbrainsRelates specifically to JetBrains extensionRelates specifically to JetBrains extensionkind:bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavioros:linuxHappening specifically on LinuxHappening specifically on Linux
Type
Projects
Status
Todo