libextobjc icon indicating copy to clipboard operation
libextobjc copied to clipboard

@weakify / @strongify syntax highlighting

Open nikkonikko opened this issue 10 years ago • 2 comments

Hi,

I use the default xcode syntax highlighting and uses the weakify/strongify stuff. I just want to be sure, if I installed the weakify/strongify correctly.

The syntax highlighting looks like this, f.x. for weakify (HTML:):

<font color="#000000">@</font><font color="#A52A2A">weakify</font>(<font color="#FF1493">self</font>)

=> @ = black, weakify=braun, self=pink

but shouldn't it look like a keyword, so like this (HTML:):

<font color="#FF1493">@weakify(self)</font>

=> all should be pink?

Anyone? Thanks

nikkonikko avatar Dec 21 '15 13:12 nikkonikko

I don't know why using "@" as a macro prefix, and this leads to no syntax prompt and can not auto-completed.

alexlee002 avatar Jul 27 '18 11:07 alexlee002

@alexlee002 just to make it more like Objective-C, I think

rickytan avatar Sep 14 '18 13:09 rickytan