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
{{ message }}
Repository navigation
[Bug] No file editing tool available in Agent mode since upgrading to 0.20 #355
Describe the bug
Since upgrade to 0.20 yesterday, the Agent mode behave exactly like the Ask mode, claiming it has not file editing tools available, whereas every tool is actually checked in the Eclipse configuration, and I didn't touch anything apart upgrading
To Reproduce
Steps to reproduce the behavior:
Ask for a simple file creation in Agent mode (or any coding of file editing task), the chatbot will explain you what to do instead of actually doing it.
Only a warning : [LS:GitHub Copilot Language Server][Warning] [McpAutoApproveService] Invalid McpAutoApproveService config, resetting to empty undefined
My colleague has exactly the same behavior, could it be related to our org settings ?
I also found some java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Invalid allowlist format: registry entries missing required fields when opening config panel
I also found some java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Invalid allowlist format: registry entries missing required fields when opening config panel
this should not be related.
If you asking the agent what tools do you have, what will be returned?
I have the following tools available:
• list_dir – List the contents of a directory
• read_file – Read the contents of a file
• file_search – Find files by glob pattern
• grep_search – Search for text or regex patterns in files
• validate_cves – Check dependencies for known security vulnerabilities (CVEs)
• run_subagent – Launch a specialized sub-agent (currently only a Search agent is available)
• manage_todo_list – Create and track a structured todo list
• semantic_search – Find code by meaning/concept rather than exact text
Note: I do not currently have tools for editing files or running terminal commands. If you need those, you can ask to enable them.
yes, even after restarting a dozen times :)
At each restart I keep having the same warning [LS:GitHub Copilot Language Server][Warning] [McpAutoApproveService] Invalid McpAutoApproveService config, resetting to empty undefined, could it be related ?
Or to my org settings ?
Sheng Chen (@jdneo) thanks for your help
I indeed have another error in logs :
[LS:GitHub Copilot Language Server][Error] [default] unhandledRejection: Error: database is locked
at new PersistentTfIdf (C:\snapshot\copilot-language-server-internal\dist\tfidfWorker.js:33:2679)
at new TfidfWorker (C:\snapshot\copilot-language-server-internal\dist\tfidfWorker.js:87:2551)
at main (C:\snapshot\copilot-language-server-internal\dist\tfidfWorker.js:87:4444)
at Object.<anonymous> (C:\snapshot\copilot-language-server-internal\dist\tfidfWorker.js:87:4481)
at Module.<anonymous> (node:internal/modules/cjs/loader:1785:14)
at Module._compile (pkg/prelude/bootstrap.js:1832:32)
at Object..js (node:internal/modules/cjs/loader:1917:10)
at Module.load (node:internal/modules/cjs/loader:1509:32)
at Function._load (node:internal/modules/cjs/loader:1313:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:254:19) {
code: 'ERR_SQLITE_ERROR',
errcode: 5,
errstr: 'database is locked'
}
I have activated the console logs for GCLS and I have a lot of logs (more than the actual capacity of the console), so maybe you could tell me if you're looking to something in particular ?
{
"jsonrpc": "2.0",
"id": "11",
"method": "conversation/registerTools",
"params": {
"tools": [
{
"name": "create_file",
"description": "This is a tool for creating a new workspace file or a new file at an absolute local filesystem path.\nThe file will be created with the specified content.\n",
"inputSchema": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "The absolute path to the file to create."
},
"content": {
"type": "string",
"description": "The content to write to the file."
}
},
"required": [
"filePath",
"content"
]
}
},
{
"name": "get_terminal_output",
"description": "Get the output of a terminal command previously started with run_in_terminal.\nOutput returned to the model is automatically truncated to the last 1000 lines to prevent context overflow.\n",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the terminal command output to check."
}
},
"required": [
"id"
]
}
},
{
"name": "run_in_terminal",
"description": "Shell: powershell.exe\n\nThis tool allows you to execute PowerShell commands in a persistent terminal session, preserving environment variables, working directory, and other context across multiple commands.\nUse this tool instead of printing a shell codeblock and asking the user to run it.\n\nCommand Execution:\n- Use ; to chain commands on one line\n- Never create a sub-shell (e.g., powershell -c \"command\") unless explicitly asked\n- Prefer pipelines | for object-based data flow\n- Multi-line commands must be complete and non-interactive. Do not run REPLs, continuation-prompt commands,\n unmatched quotes or brackets, or commands that wait for stdin. For Python/Node scripts, create a file first,\n then run it\n- Must use absolute paths to avoid navigation issues\n- If a command may use a pager, disable it with command flags (e.g., `git --no-pager`)\n- Output returned to the model is automatically truncated to the last 1000 lines to prevent context overflow\n\nBackground Processes:\n- For long-running tasks (e.g., servers), set isBackground=true\n- Returns a terminal ID for checking output later with get_terminal_output\n",
"inputSchema": {
"type": "object",
"properties": {
"isBackground": {
"type": "boolean",
"description": "Whether the command starts a background process.\nIf true, the command will run in the background and you will not see the output.\nIf false, the tool call will block on the command finishing, and then you will get the output.\nExamples of background processes: building in watch mode, starting a server.\nYou can check the output of a background process later on by using copilot_getTerminalOutput.\n"
},
"explanation": {
"type": "string",
"description": "A one-sentence description of what the command does.\nThis will be shown to the user before the command is run."
},
"command": {
"type": "string",
"description": "The command to run in the terminal"
}
},
"required": [
"command",
"explanation",
"isBackground"
]
},
"confirmationMessages": {
"title": "Run command in terminal",
"message": "The tool is about to run the following command in the terminal."
}
},
{
"name": "insert_edit_into_file",
"description": "Insert new code into an existing workspace file or local filesystem file.\nUse this tool once per file that needs to be modified, even if there are multiple changes for a file.\nGenerate the \"explanation\" property first.\nThe system is very smart and can understand how to apply your edits to the files,\nyou just need to provide minimal hints.\nAvoid repeating existing code, instead use comments to represent regions of unchanged code.\nBe as concise as possible.\nFor example:\n// ...existing code...\n{ changed code }\n// ...existing code...\n{ changed code }\n// ...existing code...\nHere is an example of how you should use format an edit to an existing Person class:\nclass Person {\n\t// ...existing code...\n\tage: number;\n\t// ...existing code...\n\tgetAge() {\n\treturn this.age;\n\t}\n}\n",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code change to apply to the file.\nThe system is very smart and can understand how to apply your edits to the files,\nyou just need to provide minimal hints.\nAvoid repeating existing code, instead use comments to represent regions of unchanged code.\nBe as concise as possible.\nFor example:\n// ...existing code...\n{ changed code }\n// ...existing code...\n{ changed code }\n// ...existing code...\nHere is an example of how you should use format an edit to an existing Person class:\nclass Person {\n\t// ...existing code...\n\tage: number;\n\t// ...existing code...\n\tgetAge() {\n\t\treturn this.age;\n\t}\n}\n"
},
"filePath": {
"type": "string",
"description": "An absolute path to the file to edit."
},
"explanation": {
"type": "string",
"description": "A short explanation of the edit being made."
}
},
"required": [
"explanation",
"filePath",
"code"
]
}
},
{
"name": "get_errors",
"description": "Get any compile or lint errors in a code file.\nIf the user mentions errors or problems in a file, they may be referring to these.\nUse the tool to see the same errors that the user is seeing.\nAlso use this tool after editing a file to validate the change.\n",
"inputSchema": {
"type": "object",
"properties": {
"filePaths": {
"type": "array",
"description": "Array of absolute file paths to check for errors",
"items": {
"type": "string",
"description": "The absolute path of a file to check for compile/lint errors"
}
}
},
"required": [
"filePaths"
]
}
}
]
}
}
and then the language server respond with a JSON, with all tools, including run_in_terminal and insert_edit_into_file, having status: enabled
I'm guessing no more progress has been made on this one? I'm wondering if I should upgrade to 0.21.0 but I suspect this issue will still be present? I wonder how many folks are experiencing it. I haven't had time lately to do any testing on it.
Edit: I can confirm issue is still present in 0.21.0. I updated Eclipse via software update to the latest available, in case that was relevant.
Using 0.21.0 I did as suggested, initially it did not work, it was still reporting that it could not edit files. I noticed that the console I launched eclipsec.exe from showed a Java OOM exception (I included parts of that output in the attached file). I closed all but one project in my workspace (I had about 10 or 15 open of about 60 projects in total, each with hundreds of thousands of files in it - yep I know that's a lot, I find I'm working on multiple things at a time) and relaunched.
Using Claude Haiku 4.5 in Agent mode I gave it the prompt:
Create issue355-probe.txt containing only issue355-probe, then run a terminal command to print it. If you can't create files because you don't have edit tools then just stop and tell me which tools you do have available."
That worked:
Done! I've successfully created the file issue355-probe.txt in the project directory with the content "issue355-probe", and the terminal output shows the file contents have been printed.
I have not yet tried having multiple projects open to see if the error returns. If it does, I'll post the console output.
This never happened with 0.19.0, so whatever OOM issue I was seeing must not have affected copilot's operation in that case. Maybe 0.20.0+ is less resilient to these errors?
Just a brief update. I've ended up not having editing tools again. I opened a few more large projects to work on and somehow lost the ability to edit files with copilot. I've now closed all but one project and restarted Eclipse. Editing tools are back. No change in model (GPT-5 mini - Medium).
HI Sheng Chen (@jdneo), any news about this issue ?
Right now, we are not able to use Copilot for Eclipse at all (100+ opened projects, no more agent mode), and we pay several Copilot Business licences, so we'd like to be able to use them :)
What could have changed between 0.19 and 0.20 regarding this issue ?
We have the same issue in our workspace (45 projects, 40k+ Classes), with Plugin 0.19 everything was working, since we upgrade to 0.20 (because of tool auto approval feature), and now 0.21, agent mode is not working.
I tried the steps outlined here and the culprit seems that copilot-language-server.exe (which is just a node22 in disguise) launches and consumes a lot of resources and then suddenly crashes when going above 4gb of RAM usage. Starting Eclipse with console attached gives me the same JavaScript OOM error as already pointed out here:
<--- Last few GCs --->
[18388:000002C90562B000] 576721 ms: Mark-Compact 4031.4 (4132.1) -> 4018.0 (4138.1) MB, pooled: 0 MB, 1203.46 / 0.00 ms (average mu = 0.331, current mu = 0.269) allocation failure; scavenge might not succeed
[18388:000002C90562B000] 579339 ms: Mark-Compact 4034.0 (4138.1) -> 4024.5 (4141.4) MB, pooled: 3 MB, 2586.79 / 0.00 ms (average mu = 0.136, current mu = 0.012) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
When I try using Copilot chat a new instance of copliot-language-server.exe is started again but fails to use editing tools. From the language server log it seems that after the crash and restart only plan mode gets listed as available, no ask or agent mode.
A timely fix for this is very much appreciated as we rely on Eclipse tooling and cannot switch to other dev tools for the time being.
We have the same issue in our workspace (45 projects, 40k+ Classes), with Plugin 0.19 everything was working, since we upgrade to 0.20 (because of tool auto approval feature), and now 0.21, agent mode is not working.
I tried the steps outlined here and the culprit seems that copilot-language-server.exe (which is just a node22 in disguise) launches and consumes a lot of resources and then suddenly crashes when going above 4gb of RAM usage.
This sounds a lot like our problem with the Chat view waiting for copilot process to traverse our huge repo with lot of projects, where copilot process loads 100% of one CPU core for minutes.
I did some additional testing and now have installed 0.21 Nightly on top of regular plugin. After restarting my Eclipse with this workspace copilot-language-server.exe starts and consumes a lot of CPU and RAM but this time only goes up to about 1.8GB of RAM and does not crash anymore. Agent mode works flawlessly again, all editing tools available.
So nightly seems to have a memory optimization which guards against this crash indirectly because it no longer consumes as much memory.
Hi Sheng Chen (@jdneo), I know that this repo has many open issues, but are there any news on this?
This issue is the one that keeps us from rolling out Copilot any further at the moment.
For SAP developers, Copilot is the current first choice when it comes to agentic development. But Joule for Developers is knocking at our doors, so it will soon step into competition with Copilot.
Do we know when whatever fix is in the nightly build will be ready to promote to an official release? Looks like there hasn't been a new one for a while... That was a general question to anyone here who might know. Thanks!
Activity
[-][Bug][/-][+][Bug] No file editing tool available in Agent mode since upgrading to 0.20[/+]iloveeclipse commentedon Jul 16, 2026
Works for me. Any errors in the log?
cdamioli commentedon Jul 16, 2026
Only a warning :
[LS:GitHub Copilot Language Server][Warning] [McpAutoApproveService] Invalid McpAutoApproveService config, resetting to empty undefinedMy colleague has exactly the same behavior, could it be related to our org settings ?
cdamioli commentedon Jul 16, 2026
I also found some
java.util.concurrent.CompletionException: org.eclipse.lsp4j.jsonrpc.ResponseErrorException: Invalid allowlist format: registry entries missing required fieldswhen opening config paneljdneo commentedon Jul 17, 2026
this should not be related.
If you asking the agent what tools do you have, what will be returned?
cdamioli commentedon Jul 17, 2026
Answer:
jdneo commentedon Jul 17, 2026
The problem keep existing even restart eclipse?
cdamioli commentedon Jul 17, 2026
yes, even after restarting a dozen times :)
At each restart I keep having the same warning
[LS:GitHub Copilot Language Server][Warning] [McpAutoApproveService] Invalid McpAutoApproveService config, resetting to empty undefined, could it be related ?Or to my org settings ?
jdneo commentedon Jul 17, 2026
No it should not be a root cause of edit tools being unavaiable. I tracked it in #358
So, you don't have this issue in 0.19, right?
cdamioli commentedon Jul 17, 2026
Yes, 0.19 worked well. But I can't rollback to 0.19 to test again, as that version is not present anymore on the update site.
jdneo commentedon Jul 18, 2026
Cédric Damioli (@cdamioli)
From your attached answer of the question "what tools do you have"
It seems that only CLS side tools are enabled. All the plugin side tools: edit, terminal, are all losing.
Could you please check the .log file if there is any errors in it?
And enable the CLS console log, then restart the ide, collect the language server's log in the console view
And it would be helpful if you could share those text to us :)
cdamioli commentedon Jul 20, 2026
Sheng Chen (@jdneo) thanks for your help
I indeed have another error in logs :
I have activated the console logs for GCLS and I have a lot of logs (more than the actual capacity of the console), so maybe you could tell me if you're looking to something in particular ?
jdneo commentedon Jul 21, 2026
Check the request
conversation/registerTools, what tools are listed?cdamioli commentedon Jul 21, 2026
I got two
conversation/registerToolsrequests :the second one send the following tools:
and then the language server respond with a JSON, with all tools, including run_in_terminal and insert_edit_into_file, having
status: enabled10 remaining items
jdneo commentedon Aug 4, 2026
You can uninstall your copilot plugin from Eclipse first, and then install it from https://marketplace.eclipse.org/content/github-copilot-nightly
cdamioli commentedon Aug 4, 2026
Just tested with 0.20.0.202607290210_nightly => same behavior, same issue
jdneo commentedon Aug 5, 2026
What if you launch your eclipse via the eclipsec.exe?
Find your eclipse install location, you should find a file named
eclipsec.exe, launch it via terminal, and see if the problem can be solved.alx-glover commentedon Aug 18, 2026
I'm guessing no more progress has been made on this one? I'm wondering if I should upgrade to 0.21.0 but I suspect this issue will still be present? I wonder how many folks are experiencing it. I haven't had time lately to do any testing on it.
Edit: I can confirm issue is still present in 0.21.0. I updated Eclipse via software update to the latest available, in case that was relevant.
jdneo commentedon Aug 18, 2026
alx-glover have you tried #355 (comment), using eclipsec.exe to launch?
alx-glover commentedon Aug 18, 2026
Using 0.21.0 I did as suggested, initially it did not work, it was still reporting that it could not edit files. I noticed that the console I launched eclipsec.exe from showed a Java OOM exception (I included parts of that output in the attached file). I closed all but one project in my workspace (I had about 10 or 15 open of about 60 projects in total, each with hundreds of thousands of files in it - yep I know that's a lot, I find I'm working on multiple things at a time) and relaunched.
Using Claude Haiku 4.5 in Agent mode I gave it the prompt:
That worked:
I have not yet tried having multiple projects open to see if the error returns. If it does, I'll post the console output.
This never happened with 0.19.0, so whatever OOM issue I was seeing must not have affected copilot's operation in that case. Maybe 0.20.0+ is less resilient to these errors?
Thanks.
console output.txt
alx-glover commentedon Aug 21, 2026
Just a brief update. I've ended up not having editing tools again. I opened a few more large projects to work on and somehow lost the ability to edit files with copilot. I've now closed all but one project and restarted Eclipse. Editing tools are back. No change in model (GPT-5 mini - Medium).
cdamioli commentedon Aug 28, 2026
Hi,
We may have a pattern here.
I upgraded to 0.21, restarted with eclipsec.exe and also got a memory error :
cdamioli commentedon Sep 23, 2026
HI Sheng Chen (@jdneo), any news about this issue ?
Right now, we are not able to use Copilot for Eclipse at all (100+ opened projects, no more agent mode), and we pay several Copilot Business licences, so we'd like to be able to use them :)
What could have changed between 0.19 and 0.20 regarding this issue ?
BraggerXYZ commentedon Sep 24, 2026
We have the same issue in our workspace (45 projects, 40k+ Classes), with Plugin 0.19 everything was working, since we upgrade to 0.20 (because of tool auto approval feature), and now 0.21, agent mode is not working.
I tried the steps outlined here and the culprit seems that copilot-language-server.exe (which is just a node22 in disguise) launches and consumes a lot of resources and then suddenly crashes when going above 4gb of RAM usage. Starting Eclipse with console attached gives me the same JavaScript OOM error as already pointed out here:
<--- Last few GCs --->
[18388:000002C90562B000] 576721 ms: Mark-Compact 4031.4 (4132.1) -> 4018.0 (4138.1) MB, pooled: 0 MB, 1203.46 / 0.00 ms (average mu = 0.331, current mu = 0.269) allocation failure; scavenge might not succeed
[18388:000002C90562B000] 579339 ms: Mark-Compact 4034.0 (4138.1) -> 4024.5 (4141.4) MB, pooled: 3 MB, 2586.79 / 0.00 ms (average mu = 0.136, current mu = 0.012) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 00007FF6A9B0C767 node::SetCppgcReference+21127
2: 00007FF6A9A6CBAB DSA_meth_get_flags+104635
3: 00007FF6AA67B7B1 v8::Isolate::ReportExternalAllocationLimitReached+65
4: 00007FF6AA6681F6 v8::Function::Experimental_IsNopFunction+3318
5: 00007FF6AA4C4450 v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+33904
6: 00007FF6AA4BD89A v8::internal::StrongRootAllocatorBase::StrongRootAllocatorBase+6330
7: 00007FF6AA4B90B5 v8::internal::ThreadIsolation::JitPageReference::Size+190325
8: 00007FF6A9E3EE5D BIO_ssl_shutdown+189
When I try using Copilot chat a new instance of copliot-language-server.exe is started again but fails to use editing tools. From the language server log it seems that after the crash and restart only plan mode gets listed as available, no ask or agent mode.
A timely fix for this is very much appreciated as we rely on Eclipse tooling and cannot switch to other dev tools for the time being.
iloveeclipse commentedon Sep 24, 2026
This sounds a lot like our problem with the Chat view waiting for copilot process to traverse our huge repo with lot of projects, where copilot process loads 100% of one CPU core for minutes.
BraggerXYZ commentedon Sep 24, 2026
I did some additional testing and now have installed 0.21 Nightly on top of regular plugin. After restarting my Eclipse with this workspace copilot-language-server.exe starts and consumes a lot of CPU and RAM but this time only goes up to about 1.8GB of RAM and does not crash anymore. Agent mode works flawlessly again, all editing tools available.
So nightly seems to have a memory optimization which guards against this crash indirectly because it no longer consumes as much memory.
MergingMonkey commentedon Oct 9, 2026
Hi Sheng Chen (@jdneo), I know that this repo has many open issues, but are there any news on this?
This issue is the one that keeps us from rolling out Copilot any further at the moment.
For SAP developers, Copilot is the current first choice when it comes to agentic development. But Joule for Developers is knocking at our doors, so it will soon step into competition with Copilot.
cdamioli commentedon Nov 9, 2026
I can confirm that editing tools are back when using nigthly
alx-glover commentedon Nov 9, 2026
Do we know when whatever fix is in the nightly build will be ready to promote to an official release? Looks like there hasn't been a new one for a while... That was a general question to anyone here who might know. Thanks!