brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Kotlin language support #11948

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by hasnabbas Saturday Nov 10, 2018 at 07:30 GMT Originally opened as https://github.com/adobe/brackets/issues/14594


Brackets does not seem to be usable for Kotlin language. Please add Kotlin language support as new requested feature.

core-ai-bot commented 3 years ago

Comment by x13machine Monday Nov 26, 2018 at 22:38 GMT


Language support is done through CodeMirror. CodeMirror supports Kotlin, but it's not in the src/language/languages.json file. There's a bunch of languages that CodeMirror supports but aren't in the languages.json file.

You add to add this to src/language/languages.json:

    "kotlin": {
        "name": "Kotlin",
        "mode": ["clike", "text/x-kotlin"],
        "fileExtensions": ["kt"],
        "blockComment": ["/*", "*/"],
        "lineComment": ["//"]
    }
core-ai-bot commented 3 years ago

Comment by hasnabbas Monday Dec 17, 2018 at 05:11 GMT


@x13machine Hi. I couldn't find the the file src/language/languages.json file. I am using windows.

core-ai-bot commented 3 years ago

Comment by x13machine Monday Dec 17, 2018 at 06:54 GMT


I dunno, build it from scratch?

core-ai-bot commented 3 years ago

Comment by cyberespia Thursday Mar 07, 2019 at 03:52 GMT


To date, I've searched for an extension to Kotlin and I can not find any. - Please add Kotlin language support.