Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readonly ranges/lines in the editors #88885

Open
connor4312 opened this issue Jan 17, 2020 · 1 comment
Open

Readonly ranges/lines in the editors #88885

connor4312 opened this issue Jan 17, 2020 · 1 comment
Labels
editor-core Editor basic functionality feature-request Request for new features or functionality
Milestone

Comments

@connor4312
Copy link
Member

In the Cosmos DB extension exploration, documents are opened as JSON files, which can be edited

image

They may have user defined properties, as well as several database-defined properties. Editing these is possible, and may be desired for the _etag, but in general will have no effect, be ignored, or break things in odd ways. On the other hand, it's not appropriate to omit these entirely, as it can be useful to reference or copy.

It could be helpful to have readonly ranges within the editor to help users understand that changes made within these fields have no affect.

Readonly ranges also came up a few days ago in the context of @JacksonKearl's search editor a few days ago.

@jrieken jrieken assigned alexdima and unassigned jrieken Jan 20, 2020
@alexdima alexdima added editor feature-request Request for new features or functionality labels Jan 20, 2020
@alexdima alexdima added this to the Backlog milestone Jan 20, 2020
@alexdima alexdima removed their assignment Jan 20, 2020
@alexdima alexdima added editor-core Editor basic functionality and removed editor labels Oct 15, 2021
@Delapouite
Copy link

Related discussion in the Monaco issues: microsoft/monaco-editor#953

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-core Editor basic functionality feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants