Skip to content

modification to #member-access repository #188

Description

@CasuallyCalm

I'm working with VSCode, would it be possible to get a scope name for member-access? It might just be personal preference but it's nice when themes are able to take advantage of when they're used.

Default

default

Named member-access

named

It can be taken a bit further by adding another repository for it to check against. I only have a few hours of textMate exposure so I'm sure there are better ways of doing this. I don't have a lot of experience with regex either so most of this I just bogarted from the source.js file since it supports what I'm trying to do.

Here's a gist of my modded MagicPython that was used by VSCode The added repository is called class-call

And an example of what that produces

modded_source

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