Sublime Forum

color schemes doesn't work properly

#1

image
image

0 Likes

#2

It’s working as expected.

  1. define('ABSPATH') is scoped entity.name.constant to drive Goto Definition, while all other
    references (e.g.: defined('ABSPATH')) keep being scoped normal strings.

  2. The %d format placeholder is scoped constant.other.placeholder, which various color schemes assign a dedicated color to. _The improvement could rather be to also scope %M within strftime().

You would need to modify your color scheme using UI: Customize Color Scheme to change highlighting to whatever you want. Required scopes can be determined via ctrl+shift+alt+p while caret is on a token.

2 Likes