vscode-theme-onedark icon indicating copy to clipboard operation
vscode-theme-onedark copied to clipboard

Variables as argument inside array is not colored

Open akamud opened this issue 6 years ago • 0 comments

Sample code

import { TestBed, inject } from '@angular/core/testing'

import { EnvironmentConfigService } from './environment-config.service'

describe('EnvironmentConfigService', () => {
    beforeEach(() => {
        TestBed.configureTestingModule({
            providers: [EnvironmentConfigService]
        })
    })

    it(
        'should be created',
        inject(
            [EnvironmentConfigService],
            (service: EnvironmentConfigService) => {
                expect(service).toBeTruthy()
            }
        )
    )
})

Filename and Language selected

environment-config.service.spec.ts, TypeScript

Atom Original theme Screenshot

image

VSCode theme Screenshot

image

Versions used

  • VSCode version: 1.21.1
  • Theme version: 2.1.0

Extra information

Not sure if this should be colored and the unwanted effects, but this is the scope:

"editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "meta.array.literal.ts variable.other.readwrite.ts",
                "settings": {
                    "foreground": "#e06c75"
                }
            }
        ]
    }

akamud avatar Mar 19 '18 18:03 akamud