Skip to content

Never ending progress when forgetting to register custom editor provider #96407

Description

@alexdima

Testing #96315

  • Have an extension with the following package.json:
    ...
    "activationEvents": [
        "onCustomEditor:my.custom.editor"
    ],
    ...
    "contributes": {
        "customEditors": [
            {
                "viewType": "my.custom.editor",
                "displayName": "My Custom Editor",
                "selector": [
                    {
                        "filenamePattern": "*.bin"
                    }
                ]
            }
        ]
    }
  • Have the extension have a main file with an activate method that doesn't do anything
  • Open a file with the extension .bin:
  • Observe, there is a spinner that never stops and no message is presented to informat that an editor is missing or cannot be loaded:

Kapture 2020-04-28 at 15 26 56

Metadata

Metadata

Assignees

Labels

*out-of-scopePosted issue is not in scope of VS CodebugIssue identified by VS Code Team member as probable bugcustom-editorsCustom editor API (webview based editors)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions