Skip to content

extensions-langs no longer has language names. It uses file extensions instead #766

@Gomes117

Description

@Gomes117

In version < 4.25 I could select language by name. I no longer can do that as langs has changed to file extensions.

Before:

import {langs} from "@uiw/codemirror-extensions-langs";
python = langs.python()

Now

import {langs} from "@uiw/codemirror-extensions-langs";
python = langs.py()

It would be nice if that functionality can be brought back. You can export langs and exts to let developers use whatever fits their need best.

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