1.6.2
parent
c546cb8584
commit
99412e1c35
|
@ -0,0 +1,10 @@
|
||||||
|
jsxBracketSameLine: true
|
||||||
|
jsxSingleQuote: true
|
||||||
|
semi: false
|
||||||
|
singleQuote: true
|
||||||
|
printWidth: 100
|
||||||
|
useTabs: false
|
||||||
|
tabWidth: 2
|
||||||
|
trailingComma: none
|
||||||
|
bracketSpacing: true
|
||||||
|
arrowParens: avoid
|
14
.travis.yml
14
.travis.yml
|
@ -1,14 +0,0 @@
|
||||||
language: node_js
|
|
||||||
|
|
||||||
os:
|
|
||||||
- osx
|
|
||||||
|
|
||||||
node_js:
|
|
||||||
- node
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- "node_modules"
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
|
@ -1,7 +1,9 @@
|
||||||
.vscode/**
|
.vscode/**
|
||||||
.vscode-test/**
|
.vscode-test/**
|
||||||
.gitignore
|
.gitignore
|
||||||
|
.prettierrc.yaml
|
||||||
src
|
src
|
||||||
src/**
|
src/**
|
||||||
build.js
|
build.js
|
||||||
|
app.yaml
|
||||||
vsc-extension-quickstart.md
|
vsc-extension-quickstart.md
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
|
||||||
|
## [1.6.2] 2022-03-14
|
||||||
|
- 修复js字符串模板中的着色
|
||||||
|
- 优化import代码着色
|
||||||
|
|
||||||
## [1.6.1] 2022-02-22
|
## [1.6.1] 2022-02-22
|
||||||
- 优化列表颜色
|
- 优化列表颜色
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
[![Version](https://vsmarketplacebadge.apphb.com/version-short/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
[![Version](https://vsmarketplacebadge.apphb.com/version-short/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
||||||
[![Rating](https://vsmarketplacebadge.apphb.com/rating-short/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
[![Rating](https://vsmarketplacebadge.apphb.com/rating-short/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
||||||
[![Installs](https://vsmarketplacebadge.apphb.com/installs/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
[![Installs](https://vsmarketplacebadge.apphb.com/installs/yutent.one-plain.svg)](https://marketplace.visualstudio.com/items?itemName=yutent.one-plain)
|
||||||
[![Build Status](https://travis-ci.org/yutent/one-plain.svg?branch=master)](https://travis-ci.org/yutent/one-plain)
|
|
||||||
|
|
||||||
## 截图预览
|
## 截图预览
|
||||||
![截图](./demo.jpg)
|
![截图](./demo.jpg)
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
script: node ./build.js
|
||||||
|
cwd: ./
|
||||||
|
watch: true
|
||||||
|
name: oss
|
||||||
|
ignore_watch: [data, themes, package.json, package-lock.json, node_modules, .git, .gitignore, app.yaml]
|
||||||
|
exec_mode: fork
|
||||||
|
|
||||||
|
error_file: ./data/logs/error.log
|
||||||
|
out_file: ./data/logs/out.log
|
||||||
|
merge_logs: true
|
||||||
|
min_uptime: 60s
|
||||||
|
max_restarts: 1
|
||||||
|
max_memory_restart: 300M
|
||||||
|
env:
|
||||||
|
NODE_ENV: development
|
||||||
|
|
||||||
|
|
8
build.js
8
build.js
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
const fs = require('iofs')
|
const fs = require('iofs')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
const readline = require('readline')
|
||||||
|
|
||||||
const colors = require('./src/colors')
|
const colors = require('./src/colors')
|
||||||
|
|
||||||
|
@ -32,4 +33,11 @@ const theme = {
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.echo(JSON.stringify(theme, '', 2), path.join('./themes', 'color-theme.json'))
|
fs.echo(JSON.stringify(theme, '', 2), path.join('./themes', 'color-theme.json'))
|
||||||
|
|
||||||
|
// 这个就只是单纯的用来阻止进程结束, 方便pm2
|
||||||
|
readline.createInterface({
|
||||||
|
input: process.stdin,
|
||||||
|
output: process.stdout
|
||||||
|
})
|
||||||
|
|
||||||
console.log('Build complete...')
|
console.log('Build complete...')
|
||||||
|
|
|
@ -0,0 +1,59 @@
|
||||||
|
/Volumes/extends/www/project/one-plain/src/es.js:105
|
||||||
|
'string.template.js meta.template.expression.js meta.array.literal.js meta.brace.square.js',
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
SyntaxError: Unexpected string
|
||||||
|
at wrapSafe (internal/modules/cjs/loader.js:915:16)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:963:27)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
at Module.load (internal/modules/cjs/loader.js:863:32)
|
||||||
|
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
|
||||||
|
at Module.require (internal/modules/cjs/loader.js:887:19)
|
||||||
|
at require (internal/modules/cjs/helpers.js:74:18)
|
||||||
|
at Object.<anonymous> (/Volumes/extends/www/project/one-plain/build.js:14:12)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:999:30)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
/Volumes/extends/www/project/one-plain/src/es.js:20
|
||||||
|
'meta.import.ts string.quoted.double.ts'
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
SyntaxError: Unexpected string
|
||||||
|
at wrapSafe (internal/modules/cjs/loader.js:915:16)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:963:27)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
at Module.load (internal/modules/cjs/loader.js:863:32)
|
||||||
|
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
|
||||||
|
at Module.require (internal/modules/cjs/loader.js:887:19)
|
||||||
|
at require (internal/modules/cjs/helpers.js:74:18)
|
||||||
|
at Object.<anonymous> (/Volumes/extends/www/project/one-plain/build.js:14:12)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:999:30)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
/Volumes/extends/www/project/one-plain/src/es.js:20
|
||||||
|
'meta.import.ts string.quoted.double.ts'
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
SyntaxError: Unexpected string
|
||||||
|
at wrapSafe (internal/modules/cjs/loader.js:915:16)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:963:27)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
at Module.load (internal/modules/cjs/loader.js:863:32)
|
||||||
|
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
|
||||||
|
at Module.require (internal/modules/cjs/loader.js:887:19)
|
||||||
|
at require (internal/modules/cjs/helpers.js:74:18)
|
||||||
|
at Object.<anonymous> (/Volumes/extends/www/project/one-plain/build.js:14:12)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:999:30)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
readline.js:228
|
||||||
|
input.on('data', ondata);
|
||||||
|
^
|
||||||
|
|
||||||
|
TypeError: Cannot read property 'on' of undefined
|
||||||
|
at new Interface (readline.js:228:11)
|
||||||
|
at Object.createInterface (readline.js:92:10)
|
||||||
|
at Object.<anonymous> (/Volumes/extends/www/project/one-plain/build.js:37:10)
|
||||||
|
at Module._compile (internal/modules/cjs/loader.js:999:30)
|
||||||
|
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
|
||||||
|
at Module.load (internal/modules/cjs/loader.js:863:32)
|
||||||
|
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
|
||||||
|
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
|
||||||
|
at internal/main/run_main_module.js:17:47
|
|
@ -0,0 +1,33 @@
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
||||||
|
Build complete...
|
|
@ -3,7 +3,7 @@
|
||||||
"displayName": "one plain",
|
"displayName": "one plain",
|
||||||
"description": "🔥 米白色主题",
|
"description": "🔥 米白色主题",
|
||||||
"icon": "logo.png",
|
"icon": "logo.png",
|
||||||
"version": "1.6.1",
|
"version": "1.6.2",
|
||||||
"publisher": "yutent",
|
"publisher": "yutent",
|
||||||
"author": "Yutent [@yutent]",
|
"author": "Yutent [@yutent]",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
27
src/base.js
27
src/base.js
|
@ -274,21 +274,7 @@ module.exports = [
|
||||||
foreground: '#e53935'
|
foreground: '#e53935'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: 'entity.name.method.js',
|
|
||||||
scope: ['entity.name.method.js'],
|
|
||||||
settings: {
|
|
||||||
fontStyle: 'italic',
|
|
||||||
foreground: '#6182B8'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'meta.method.js',
|
|
||||||
scope: ['meta.class-method.js entity.name.function.js', 'variable.function.constructor'],
|
|
||||||
settings: {
|
|
||||||
foreground: '#6182B8'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
name: 'Attributes',
|
name: 'Attributes',
|
||||||
scope: ['entity.other.attribute-name'],
|
scope: ['entity.other.attribute-name'],
|
||||||
|
@ -330,16 +316,5 @@ module.exports = [
|
||||||
settings: {
|
settings: {
|
||||||
fontStyle: 'underline'
|
fontStyle: 'underline'
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Decorators',
|
|
||||||
scope: [
|
|
||||||
'tag.decorator.js entity.name.tag.js',
|
|
||||||
'tag.decorator.js punctuation.definition.tag.js'
|
|
||||||
],
|
|
||||||
settings: {
|
|
||||||
fontStyle: 'italic',
|
|
||||||
foreground: '#6182B8'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
97
src/es.js
97
src/es.js
|
@ -1,6 +1,71 @@
|
||||||
const vars = require('./var')
|
const vars = require('./var')
|
||||||
|
|
||||||
module.exports = [
|
module.exports = [
|
||||||
|
{
|
||||||
|
name: 'import constant',
|
||||||
|
scope: [
|
||||||
|
'meta.import.js variable.other.readwrite.alias.js',
|
||||||
|
'meta.import.ts variable.other.readwrite.alias.ts'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
foreground: vars.blue2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'import path',
|
||||||
|
scope: [
|
||||||
|
'meta.import.js string.quoted.single.js',
|
||||||
|
'meta.import.js string.quoted.double.js',
|
||||||
|
'meta.import.ts string.quoted.single.ts',
|
||||||
|
'meta.import.ts string.quoted.double.ts'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
fontStyle: 'underline',
|
||||||
|
foreground: vars.common
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'import path',
|
||||||
|
scope: [
|
||||||
|
'meta.import.js string.quoted.single.js punctuation.definition.string.begin.js',
|
||||||
|
'meta.import.js string.quoted.double.js punctuation.definition.string.begin.js',
|
||||||
|
'meta.import.js string.quoted.single.js punctuation.definition.string.end.js',
|
||||||
|
'meta.import.js string.quoted.double.js punctuation.definition.string.end.js',
|
||||||
|
'meta.import.ts string.quoted.single.ts punctuation.definition.string.begin.ts',
|
||||||
|
'meta.import.ts string.quoted.double.ts punctuation.definition.string.begin.ts',
|
||||||
|
'meta.import.ts string.quoted.single.ts punctuation.definition.string.end.ts',
|
||||||
|
'meta.import.ts string.quoted.double.ts punctuation.definition.string.end.ts'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
fontStyle: 'none'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Decorators',
|
||||||
|
scope: [
|
||||||
|
'tag.decorator.js entity.name.tag.js',
|
||||||
|
'tag.decorator.js punctuation.definition.tag.js'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
fontStyle: 'italic',
|
||||||
|
foreground: '#6182B8'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'meta.method.js',
|
||||||
|
scope: ['meta.class-method.js entity.name.function.js', 'variable.function.constructor'],
|
||||||
|
settings: {
|
||||||
|
foreground: '#6182B8'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'entity.name.method.js',
|
||||||
|
scope: ['entity.name.method.js'],
|
||||||
|
settings: {
|
||||||
|
fontStyle: 'italic',
|
||||||
|
foreground: '#6182B8'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Class extends, build-in, dom',
|
name: 'Class extends, build-in, dom',
|
||||||
scope: [
|
scope: [
|
||||||
|
@ -53,14 +118,39 @@ module.exports = [
|
||||||
name: 'ts string express',
|
name: 'ts string express',
|
||||||
scope: [
|
scope: [
|
||||||
'punctuation.definition.template-expression.begin.ts',
|
'punctuation.definition.template-expression.begin.ts',
|
||||||
'punctuation.definition.template-expression.end.ts'
|
'punctuation.definition.template-expression.end.ts',
|
||||||
|
'punctuation.definition.template-expression.begin.js',
|
||||||
|
'punctuation.definition.template-expression.end.js'
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
fontStyle: '',
|
fontStyle: '',
|
||||||
foreground: '#ff5370'
|
foreground: '#ff5370'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Punctuation',
|
||||||
|
scope: [
|
||||||
|
'meta.object.member.js meta.array.literal.js meta.brace.square.js',
|
||||||
|
'meta.object.member.js meta.arrow.js meta.brace.round.js',
|
||||||
|
'string.template.js meta.template.expression.js meta.array.literal.js meta.brace.square.js',
|
||||||
|
'string.template.js meta.template.expression.js meta.brace.round.js',
|
||||||
|
'string.template.ts meta.template.expression.ts meta.array.literal.ts meta.brace.square.ts',
|
||||||
|
'string.template.ts meta.template.expression.ts meta.brace.round.ts'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
foreground: vars.common
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Variables',
|
||||||
|
scope: [
|
||||||
|
'string.template.js meta.template.expression.js support.variable.property.js',
|
||||||
|
'string.template.ts meta.template.expression.ts support.variable.property.ts'
|
||||||
|
],
|
||||||
|
settings: {
|
||||||
|
foreground: vars.common2
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'build-in function',
|
name: 'build-in function',
|
||||||
scope: [
|
scope: [
|
||||||
|
@ -124,6 +214,9 @@ module.exports = [
|
||||||
scope: [
|
scope: [
|
||||||
'constant.other.object.key.js string.unquoted.label.js',
|
'constant.other.object.key.js string.unquoted.label.js',
|
||||||
'constant.other.object.key.js string.quoted.label.js',
|
'constant.other.object.key.js string.quoted.label.js',
|
||||||
|
'meta.object.member.js meta.object-literal.key.js string.quoted.double.js',
|
||||||
|
'meta.object.member.js meta.object-literal.key.js string.quoted.single.js',
|
||||||
|
'meta.object.member.js meta.object-literal.key.js constant.numeric.decimal.js',
|
||||||
'meta.objectliteral.js meta.object.member.js meta.object-literal.key.js'
|
'meta.objectliteral.js meta.object.member.js meta.object-literal.key.js'
|
||||||
],
|
],
|
||||||
settings: {
|
settings: {
|
||||||
|
|
|
@ -389,21 +389,6 @@
|
||||||
"foreground": "#e53935"
|
"foreground": "#e53935"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "entity.name.method.js",
|
|
||||||
"scope": "entity.name.method.js",
|
|
||||||
"settings": {
|
|
||||||
"fontStyle": "italic",
|
|
||||||
"foreground": "#6182B8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "meta.method.js",
|
|
||||||
"scope": "meta.class-method.js entity.name.function.js, variable.function.constructor",
|
|
||||||
"settings": {
|
|
||||||
"foreground": "#6182B8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Attributes",
|
"name": "Attributes",
|
||||||
"scope": "entity.other.attribute-name",
|
"scope": "entity.other.attribute-name",
|
||||||
|
@ -446,14 +431,6 @@
|
||||||
"fontStyle": "underline"
|
"fontStyle": "underline"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Decorators",
|
|
||||||
"scope": "tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js",
|
|
||||||
"settings": {
|
|
||||||
"fontStyle": "italic",
|
|
||||||
"foreground": "#6182B8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "HTML Attributes",
|
"name": "HTML Attributes",
|
||||||
"scope": "text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, text.xhtml.basic entity.other.attribute-name.xhtml, text.xhtml.basic entity.other.attribute-name",
|
"scope": "text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, text.xhtml.basic entity.other.attribute-name.xhtml, text.xhtml.basic entity.other.attribute-name",
|
||||||
|
@ -512,6 +489,51 @@
|
||||||
"foreground": "#70acf7"
|
"foreground": "#70acf7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "import constant",
|
||||||
|
"scope": "meta.import.js variable.other.readwrite.alias.js, meta.import.ts variable.other.readwrite.alias.ts",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#0096ff"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "import path",
|
||||||
|
"scope": "meta.import.js string.quoted.single.js, meta.import.js string.quoted.double.js, meta.import.ts string.quoted.single.ts, meta.import.ts string.quoted.double.ts",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "underline",
|
||||||
|
"foreground": "#90a4ae"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "import path",
|
||||||
|
"scope": "meta.import.js string.quoted.single.js punctuation.definition.string.begin.js, meta.import.js string.quoted.double.js punctuation.definition.string.begin.js, meta.import.js string.quoted.single.js punctuation.definition.string.end.js, meta.import.js string.quoted.double.js punctuation.definition.string.end.js, meta.import.ts string.quoted.single.ts punctuation.definition.string.begin.ts, meta.import.ts string.quoted.double.ts punctuation.definition.string.begin.ts, meta.import.ts string.quoted.single.ts punctuation.definition.string.end.ts, meta.import.ts string.quoted.double.ts punctuation.definition.string.end.ts",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Decorators",
|
||||||
|
"scope": "tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#6182B8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "meta.method.js",
|
||||||
|
"scope": "meta.class-method.js entity.name.function.js, variable.function.constructor",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#6182B8"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "entity.name.method.js",
|
||||||
|
"scope": "entity.name.method.js",
|
||||||
|
"settings": {
|
||||||
|
"fontStyle": "italic",
|
||||||
|
"foreground": "#6182B8"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Class extends, build-in, dom",
|
"name": "Class extends, build-in, dom",
|
||||||
"scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, support.constant.json, meta.class.extends.js variable.other.readwrite.js, meta.function-call.static.without-arguments.js variable.other.class.js, meta.function-call.static.with-arguments.js variable.other.class.js, meta.property.class.js variable.other.class.js",
|
"scope": "support.type.object.console.js, support.type.object.module.js, support.type.object.dom.js, support.constant.math, support.constant.json, meta.class.extends.js variable.other.readwrite.js, meta.function-call.static.without-arguments.js variable.other.class.js, meta.function-call.static.with-arguments.js variable.other.class.js, meta.property.class.js variable.other.class.js",
|
||||||
|
@ -545,12 +567,26 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ts string express",
|
"name": "ts string express",
|
||||||
"scope": "punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts",
|
"scope": "punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js",
|
||||||
"settings": {
|
"settings": {
|
||||||
"fontStyle": "",
|
"fontStyle": "",
|
||||||
"foreground": "#ff5370"
|
"foreground": "#ff5370"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Punctuation",
|
||||||
|
"scope": "meta.object.member.js meta.array.literal.js meta.brace.square.js, meta.object.member.js meta.arrow.js meta.brace.round.js, string.template.js meta.template.expression.js meta.array.literal.js meta.brace.square.js, string.template.js meta.template.expression.js meta.brace.round.js, string.template.ts meta.template.expression.ts meta.array.literal.ts meta.brace.square.ts, string.template.ts meta.template.expression.ts meta.brace.round.ts",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#90a4ae"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Variables",
|
||||||
|
"scope": "string.template.js meta.template.expression.js support.variable.property.js, string.template.ts meta.template.expression.ts support.variable.property.ts",
|
||||||
|
"settings": {
|
||||||
|
"foreground": "#546e7a"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "build-in function",
|
"name": "build-in function",
|
||||||
"scope": "source.js support.function.node.js, meta.group.braces.curly.js support.function, meta.function-call.ts support.function.ts, meta.function-call.js support.function.js, support.function.builtin.js",
|
"scope": "source.js support.function.node.js, meta.group.braces.curly.js support.function, meta.function-call.ts support.function.ts, meta.function-call.js support.function.js, support.function.builtin.js",
|
||||||
|
@ -584,7 +620,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "object keys",
|
"name": "object keys",
|
||||||
"scope": "constant.other.object.key.js string.unquoted.label.js, constant.other.object.key.js string.quoted.label.js, meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
|
"scope": "constant.other.object.key.js string.unquoted.label.js, constant.other.object.key.js string.quoted.label.js, meta.object.member.js meta.object-literal.key.js string.quoted.double.js, meta.object.member.js meta.object-literal.key.js string.quoted.single.js, meta.object.member.js meta.object-literal.key.js constant.numeric.decimal.js, meta.objectliteral.js meta.object.member.js meta.object-literal.key.js",
|
||||||
"settings": {
|
"settings": {
|
||||||
"fontStyle": "italic bold",
|
"fontStyle": "italic bold",
|
||||||
"foreground": "#90a4ae"
|
"foreground": "#90a4ae"
|
||||||
|
|
Loading…
Reference in New Issue