Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-egypt brackets at shorthand methods #224

Closed
faiwer opened this issue Dec 14, 2015 · 3 comments
Closed

Non-egypt brackets at shorthand methods #224

faiwer opened this issue Dec 14, 2015 · 3 comments
Labels

Comments

@faiwer
Copy link

faiwer commented Dec 14, 2015

let a = {   
    method1()
    {

    },
    method2(){

    },
    method3(){}
};

shorten-name of method1 - white.

img_14_12_17 51 31_60cd6acaec8

@faiwer faiwer changed the title Shorten method name highlight (non-egypt brackets) Non-egypt brackets at shorthand methods Dec 14, 2015
@faiwer
Copy link
Author

faiwer commented Dec 14, 2015

Also methods list without method1

img_14_12_18 11 02_29ca9399797

@zertosh
Copy link
Member

zertosh commented Jan 2, 2016

Nothing I can do about this any time soon. The issue is with differentiating between short methods and function calls. It's a non-trivial issue because braces can create blocks or objects.

@zertosh zertosh added the bug label Jan 2, 2016
@zertosh
Copy link
Member

zertosh commented Nov 27, 2016

This will work after "re-rewrite babel-sublime" #293.

@zertosh zertosh closed this as completed Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants