Skip to content

Allow tool access to (some) files outside of workspace (permanently, for this session) #174

@stephanroch

Description

@stephanroch

Feedback source

None

GitHub Copilot plugin version

GitHub Copilot 0.15.0.202602060509_nightly

Eclipse IDE and version

Eclipse IDE for Enterprise Java and Web Developers 2025-06 (4.36.0) Build id: 20250605-1316 (yeah - I realy should update this - but behaviour should be independent of this because prompt is from within Github Copilot plugin))

Platform

Microsoft Windows NT 10.0.22631.0 x64

Steps to reproduce

Have a code base with many projects with references to, but not all projects are loaded in the Eclipse workspace (due to performance limitations of Eclipse).

Use agent mode.

Whenever the agent wants to access or modify files or directories outside of projects in the Eclipse workspace a prompt appears:
Allow reading sensitive files?
files outside workspace needs confirmation
The model wants to read sensitive files () matching pattern 'outside-workspace'.
Do you want to allow this?
[Continue][Cancel]
Image

Logs (optional)

No response

Expected behavior

It would be great if there is an option to (temporarily/permanent) allow access. Either generally or limited by file and or directory pattern.

Actual behavior

The same prompt appears for every tool call and access of files outside the workspace.

It is currently not possible to (temporarily or permanent) grant access for the session/workspace/files/directories.

This gets anoying if the agent tries to read more than a bunch of files. Same is true for tool access (e.g. reading directories, finding files or strings).

Additional information

See microsoft/copilot-intellij-feedback#882 which is solved already. Please provide something similar for Eclipse users. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions