Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.
This repository was archived by the owner on May 11, 2022. It is now read-only.

Offer a way to open an untitled didact file via the extension_name:file_name Uri #562

@bfitzpat

Description

@bfitzpat

An issue has come up in the VS Code Development slack.

An extension developer has created an extension that edits markdown documents loaded from a backend server but has run into issues editing untitled documents. One of the things explored was using Didact to render them, but currently it can't process them.

From the conversation:

Hm for example in our extension (linked before Bugout) I load files from server and open them as markdown in editable mode. During user work with them I send updates to server with function onDidChangeTextDocument so they always synchronized. But I can't implement additional features, because this is dirty file, I can't add special buttons (for example as in microsoft/vscode-extension-samples/virtual-document-sample the button "Cowsay") and so on.. This untitled documents is so limited until they will be saved.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions