Skip to content

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

Closed

Description

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

Activity

  1. added this to the May 2020 milestone on Apr 28, 2020
  2. added
    bug
    on Apr 28, 2020
  3. added
    custom-editors
    on Jun 3, 2020
  4. mjbvz commented on Nov 5, 2020

    @mjbvz
    Contributor

    Closing this since we have not seen reports of it causing problems for users. This is also the behavior of normal webviews

  5. added
    *out-of-scope
    on Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*out-of-scopebugcustom-editors

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions