Skip to content

Files from other project may not be modified or at least a warnning message ~ #67622

@clor09

Description

@clor09

I'm currently working on my go project which was created and managed by go mod, but i think it may be the same with others like 'php composer'.
Problem is:
I import a thirdparty lib and use it somewhere in my project, then go mod to download and cache the code in cache dir. When Command + click to goto defination of an interface which belongs to that lib, i noticed that i just can edit that file. As i expected i may not edit that file or at least some message may show to warn me that you are editing a file that not belongs to your current project, its dangerous.

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designedfile-ioFile I/Ounder-discussionIssue is under discussion for relevance, priority, approach

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions