timdenholm/vscode-netscaler

the word "disable" is appearing coloured when it shouldn't be

felipe1982 opened this issue · 6 comments

when the word "disabled" appears anywhere as an argument or option to a command, it appears as coloured (instead of the normal text colour).

It SHOULD appear as a normal text colour.

Try out this command:
add rewrite policy rw_pol-res-disable-receiver-check "HTTP.REQ.HOSTNAME.SERVER.SET_TEXT_MODE(IGNORECASE).EQ(\"connect-dev.example\")" rw_at-res-disable-receiver-check

This is how it looks on my vscode:

Screenshot_49

There's a number of cases where issues like this exist; fortunately it's a simple fix.

I hadn't realised there 600+ installations of the extension since I first published it 😮; I'll fix this one amongst the others and push out another release.

Thank you for replying so quickly. You should also add a link to your github from the Marketplace page too. Easier to find the code to your cool extension.

No problem 😄 I've just pushed out a release with this fixed, you should see an update in VSCode shortly.

I installed the update, but get something strange:
image

Yeah I noticed that shortly after I pushed it, I'm still trying to understand TextMate's order of precedence 😕

It's fixed in the next release now, hopefully I didn't miss anything else 🤞

It looks even BETTER than it did before! Great work. And I like the link you added to the marketplace page too!