FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adding a major mode for a language, locally? · Issue #404 · VSpaceCode/VSpaceCode · GitHub

Adding a major mode for a language, locally? #404

Description

Sorry if this is something obvious, I'm pretty new to VSCode and to this extension.

I'm trying to add some local bindings for Scala. These may or may not end up in this extension, but for now I'm trying to make some things more accessible.

So far, I have this settings.json. I've taken the config for Rust from this extension, changed the condition and a couple other small things, and tried to add it like follows:

  "vspacecode.bindingOverrides": [
    {
      "keys": ["m", "languageId:scala"],
      "name": "Scala",
      "type": "bindings",
      "bindings": [
        {
          "key": "=",
          "name": "+Format",
          "icon": "list-flat",
          "type": "bindings",
          "bindings": [

(I got keys from here). The issue is, I can't seem to get to this submenu. Both <space> m and , in a Scala file only produce the "No condition matched" message in the status panel.

What's the proper way to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL