Skip to content

There should be a prompt when clicking on the codelens(command) in the read-only editor #207982

@yiliang114

Description

@yiliang114

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version:
    • 版本: 1.87.2 (Universal)
    • 提交: 863d258
    • 日期: 2024-03-08T15:21:31.043Z
    • Electron: 27.3.2
    • ElectronBuildId: 26836302
    • Chromium: 118.0.5993.159
    • Node.js: 18.17.1
    • V8: 11.8.172.18-electron.0
  • OS: Darwin x64 23.3.0

Steps to Reproduce:

  1. Open any file that requires the merged code
  2. To set the file to read-only, maybe only need to set the file path to read-only in the setting
  3. Open the file and try to click codelens, it will have no effect.
  4. Recommend that all operations which tries to modify the contents of a read-only file document, need a pop-up prompt.

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitymerge-conflictMerge conflict decorations and actions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions