Skip to content

Output channel highlighting is broken with removed text/x-code-output mimetype #13502

Closed

Description

  • VSCode Version: 1.7
  • OS Version: OSX

We are highlighting the output from our extension by creating a language + grammar and associating it with text/x-code-output mimetype:

  "contributes": {
    ...
    "languages": [
      {
        "id": "wallaby-output",
        "mimetypes": [
          "text/x-code-output"
        ]
      }
    ],
    "grammars": [
      {
        "language": "wallaby-output",
        "scopeName": "wallaby.output",
        "path": "./wallaby-output.tmLanguage"
      }
    ]
  },

screen shot 2016-08-26 at 6 31 37 pm

In 1.7 our extension's output highlighting is broken because mimetypes were removed, so now it's not possible anymore to apply some language to an output channel. Until there's the proper solution via API, is there any workaround to fix the highlighting for output channels?

/cc Benjamin Pasero (@bpasero)

Activity

  1. isidorn commented on Oct 11, 2016

    @isidorn

    Assigning to october since this looks like a regression in the insiders channel.
    I was not aware that we remove mime types for output. Since the insider release only has new commits from last and this week it should not be too hard to find what is to blame for this breakage.

  2. added
    bug
    on Oct 13, 2016
  3. jrieken commented on Oct 26, 2016

    @jrieken
    Contributor

    verified by reviewing commit

  4. locked and limited conversation to collaborators on Nov 18, 2017
  5. added a commit that references this issue on Sep 6, 2026
    e1cd075
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions