mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
@@ -177,7 +177,6 @@ const VSCODEExtensions = [
|
|||||||
"bat",
|
"bat",
|
||||||
"configuration-editing",
|
"configuration-editing",
|
||||||
"docker",
|
"docker",
|
||||||
"extension-editing",
|
|
||||||
"git-ui",
|
"git-ui",
|
||||||
"git",
|
"git",
|
||||||
"github-authentication",
|
"github-authentication",
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ exports.dirs = [
|
|||||||
'extensions/configuration-editing',
|
'extensions/configuration-editing',
|
||||||
'extensions/dacpac',
|
'extensions/dacpac',
|
||||||
'extensions/data-workspace',
|
'extensions/data-workspace',
|
||||||
'extensions/extension-editing',
|
|
||||||
'extensions/git',
|
'extensions/git',
|
||||||
'extensions/github',
|
'extensions/github',
|
||||||
'extensions/github-authentication',
|
'extensions/github-authentication',
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
test/**
|
|
||||||
src/**
|
|
||||||
tsconfig.json
|
|
||||||
out/**
|
|
||||||
extension.webpack.config.js
|
|
||||||
extension-browser.webpack.config.js
|
|
||||||
yarn.lock
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
//@ts-check
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
const withBrowserDefaults = require('../shared.webpack.config').browser;
|
|
||||||
|
|
||||||
module.exports = withBrowserDefaults({
|
|
||||||
context: __dirname,
|
|
||||||
entry: {
|
|
||||||
extension: './src/extensionEditingBrowserMain.ts'
|
|
||||||
},
|
|
||||||
output: {
|
|
||||||
filename: 'extensionEditingBrowserMain.js'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
//@ts-check
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
const withDefaults = require('../shared.webpack.config');
|
|
||||||
|
|
||||||
module.exports = withDefaults({
|
|
||||||
context: __dirname,
|
|
||||||
entry: {
|
|
||||||
extension: './src/extensionEditingMain.ts',
|
|
||||||
},
|
|
||||||
output: {
|
|
||||||
filename: 'extensionEditingMain.js'
|
|
||||||
},
|
|
||||||
externals: {
|
|
||||||
'../../../product.json': 'commonjs ../../../product.json',
|
|
||||||
'typescript': 'commonjs typescript'
|
|
||||||
}
|
|
||||||
});
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.0 KiB |
@@ -1,78 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "extension-editing",
|
|
||||||
"displayName": "%displayName%",
|
|
||||||
"description": "%description%",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"publisher": "vscode",
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"vscode": "^1.4.0"
|
|
||||||
},
|
|
||||||
"icon": "images/icon.png",
|
|
||||||
"activationEvents": [
|
|
||||||
"onLanguage:json",
|
|
||||||
"onLanguage:markdown",
|
|
||||||
"onLanguage:typescript"
|
|
||||||
],
|
|
||||||
"main": "./out/extensionEditingMain",
|
|
||||||
"browser": "./dist/browser/extensionEditingBrowserMain",
|
|
||||||
"capabilities": {
|
|
||||||
"virtualWorkspaces": true,
|
|
||||||
"untrustedWorkspaces": {
|
|
||||||
"supported": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"compile": "gulp compile-extension:extension-editing",
|
|
||||||
"watch": "gulp watch-extension:extension-editing"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"jsonc-parser": "^2.2.1",
|
|
||||||
"markdown-it": "^12.0.4",
|
|
||||||
"parse5": "^3.0.2",
|
|
||||||
"vscode-nls": "^5.0.0"
|
|
||||||
},
|
|
||||||
"contributes": {
|
|
||||||
"jsonValidation": [
|
|
||||||
{
|
|
||||||
"fileMatch": "package.json",
|
|
||||||
"url": "vscode://schemas/vscode-extensions"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": "*language-configuration.json",
|
|
||||||
"url": "vscode://schemas/language-configuration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": [
|
|
||||||
"*icon-theme.json",
|
|
||||||
"!*product-icon-theme.json"
|
|
||||||
],
|
|
||||||
"url": "vscode://schemas/icon-theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": "*product-icon-theme.json",
|
|
||||||
"url": "vscode://schemas/product-icon-theme"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fileMatch": "*color-theme.json",
|
|
||||||
"url": "vscode://schemas/color-theme"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"languages": [
|
|
||||||
{
|
|
||||||
"id": "ignore",
|
|
||||||
"filenames": [
|
|
||||||
".vscodeignore"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/markdown-it": "0.0.2",
|
|
||||||
"@types/node": "14.x"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/microsoft/vscode.git"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"displayName": "Extension Authoring",
|
|
||||||
"description": "Provides linting capabilities for authoring extensions."
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { PackageDocument } from './packageDocumentHelper';
|
|
||||||
|
|
||||||
export function activate(context: vscode.ExtensionContext) {
|
|
||||||
//package.json suggestions
|
|
||||||
context.subscriptions.push(registerPackageDocumentCompletions());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
function registerPackageDocumentCompletions(): vscode.Disposable {
|
|
||||||
return vscode.languages.registerCompletionItemProvider({ language: 'json', pattern: '**/package.json' }, {
|
|
||||||
provideCompletionItems(document, position, token) {
|
|
||||||
return new PackageDocument(document).provideCompletionItems(position, token);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,118 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import * as ts from 'typescript';
|
|
||||||
import { PackageDocument } from './packageDocumentHelper';
|
|
||||||
import { ExtensionLinter } from './extensionLinter';
|
|
||||||
|
|
||||||
export function activate(context: vscode.ExtensionContext) {
|
|
||||||
const registration = vscode.languages.registerDocumentLinkProvider({ language: 'typescript', pattern: '**/vscode.d.ts' }, _linkProvider);
|
|
||||||
context.subscriptions.push(registration);
|
|
||||||
|
|
||||||
//package.json suggestions
|
|
||||||
context.subscriptions.push(registerPackageDocumentCompletions());
|
|
||||||
|
|
||||||
context.subscriptions.push(new ExtensionLinter());
|
|
||||||
}
|
|
||||||
|
|
||||||
const _linkProvider = new class implements vscode.DocumentLinkProvider {
|
|
||||||
|
|
||||||
private _cachedResult: { key: string; links: vscode.DocumentLink[] } | undefined;
|
|
||||||
private _linkPattern = /[^!]\[.*?\]\(#(.*?)\)/g;
|
|
||||||
|
|
||||||
async provideDocumentLinks(document: vscode.TextDocument, _token: vscode.CancellationToken): Promise<vscode.DocumentLink[]> {
|
|
||||||
const key = `${document.uri.toString()}@${document.version}`;
|
|
||||||
if (!this._cachedResult || this._cachedResult.key !== key) {
|
|
||||||
const links = await this._computeDocumentLinks(document);
|
|
||||||
this._cachedResult = { key, links };
|
|
||||||
}
|
|
||||||
return this._cachedResult.links;
|
|
||||||
}
|
|
||||||
|
|
||||||
private async _computeDocumentLinks(document: vscode.TextDocument): Promise<vscode.DocumentLink[]> {
|
|
||||||
|
|
||||||
const results: vscode.DocumentLink[] = [];
|
|
||||||
const text = document.getText();
|
|
||||||
const lookUp = await ast.createNamedNodeLookUp(text);
|
|
||||||
|
|
||||||
this._linkPattern.lastIndex = 0;
|
|
||||||
let match: RegExpMatchArray | null = null;
|
|
||||||
while ((match = this._linkPattern.exec(text))) {
|
|
||||||
|
|
||||||
const offset = lookUp(match[1]);
|
|
||||||
if (offset === -1) {
|
|
||||||
console.warn(`Could not find symbol for link ${match[1]}`);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
const targetPos = document.positionAt(offset);
|
|
||||||
const linkEnd = document.positionAt(this._linkPattern.lastIndex - 1);
|
|
||||||
const linkStart = linkEnd.translate({ characterDelta: -(1 + match[1].length) });
|
|
||||||
|
|
||||||
results.push(new vscode.DocumentLink(
|
|
||||||
new vscode.Range(linkStart, linkEnd),
|
|
||||||
document.uri.with({ fragment: `${1 + targetPos.line}` })));
|
|
||||||
}
|
|
||||||
|
|
||||||
return results;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
namespace ast {
|
|
||||||
|
|
||||||
export interface NamedNodeLookUp {
|
|
||||||
(dottedName: string): number;
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function createNamedNodeLookUp(str: string): Promise<NamedNodeLookUp> {
|
|
||||||
|
|
||||||
const ts = await import('typescript');
|
|
||||||
|
|
||||||
const sourceFile = ts.createSourceFile('fake.d.ts', str, ts.ScriptTarget.Latest);
|
|
||||||
|
|
||||||
const identifiers: string[] = [];
|
|
||||||
const spans: number[] = [];
|
|
||||||
|
|
||||||
ts.forEachChild(sourceFile, function visit(node: ts.Node) {
|
|
||||||
const declIdent = (<ts.NamedDeclaration>node).name;
|
|
||||||
if (declIdent && declIdent.kind === ts.SyntaxKind.Identifier) {
|
|
||||||
identifiers.push((<ts.Identifier>declIdent).text);
|
|
||||||
spans.push(node.pos, node.end);
|
|
||||||
}
|
|
||||||
ts.forEachChild(node, visit);
|
|
||||||
});
|
|
||||||
|
|
||||||
return function (dottedName: string): number {
|
|
||||||
let start = -1;
|
|
||||||
let end = Number.MAX_VALUE;
|
|
||||||
|
|
||||||
for (let name of dottedName.split('.')) {
|
|
||||||
let idx: number = -1;
|
|
||||||
while ((idx = identifiers.indexOf(name, idx + 1)) >= 0) {
|
|
||||||
let myStart = spans[2 * idx];
|
|
||||||
let myEnd = spans[2 * idx + 1];
|
|
||||||
if (myStart >= start && myEnd <= end) {
|
|
||||||
start = myStart;
|
|
||||||
end = myEnd;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (idx < 0) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return start;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function registerPackageDocumentCompletions(): vscode.Disposable {
|
|
||||||
return vscode.languages.registerCompletionItemProvider({ language: 'json', pattern: '**/package.json' }, {
|
|
||||||
provideCompletionItems(document, position, token) {
|
|
||||||
return new PackageDocument(document).provideCompletionItems(position, token);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
@@ -1,371 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as path from 'path';
|
|
||||||
import * as fs from 'fs';
|
|
||||||
import { URL } from 'url';
|
|
||||||
import * as nls from 'vscode-nls';
|
|
||||||
const localize = nls.loadMessageBundle();
|
|
||||||
|
|
||||||
import { parseTree, findNodeAtLocation, Node as JsonNode } from 'jsonc-parser';
|
|
||||||
import * as MarkdownItType from 'markdown-it';
|
|
||||||
|
|
||||||
import { languages, workspace, Disposable, TextDocument, Uri, Diagnostic, Range, DiagnosticSeverity, Position, env } from 'vscode';
|
|
||||||
|
|
||||||
const product = JSON.parse(fs.readFileSync(path.join(env.appRoot, 'product.json'), { encoding: 'utf-8' }));
|
|
||||||
const allowedBadgeProviders: string[] = (product.extensionAllowedBadgeProviders || []).map((s: string) => s.toLowerCase());
|
|
||||||
const allowedBadgeProvidersRegex: RegExp[] = (product.extensionAllowedBadgeProvidersRegex || []).map((r: string) => new RegExp(r));
|
|
||||||
|
|
||||||
function isTrustedSVGSource(uri: Uri): boolean {
|
|
||||||
return allowedBadgeProviders.includes(uri.authority.toLowerCase()) || allowedBadgeProvidersRegex.some(r => r.test(uri.toString()));
|
|
||||||
}
|
|
||||||
|
|
||||||
const httpsRequired = localize('httpsRequired', "Images must use the HTTPS protocol.");
|
|
||||||
const svgsNotValid = localize('svgsNotValid', "SVGs are not a valid image source.");
|
|
||||||
const embeddedSvgsNotValid = localize('embeddedSvgsNotValid', "Embedded SVGs are not a valid image source.");
|
|
||||||
const dataUrlsNotValid = localize('dataUrlsNotValid', "Data URLs are not a valid image source.");
|
|
||||||
const relativeUrlRequiresHttpsRepository = localize('relativeUrlRequiresHttpsRepository', "Relative image URLs require a repository with HTTPS protocol to be specified in the package.json.");
|
|
||||||
const relativeIconUrlRequiresHttpsRepository = localize('relativeIconUrlRequiresHttpsRepository', "An icon requires a repository with HTTPS protocol to be specified in this package.json.");
|
|
||||||
const relativeBadgeUrlRequiresHttpsRepository = localize('relativeBadgeUrlRequiresHttpsRepository', "Relative badge URLs require a repository with HTTPS protocol to be specified in this package.json.");
|
|
||||||
|
|
||||||
enum Context {
|
|
||||||
ICON,
|
|
||||||
BADGE,
|
|
||||||
MARKDOWN
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TokenAndPosition {
|
|
||||||
token: MarkdownItType.Token;
|
|
||||||
begin: number;
|
|
||||||
end: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PackageJsonInfo {
|
|
||||||
isExtension: boolean;
|
|
||||||
hasHttpsRepository: boolean;
|
|
||||||
repository: Uri;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ExtensionLinter {
|
|
||||||
|
|
||||||
private diagnosticsCollection = languages.createDiagnosticCollection('extension-editing');
|
|
||||||
private fileWatcher = workspace.createFileSystemWatcher('**/package.json');
|
|
||||||
private disposables: Disposable[] = [this.diagnosticsCollection, this.fileWatcher];
|
|
||||||
|
|
||||||
private folderToPackageJsonInfo: Record<string, PackageJsonInfo> = {};
|
|
||||||
private packageJsonQ = new Set<TextDocument>();
|
|
||||||
private readmeQ = new Set<TextDocument>();
|
|
||||||
private timer: NodeJS.Timer | undefined;
|
|
||||||
private markdownIt: MarkdownItType.MarkdownIt | undefined;
|
|
||||||
private parse5: typeof import('parse5') | undefined;
|
|
||||||
|
|
||||||
constructor() {
|
|
||||||
this.disposables.push(
|
|
||||||
workspace.onDidOpenTextDocument(document => this.queue(document)),
|
|
||||||
workspace.onDidChangeTextDocument(event => this.queue(event.document)),
|
|
||||||
workspace.onDidCloseTextDocument(document => this.clear(document)),
|
|
||||||
this.fileWatcher.onDidChange(uri => this.packageJsonChanged(this.getUriFolder(uri))),
|
|
||||||
this.fileWatcher.onDidCreate(uri => this.packageJsonChanged(this.getUriFolder(uri))),
|
|
||||||
this.fileWatcher.onDidDelete(uri => this.packageJsonChanged(this.getUriFolder(uri))),
|
|
||||||
);
|
|
||||||
workspace.textDocuments.forEach(document => this.queue(document));
|
|
||||||
}
|
|
||||||
|
|
||||||
private queue(document: TextDocument) {
|
|
||||||
const p = document.uri.path;
|
|
||||||
if (document.languageId === 'json' && endsWith(p, '/package.json')) {
|
|
||||||
this.packageJsonQ.add(document);
|
|
||||||
this.startTimer();
|
|
||||||
}
|
|
||||||
this.queueReadme(document);
|
|
||||||
}
|
|
||||||
|
|
||||||
private queueReadme(document: TextDocument) {
|
|
||||||
const p = document.uri.path;
|
|
||||||
if (document.languageId === 'markdown' && (endsWith(p.toLowerCase(), '/readme.md') || endsWith(p.toLowerCase(), '/changelog.md'))) {
|
|
||||||
this.readmeQ.add(document);
|
|
||||||
this.startTimer();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private startTimer() {
|
|
||||||
if (this.timer) {
|
|
||||||
clearTimeout(this.timer);
|
|
||||||
}
|
|
||||||
this.timer = setTimeout(() => {
|
|
||||||
this.lint()
|
|
||||||
.catch(console.error);
|
|
||||||
}, 300);
|
|
||||||
}
|
|
||||||
|
|
||||||
private async lint() {
|
|
||||||
this.lintPackageJson();
|
|
||||||
await this.lintReadme();
|
|
||||||
}
|
|
||||||
|
|
||||||
private lintPackageJson() {
|
|
||||||
this.packageJsonQ.forEach(document => {
|
|
||||||
this.packageJsonQ.delete(document);
|
|
||||||
if (document.isClosed) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const diagnostics: Diagnostic[] = [];
|
|
||||||
|
|
||||||
const tree = parseTree(document.getText());
|
|
||||||
const info = this.readPackageJsonInfo(this.getUriFolder(document.uri), tree);
|
|
||||||
if (info.isExtension) {
|
|
||||||
|
|
||||||
const icon = findNodeAtLocation(tree, ['icon']);
|
|
||||||
if (icon && icon.type === 'string') {
|
|
||||||
this.addDiagnostics(diagnostics, document, icon.offset + 1, icon.offset + icon.length - 1, icon.value, Context.ICON, info);
|
|
||||||
}
|
|
||||||
|
|
||||||
const badges = findNodeAtLocation(tree, ['badges']);
|
|
||||||
if (badges && badges.type === 'array' && badges.children) {
|
|
||||||
badges.children.map(child => findNodeAtLocation(child, ['url']))
|
|
||||||
.filter(url => url && url.type === 'string')
|
|
||||||
.map(url => this.addDiagnostics(diagnostics, document, url!.offset + 1, url!.offset + url!.length - 1, url!.value, Context.BADGE, info));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
this.diagnosticsCollection.set(document.uri, diagnostics);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
private async lintReadme() {
|
|
||||||
for (const document of Array.from(this.readmeQ)) {
|
|
||||||
this.readmeQ.delete(document);
|
|
||||||
if (document.isClosed) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const folder = this.getUriFolder(document.uri);
|
|
||||||
let info = this.folderToPackageJsonInfo[folder.toString()];
|
|
||||||
if (!info) {
|
|
||||||
const tree = await this.loadPackageJson(folder);
|
|
||||||
info = this.readPackageJsonInfo(folder, tree);
|
|
||||||
}
|
|
||||||
if (!info.isExtension) {
|
|
||||||
this.diagnosticsCollection.set(document.uri, []);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const text = document.getText();
|
|
||||||
if (!this.markdownIt) {
|
|
||||||
this.markdownIt = new (await import('markdown-it'));
|
|
||||||
}
|
|
||||||
const tokens = this.markdownIt.parse(text, {});
|
|
||||||
const tokensAndPositions: TokenAndPosition[] = (function toTokensAndPositions(this: ExtensionLinter, tokens: MarkdownItType.Token[], begin = 0, end = text.length): TokenAndPosition[] {
|
|
||||||
const tokensAndPositions = tokens.map<TokenAndPosition>(token => {
|
|
||||||
if (token.map) {
|
|
||||||
const tokenBegin = document.offsetAt(new Position(token.map[0], 0));
|
|
||||||
const tokenEnd = begin = document.offsetAt(new Position(token.map[1], 0));
|
|
||||||
return {
|
|
||||||
token,
|
|
||||||
begin: tokenBegin,
|
|
||||||
end: tokenEnd
|
|
||||||
};
|
|
||||||
}
|
|
||||||
const image = token.type === 'image' && this.locateToken(text, begin, end, token, token.attrGet('src'));
|
|
||||||
const other = image || this.locateToken(text, begin, end, token, token.content);
|
|
||||||
return other || {
|
|
||||||
token,
|
|
||||||
begin,
|
|
||||||
end: begin
|
|
||||||
};
|
|
||||||
});
|
|
||||||
return tokensAndPositions.concat(
|
|
||||||
...tokensAndPositions.filter(tnp => tnp.token.children && tnp.token.children.length)
|
|
||||||
.map(tnp => toTokensAndPositions.call(this, tnp.token.children, tnp.begin, tnp.end))
|
|
||||||
);
|
|
||||||
}).call(this, tokens);
|
|
||||||
|
|
||||||
const diagnostics: Diagnostic[] = [];
|
|
||||||
|
|
||||||
tokensAndPositions.filter(tnp => tnp.token.type === 'image' && tnp.token.attrGet('src'))
|
|
||||||
.map(inp => {
|
|
||||||
const src = inp.token.attrGet('src')!;
|
|
||||||
const begin = text.indexOf(src, inp.begin);
|
|
||||||
if (begin !== -1 && begin < inp.end) {
|
|
||||||
this.addDiagnostics(diagnostics, document, begin, begin + src.length, src, Context.MARKDOWN, info);
|
|
||||||
} else {
|
|
||||||
const content = inp.token.content;
|
|
||||||
const begin = text.indexOf(content, inp.begin);
|
|
||||||
if (begin !== -1 && begin < inp.end) {
|
|
||||||
this.addDiagnostics(diagnostics, document, begin, begin + content.length, src, Context.MARKDOWN, info);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
let svgStart: Diagnostic;
|
|
||||||
for (const tnp of tokensAndPositions) {
|
|
||||||
if (tnp.token.type === 'text' && tnp.token.content) {
|
|
||||||
if (!this.parse5) {
|
|
||||||
this.parse5 = await import('parse5');
|
|
||||||
}
|
|
||||||
const parser = new this.parse5.SAXParser({ locationInfo: true });
|
|
||||||
parser.on('startTag', (name, attrs, _selfClosing, location) => {
|
|
||||||
if (name === 'img') {
|
|
||||||
const src = attrs.find(a => a.name === 'src');
|
|
||||||
if (src && src.value && location) {
|
|
||||||
const begin = text.indexOf(src.value, tnp.begin + location.startOffset);
|
|
||||||
if (begin !== -1 && begin < tnp.end) {
|
|
||||||
this.addDiagnostics(diagnostics, document, begin, begin + src.value.length, src.value, Context.MARKDOWN, info);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else if (name === 'svg' && location) {
|
|
||||||
const begin = tnp.begin + location.startOffset;
|
|
||||||
const end = tnp.begin + location.endOffset;
|
|
||||||
const range = new Range(document.positionAt(begin), document.positionAt(end));
|
|
||||||
svgStart = new Diagnostic(range, embeddedSvgsNotValid, DiagnosticSeverity.Warning);
|
|
||||||
diagnostics.push(svgStart);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
parser.on('endTag', (name, location) => {
|
|
||||||
if (name === 'svg' && svgStart && location) {
|
|
||||||
const end = tnp.begin + location.endOffset;
|
|
||||||
svgStart.range = new Range(svgStart.range.start, document.positionAt(end));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
parser.write(tnp.token.content);
|
|
||||||
parser.end();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this.diagnosticsCollection.set(document.uri, diagnostics);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private locateToken(text: string, begin: number, end: number, token: MarkdownItType.Token, content: string | null) {
|
|
||||||
if (content) {
|
|
||||||
const tokenBegin = text.indexOf(content, begin);
|
|
||||||
if (tokenBegin !== -1) {
|
|
||||||
const tokenEnd = tokenBegin + content.length;
|
|
||||||
if (tokenEnd <= end) {
|
|
||||||
begin = tokenEnd;
|
|
||||||
return {
|
|
||||||
token,
|
|
||||||
begin: tokenBegin,
|
|
||||||
end: tokenEnd
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
private readPackageJsonInfo(folder: Uri, tree: JsonNode | undefined) {
|
|
||||||
const engine = tree && findNodeAtLocation(tree, ['engines', 'vscode']);
|
|
||||||
const repo = tree && findNodeAtLocation(tree, ['repository', 'url']);
|
|
||||||
const uri = repo && parseUri(repo.value);
|
|
||||||
const info: PackageJsonInfo = {
|
|
||||||
isExtension: !!(engine && engine.type === 'string'),
|
|
||||||
hasHttpsRepository: !!(repo && repo.type === 'string' && repo.value && uri && uri.scheme.toLowerCase() === 'https'),
|
|
||||||
repository: uri!
|
|
||||||
};
|
|
||||||
const str = folder.toString();
|
|
||||||
const oldInfo = this.folderToPackageJsonInfo[str];
|
|
||||||
if (oldInfo && (oldInfo.isExtension !== info.isExtension || oldInfo.hasHttpsRepository !== info.hasHttpsRepository)) {
|
|
||||||
this.packageJsonChanged(folder); // clears this.folderToPackageJsonInfo[str]
|
|
||||||
}
|
|
||||||
this.folderToPackageJsonInfo[str] = info;
|
|
||||||
return info;
|
|
||||||
}
|
|
||||||
|
|
||||||
private async loadPackageJson(folder: Uri) {
|
|
||||||
if (folder.scheme === 'git') { // #36236
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
const file = folder.with({ path: path.posix.join(folder.path, 'package.json') });
|
|
||||||
try {
|
|
||||||
const document = await workspace.openTextDocument(file);
|
|
||||||
return parseTree(document.getText());
|
|
||||||
} catch (err) {
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private packageJsonChanged(folder: Uri) {
|
|
||||||
delete this.folderToPackageJsonInfo[folder.toString()];
|
|
||||||
const str = folder.toString().toLowerCase();
|
|
||||||
workspace.textDocuments.filter(document => this.getUriFolder(document.uri).toString().toLowerCase() === str)
|
|
||||||
.forEach(document => this.queueReadme(document));
|
|
||||||
}
|
|
||||||
|
|
||||||
private getUriFolder(uri: Uri) {
|
|
||||||
return uri.with({ path: path.posix.dirname(uri.path) });
|
|
||||||
}
|
|
||||||
|
|
||||||
private addDiagnostics(diagnostics: Diagnostic[], document: TextDocument, begin: number, end: number, src: string, context: Context, info: PackageJsonInfo) {
|
|
||||||
const hasScheme = /^\w[\w\d+.-]*:/.test(src);
|
|
||||||
const uri = parseUri(src, info.repository ? info.repository.toString() : document.uri.toString());
|
|
||||||
if (!uri) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const scheme = uri.scheme.toLowerCase();
|
|
||||||
|
|
||||||
if (hasScheme && scheme !== 'https' && scheme !== 'data') {
|
|
||||||
const range = new Range(document.positionAt(begin), document.positionAt(end));
|
|
||||||
diagnostics.push(new Diagnostic(range, httpsRequired, DiagnosticSeverity.Warning));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hasScheme && scheme === 'data') {
|
|
||||||
const range = new Range(document.positionAt(begin), document.positionAt(end));
|
|
||||||
diagnostics.push(new Diagnostic(range, dataUrlsNotValid, DiagnosticSeverity.Warning));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!hasScheme && !info.hasHttpsRepository) {
|
|
||||||
const range = new Range(document.positionAt(begin), document.positionAt(end));
|
|
||||||
let message = (() => {
|
|
||||||
switch (context) {
|
|
||||||
case Context.ICON: return relativeIconUrlRequiresHttpsRepository;
|
|
||||||
case Context.BADGE: return relativeBadgeUrlRequiresHttpsRepository;
|
|
||||||
default: return relativeUrlRequiresHttpsRepository;
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
diagnostics.push(new Diagnostic(range, message, DiagnosticSeverity.Warning));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (endsWith(uri.path.toLowerCase(), '.svg') && !isTrustedSVGSource(uri)) {
|
|
||||||
const range = new Range(document.positionAt(begin), document.positionAt(end));
|
|
||||||
diagnostics.push(new Diagnostic(range, svgsNotValid, DiagnosticSeverity.Warning));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private clear(document: TextDocument) {
|
|
||||||
this.diagnosticsCollection.delete(document.uri);
|
|
||||||
this.packageJsonQ.delete(document);
|
|
||||||
}
|
|
||||||
|
|
||||||
public dispose() {
|
|
||||||
this.disposables.forEach(d => d.dispose());
|
|
||||||
this.disposables = [];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function endsWith(haystack: string, needle: string): boolean {
|
|
||||||
let diff = haystack.length - needle.length;
|
|
||||||
if (diff > 0) {
|
|
||||||
return haystack.indexOf(needle, diff) === diff;
|
|
||||||
} else if (diff === 0) {
|
|
||||||
return haystack === needle;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function parseUri(src: string, base?: string, retry: boolean = true): Uri | null {
|
|
||||||
try {
|
|
||||||
let url = new URL(src, base);
|
|
||||||
return Uri.parse(url.toString());
|
|
||||||
} catch (err) {
|
|
||||||
if (retry) {
|
|
||||||
return parseUri(encodeURI(src), base, false);
|
|
||||||
} else {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,85 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { getLocation, Location } from 'jsonc-parser';
|
|
||||||
import * as nls from 'vscode-nls';
|
|
||||||
|
|
||||||
const localize = nls.loadMessageBundle();
|
|
||||||
|
|
||||||
export class PackageDocument {
|
|
||||||
|
|
||||||
constructor(private document: vscode.TextDocument) { }
|
|
||||||
|
|
||||||
public provideCompletionItems(position: vscode.Position, _token: vscode.CancellationToken): vscode.ProviderResult<vscode.CompletionItem[]> {
|
|
||||||
const location = getLocation(this.document.getText(), this.document.offsetAt(position));
|
|
||||||
|
|
||||||
if (location.path.length >= 2 && location.path[1] === 'configurationDefaults') {
|
|
||||||
return this.provideLanguageOverridesCompletionItems(location, position);
|
|
||||||
}
|
|
||||||
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
private provideLanguageOverridesCompletionItems(location: Location, position: vscode.Position): vscode.ProviderResult<vscode.CompletionItem[]> {
|
|
||||||
let range = this.document.getWordRangeAtPosition(position) || new vscode.Range(position, position);
|
|
||||||
const text = this.document.getText(range);
|
|
||||||
|
|
||||||
if (location.path.length === 2) {
|
|
||||||
|
|
||||||
let snippet = '"[${1:language}]": {\n\t"$0"\n}';
|
|
||||||
|
|
||||||
// Suggestion model word matching includes quotes,
|
|
||||||
// hence exclude the starting quote from the snippet and the range
|
|
||||||
// ending quote gets replaced
|
|
||||||
if (text && text.startsWith('"')) {
|
|
||||||
range = new vscode.Range(new vscode.Position(range.start.line, range.start.character + 1), range.end);
|
|
||||||
snippet = snippet.substring(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
return Promise.resolve([this.newSnippetCompletionItem({
|
|
||||||
label: localize('languageSpecificEditorSettings', "Language specific editor settings"),
|
|
||||||
documentation: localize('languageSpecificEditorSettingsDescription', "Override editor settings for language"),
|
|
||||||
snippet,
|
|
||||||
range
|
|
||||||
})]);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (location.path.length === 3 && location.previousNode && typeof location.previousNode.value === 'string' && location.previousNode.value.startsWith('[')) {
|
|
||||||
|
|
||||||
// Suggestion model word matching includes starting quote and open sqaure bracket
|
|
||||||
// Hence exclude them from the proposal range
|
|
||||||
range = new vscode.Range(new vscode.Position(range.start.line, range.start.character + 2), range.end);
|
|
||||||
|
|
||||||
return vscode.languages.getLanguages().then(languages => {
|
|
||||||
return languages.map(l => {
|
|
||||||
|
|
||||||
// Suggestion model word matching includes closed sqaure bracket and ending quote
|
|
||||||
// Hence include them in the proposal to replace
|
|
||||||
return this.newSimpleCompletionItem(l, range, '', l + ']"');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return Promise.resolve([]);
|
|
||||||
}
|
|
||||||
|
|
||||||
private newSimpleCompletionItem(text: string, range: vscode.Range, description?: string, insertText?: string): vscode.CompletionItem {
|
|
||||||
const item = new vscode.CompletionItem(text);
|
|
||||||
item.kind = vscode.CompletionItemKind.Value;
|
|
||||||
item.detail = description;
|
|
||||||
item.insertText = insertText ? insertText : text;
|
|
||||||
item.range = range;
|
|
||||||
return item;
|
|
||||||
}
|
|
||||||
|
|
||||||
private newSnippetCompletionItem(o: { label: string; documentation?: string; snippet: string; range: vscode.Range; }): vscode.CompletionItem {
|
|
||||||
const item = new vscode.CompletionItem(o.label);
|
|
||||||
item.kind = vscode.CompletionItemKind.Value;
|
|
||||||
item.documentation = o.documentation;
|
|
||||||
item.insertText = new vscode.SnippetString(o.snippet);
|
|
||||||
item.range = o.range;
|
|
||||||
return item;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
/// <reference path='../../../../src/vs/vscode.d.ts'/>
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../tsconfig.base.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"outDir": "./out",
|
|
||||||
"typeRoots": [
|
|
||||||
"node_modules/@types"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"src/**/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@types/markdown-it@0.0.2":
|
|
||||||
version "0.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-0.0.2.tgz#5d9ad19e6e6508cdd2f2596df86fd0aade598660"
|
|
||||||
integrity sha1-XZrRnm5lCM3S8llt+G/Qqt5ZhmA=
|
|
||||||
|
|
||||||
"@types/node@14.x":
|
|
||||||
version "14.14.43"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.43.tgz#26bcbb0595b305400e8ceaf9a127a7f905ae49c8"
|
|
||||||
integrity sha512-3pwDJjp1PWacPTpH0LcfhgjvurQvrZFBrC6xxjaUEZ7ifUtT32jtjPxEMMblpqd2Mvx+k8haqQJLQxolyGN/cQ==
|
|
||||||
|
|
||||||
"@types/node@^6.0.46":
|
|
||||||
version "6.0.78"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.78.tgz#5d4a3f579c1524e01ee21bf474e6fba09198f470"
|
|
||||||
integrity sha512-+vD6E8ixntRzzZukoF3uP1iV+ZjVN3koTcaeK+BEoc/kSfGbLDIGC7RmCaUgVpUfN6cWvfczFRERCyKM9mkvXg==
|
|
||||||
|
|
||||||
argparse@^2.0.1:
|
|
||||||
version "2.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
|
|
||||||
integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
|
|
||||||
|
|
||||||
entities@~2.1.0:
|
|
||||||
version "2.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/entities/-/entities-2.1.0.tgz#992d3129cf7df6870b96c57858c249a120f8b8b5"
|
|
||||||
integrity sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==
|
|
||||||
|
|
||||||
jsonc-parser@^2.2.1:
|
|
||||||
version "2.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-2.2.1.tgz#db73cd59d78cce28723199466b2a03d1be1df2bc"
|
|
||||||
integrity sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==
|
|
||||||
|
|
||||||
linkify-it@^3.0.1:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-3.0.2.tgz#f55eeb8bc1d3ae754049e124ab3bb56d97797fb8"
|
|
||||||
integrity sha512-gDBO4aHNZS6coiZCKVhSNh43F9ioIL4JwRjLZPkoLIY4yZFwg264Y5lu2x6rb1Js42Gh6Yqm2f6L2AJcnkzinQ==
|
|
||||||
dependencies:
|
|
||||||
uc.micro "^1.0.1"
|
|
||||||
|
|
||||||
markdown-it@^12.0.4:
|
|
||||||
version "12.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.0.4.tgz#eec8247d296327eac3ba9746bdeec9cfcc751e33"
|
|
||||||
integrity sha512-34RwOXZT8kyuOJy25oJNJoulO8L0bTHYWXcdZBYZqFnjIy3NgjeoM3FmPXIOFQ26/lSHYMr8oc62B6adxXcb3Q==
|
|
||||||
dependencies:
|
|
||||||
argparse "^2.0.1"
|
|
||||||
entities "~2.1.0"
|
|
||||||
linkify-it "^3.0.1"
|
|
||||||
mdurl "^1.0.1"
|
|
||||||
uc.micro "^1.0.5"
|
|
||||||
|
|
||||||
mdurl@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
|
|
||||||
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
|
|
||||||
|
|
||||||
parse5@^3.0.2:
|
|
||||||
version "3.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.2.tgz#05eff57f0ef4577fb144a79f8b9a967a6cc44510"
|
|
||||||
integrity sha1-Be/1fw70V3+xRKefi5qWemzERRA=
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "^6.0.46"
|
|
||||||
|
|
||||||
uc.micro@^1.0.1:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.3.tgz#7ed50d5e0f9a9fb0a573379259f2a77458d50192"
|
|
||||||
integrity sha1-ftUNXg+an7ClczeSWfKndFjVAZI=
|
|
||||||
|
|
||||||
uc.micro@^1.0.5:
|
|
||||||
version "1.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
|
|
||||||
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
|
|
||||||
|
|
||||||
vscode-nls@^5.0.0:
|
|
||||||
version "5.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/vscode-nls/-/vscode-nls-5.0.0.tgz#99f0da0bd9ea7cda44e565a74c54b1f2bc257840"
|
|
||||||
integrity sha512-u0Lw+IYlgbEJFF6/qAqG2d1jQmJl0eyAGJHoAJqr2HT4M2BNuQYSEiSE75f52pXHSJm8AlTjnLLbBFPrdz2hpA==
|
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
"**/bat/**",
|
"**/bat/**",
|
||||||
"**/configuration-editing/**",
|
"**/configuration-editing/**",
|
||||||
"**/docker/**",
|
"**/docker/**",
|
||||||
"**/extension-editing/**",
|
|
||||||
"**/git/**",
|
"**/git/**",
|
||||||
"**/github/**",
|
"**/github/**",
|
||||||
"**/github-authentication/**",
|
"**/github-authentication/**",
|
||||||
|
|||||||
@@ -1,84 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
// @ts-check
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
var updateGrammar = require('vscode-grammar-updater');
|
|
||||||
|
|
||||||
function removeDom(grammar) {
|
|
||||||
grammar.repository['support-objects'].patterns = grammar.repository['support-objects'].patterns.filter(pattern => {
|
|
||||||
if (pattern.match && pattern.match.match(/\b(HTMLElement|ATTRIBUTE_NODE|stopImmediatePropagation)\b/g)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
return grammar;
|
|
||||||
}
|
|
||||||
|
|
||||||
function removeNodeTypes(grammar) {
|
|
||||||
grammar.repository['support-objects'].patterns = grammar.repository['support-objects'].patterns.filter(pattern => {
|
|
||||||
if (pattern.name) {
|
|
||||||
if (pattern.name.startsWith('support.variable.object.node') || pattern.name.startsWith('support.class.node.')) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (pattern.captures) {
|
|
||||||
if (Object.values(pattern.captures).some(capture =>
|
|
||||||
capture.name && (capture.name.startsWith('support.variable.object.process')
|
|
||||||
|| capture.name.startsWith('support.class.console'))
|
|
||||||
)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
return grammar;
|
|
||||||
}
|
|
||||||
|
|
||||||
function patchJsdoctype(grammar) {
|
|
||||||
grammar.repository['jsdoctype'].patterns = grammar.repository['jsdoctype'].patterns.filter(pattern => {
|
|
||||||
if (pattern.name && pattern.name.indexOf('illegal') >= -1) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
return grammar;
|
|
||||||
}
|
|
||||||
|
|
||||||
function patchGrammar(grammar) {
|
|
||||||
return removeNodeTypes(removeDom(patchJsdoctype(grammar)));
|
|
||||||
}
|
|
||||||
|
|
||||||
function adaptToJavaScript(grammar, replacementScope) {
|
|
||||||
grammar.name = 'JavaScript (with React support)';
|
|
||||||
grammar.fileTypes = ['.js', '.jsx', '.es6', '.mjs', '.cjs'];
|
|
||||||
grammar.scopeName = `source${replacementScope}`;
|
|
||||||
|
|
||||||
var fixScopeNames = function (rule) {
|
|
||||||
if (typeof rule.name === 'string') {
|
|
||||||
rule.name = rule.name.replace(/\.tsx/g, replacementScope);
|
|
||||||
}
|
|
||||||
if (typeof rule.contentName === 'string') {
|
|
||||||
rule.contentName = rule.contentName.replace(/\.tsx/g, replacementScope);
|
|
||||||
}
|
|
||||||
for (var property in rule) {
|
|
||||||
var value = rule[property];
|
|
||||||
if (typeof value === 'object') {
|
|
||||||
fixScopeNames(value);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
var repository = grammar.repository;
|
|
||||||
for (var key in repository) {
|
|
||||||
fixScopeNames(repository[key]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var tsGrammarRepo = 'microsoft/TypeScript-TmLanguage';
|
|
||||||
updateGrammar.update(tsGrammarRepo, 'TypeScript.tmLanguage', './syntaxes/TypeScript.tmLanguage.json', grammar => patchGrammar(grammar));
|
|
||||||
updateGrammar.update(tsGrammarRepo, 'TypeScriptReact.tmLanguage', './syntaxes/TypeScriptReact.tmLanguage.json', grammar => patchGrammar(grammar));
|
|
||||||
updateGrammar.update(tsGrammarRepo, 'TypeScriptReact.tmLanguage', '../javascript/syntaxes/JavaScript.tmLanguage.json', grammar => adaptToJavaScript(patchGrammar(grammar), '.js'));
|
|
||||||
updateGrammar.update(tsGrammarRepo, 'TypeScriptReact.tmLanguage', '../javascript/syntaxes/JavaScriptReact.tmLanguage.json', grammar => adaptToJavaScript(patchGrammar(grammar), '.js.jsx'));
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
|
|
||||||
{
|
|
||||||
"injectionSelector": "L:comment.block.documentation",
|
|
||||||
"patterns": [
|
|
||||||
{
|
|
||||||
"include": "#jsdocbody"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"repository": {
|
|
||||||
"jsdocbody": {
|
|
||||||
"begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
|
|
||||||
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
|
|
||||||
"patterns": [
|
|
||||||
{
|
|
||||||
"include": "source.ts#docblock"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scopeName": "documentation.injection.js.jsx"
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
|
|
||||||
{
|
|
||||||
"injectionSelector": "L:comment.block.documentation",
|
|
||||||
"patterns": [
|
|
||||||
{
|
|
||||||
"include": "#jsdocbody"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"repository": {
|
|
||||||
"jsdocbody": {
|
|
||||||
"begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
|
|
||||||
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
|
|
||||||
"patterns": [
|
|
||||||
{
|
|
||||||
"include": "source.ts#docblock"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scopeName": "documentation.injection.ts"
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,120 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import type * as Proto from '../protocol';
|
|
||||||
import { ClientCapability, ITypeScriptServiceClient } from '../typescriptService';
|
|
||||||
import API from '../utils/api';
|
|
||||||
import { Condition, conditionalRegistration, requireMinVersion, requireSomeCapability } from '../utils/dependentRegistration';
|
|
||||||
import { Disposable } from '../utils/dispose';
|
|
||||||
import { DocumentSelector } from '../utils/documentSelector';
|
|
||||||
import { Position } from '../utils/typeConverters';
|
|
||||||
import FileConfigurationManager, { getInlayHintsPreferences, InlayHintSettingNames } from './fileConfigurationManager';
|
|
||||||
|
|
||||||
|
|
||||||
const inlayHintSettingNames = [
|
|
||||||
InlayHintSettingNames.parameterNamesSuppressWhenArgumentMatchesName,
|
|
||||||
InlayHintSettingNames.parameterNamesEnabled,
|
|
||||||
InlayHintSettingNames.variableTypesEnabled,
|
|
||||||
InlayHintSettingNames.propertyDeclarationTypesEnabled,
|
|
||||||
InlayHintSettingNames.functionLikeReturnTypesEnabled,
|
|
||||||
InlayHintSettingNames.enumMemberValuesEnabled,
|
|
||||||
];
|
|
||||||
|
|
||||||
class TypeScriptInlayHintsProvider extends Disposable implements vscode.InlayHintsProvider {
|
|
||||||
|
|
||||||
public static readonly minVersion = API.v440;
|
|
||||||
|
|
||||||
private readonly _onDidChangeInlayHints = new vscode.EventEmitter<void>();
|
|
||||||
public readonly onDidChangeInlayHints = this._onDidChangeInlayHints.event;
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
modeId: string,
|
|
||||||
private readonly client: ITypeScriptServiceClient,
|
|
||||||
private readonly fileConfigurationManager: FileConfigurationManager
|
|
||||||
) {
|
|
||||||
super();
|
|
||||||
|
|
||||||
this._register(vscode.workspace.onDidChangeConfiguration(e => {
|
|
||||||
if (inlayHintSettingNames.some(settingName => e.affectsConfiguration(modeId + '.' + settingName))) {
|
|
||||||
this._onDidChangeInlayHints.fire();
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
async provideInlayHints(model: vscode.TextDocument, range: vscode.Range, token: vscode.CancellationToken): Promise<vscode.InlayHint[]> {
|
|
||||||
const filepath = this.client.toOpenedFilePath(model);
|
|
||||||
if (!filepath) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
const start = model.offsetAt(range.start);
|
|
||||||
const length = model.offsetAt(range.end) - start;
|
|
||||||
|
|
||||||
await this.fileConfigurationManager.ensureConfigurationForDocument(model, token);
|
|
||||||
|
|
||||||
const response = await this.client.execute('provideInlayHints', { file: filepath, start, length }, token);
|
|
||||||
if (response.type !== 'response' || !response.success || !response.body) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
return response.body.map(hint => {
|
|
||||||
const result = new vscode.InlayHint(
|
|
||||||
hint.text,
|
|
||||||
Position.fromLocation(hint.position),
|
|
||||||
hint.kind && fromProtocolInlayHintKind(hint.kind)
|
|
||||||
);
|
|
||||||
result.whitespaceBefore = hint.whitespaceBefore;
|
|
||||||
result.whitespaceAfter = hint.whitespaceAfter;
|
|
||||||
return result;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function fromProtocolInlayHintKind(kind: Proto.InlayHintKind): vscode.InlayHintKind {
|
|
||||||
switch (kind) {
|
|
||||||
case 'Parameter': return vscode.InlayHintKind.Parameter;
|
|
||||||
case 'Type': return vscode.InlayHintKind.Type;
|
|
||||||
case 'Enum': return vscode.InlayHintKind.Other;
|
|
||||||
default: return vscode.InlayHintKind.Other;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function requireInlayHintsConfiguration(
|
|
||||||
language: string
|
|
||||||
) {
|
|
||||||
return new Condition(
|
|
||||||
() => {
|
|
||||||
const config = vscode.workspace.getConfiguration(language, null);
|
|
||||||
const preferences = getInlayHintsPreferences(config);
|
|
||||||
|
|
||||||
return preferences.includeInlayParameterNameHints === 'literals' ||
|
|
||||||
preferences.includeInlayParameterNameHints === 'all' ||
|
|
||||||
preferences.includeInlayEnumMemberValueHints ||
|
|
||||||
preferences.includeInlayFunctionLikeReturnTypeHints ||
|
|
||||||
preferences.includeInlayFunctionParameterTypeHints ||
|
|
||||||
preferences.includeInlayPropertyDeclarationTypeHints ||
|
|
||||||
preferences.includeInlayVariableTypeHints;
|
|
||||||
},
|
|
||||||
vscode.workspace.onDidChangeConfiguration
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export function register(
|
|
||||||
selector: DocumentSelector,
|
|
||||||
modeId: string,
|
|
||||||
client: ITypeScriptServiceClient,
|
|
||||||
fileConfigurationManager: FileConfigurationManager
|
|
||||||
) {
|
|
||||||
return conditionalRegistration([
|
|
||||||
requireInlayHintsConfiguration(modeId),
|
|
||||||
requireMinVersion(client, TypeScriptInlayHintsProvider.minVersion),
|
|
||||||
requireSomeCapability(client, ClientCapability.Semantic),
|
|
||||||
], () => {
|
|
||||||
const provider = new TypeScriptInlayHintsProvider(modeId, client, fileConfigurationManager);
|
|
||||||
return vscode.languages.registerInlayHintsProvider(selector.semantic, provider);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { BaseServiceConfigurationProvider } from './configuration';
|
|
||||||
|
|
||||||
export class BrowserServiceConfigurationProvider extends BaseServiceConfigurationProvider {
|
|
||||||
|
|
||||||
// On browsers, we only support using the built-in TS version
|
|
||||||
protected extractGlobalTsdk(_configuration: vscode.WorkspaceConfiguration): string | null {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected extractLocalTsdk(_configuration: vscode.WorkspaceConfiguration): string | null {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as os from 'os';
|
|
||||||
import * as path from 'path';
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { BaseServiceConfigurationProvider } from './configuration';
|
|
||||||
|
|
||||||
export class ElectronServiceConfigurationProvider extends BaseServiceConfigurationProvider {
|
|
||||||
|
|
||||||
private fixPathPrefixes(inspectValue: string): string {
|
|
||||||
const pathPrefixes = ['~' + path.sep];
|
|
||||||
for (const pathPrefix of pathPrefixes) {
|
|
||||||
if (inspectValue.startsWith(pathPrefix)) {
|
|
||||||
return path.join(os.homedir(), inspectValue.slice(pathPrefix.length));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return inspectValue;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected extractGlobalTsdk(configuration: vscode.WorkspaceConfiguration): string | null {
|
|
||||||
const inspect = configuration.inspect('typescript.tsdk');
|
|
||||||
if (inspect && typeof inspect.globalValue === 'string') {
|
|
||||||
return this.fixPathPrefixes(inspect.globalValue);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected extractLocalTsdk(configuration: vscode.WorkspaceConfiguration): string | null {
|
|
||||||
const inspect = configuration.inspect('typescript.tsdk');
|
|
||||||
if (inspect && typeof inspect.workspaceValue === 'string') {
|
|
||||||
return this.fixPathPrefixes(inspect.workspaceValue);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { localize } from '../tsServer/versionProvider';
|
|
||||||
import { TsServerLogLevel } from './configuration';
|
|
||||||
import { Disposable } from './dispose';
|
|
||||||
|
|
||||||
export class LogLevelMonitor extends Disposable {
|
|
||||||
|
|
||||||
private static readonly logLevelConfigKey = 'typescript.tsserver.log';
|
|
||||||
private static readonly logLevelChangedStorageKey = 'typescript.tsserver.logLevelChanged';
|
|
||||||
private static readonly doNotPromptLogLevelStorageKey = 'typescript.tsserver.doNotPromptLogLevel';
|
|
||||||
|
|
||||||
constructor(private readonly context: vscode.ExtensionContext) {
|
|
||||||
super();
|
|
||||||
|
|
||||||
this._register(vscode.workspace.onDidChangeConfiguration(this.onConfigurationChange, this, this._disposables));
|
|
||||||
|
|
||||||
if (this.shouldNotifyExtendedLogging()) {
|
|
||||||
this.notifyExtendedLogging();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private onConfigurationChange(event: vscode.ConfigurationChangeEvent) {
|
|
||||||
const logLevelChanged = event.affectsConfiguration(LogLevelMonitor.logLevelConfigKey);
|
|
||||||
if (!logLevelChanged) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.context.globalState.update(LogLevelMonitor.logLevelChangedStorageKey, new Date());
|
|
||||||
}
|
|
||||||
|
|
||||||
private get logLevel(): TsServerLogLevel {
|
|
||||||
return TsServerLogLevel.fromString(vscode.workspace.getConfiguration().get<string>(LogLevelMonitor.logLevelConfigKey, 'off'));
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Last date change if it exists and can be parsed as a date,
|
|
||||||
* otherwise undefined.
|
|
||||||
*/
|
|
||||||
private get lastLogLevelChange(): Date | undefined {
|
|
||||||
const lastChange = this.context.globalState.get<string | undefined>(LogLevelMonitor.logLevelChangedStorageKey);
|
|
||||||
|
|
||||||
if (lastChange) {
|
|
||||||
const date = new Date(lastChange);
|
|
||||||
if (date instanceof Date && !isNaN(date.valueOf())) {
|
|
||||||
return date;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
private get doNotPrompt(): boolean {
|
|
||||||
return this.context.globalState.get<boolean | undefined>(LogLevelMonitor.doNotPromptLogLevelStorageKey) || false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private shouldNotifyExtendedLogging(): boolean {
|
|
||||||
const lastChangeMilliseconds = this.lastLogLevelChange ? new Date(this.lastLogLevelChange).valueOf() : 0;
|
|
||||||
const lastChangePlusOneWeek = new Date(lastChangeMilliseconds + /* 7 days in milliseconds */ 86400000 * 7);
|
|
||||||
|
|
||||||
if (!this.doNotPrompt && this.logLevel !== TsServerLogLevel.Off && lastChangePlusOneWeek.valueOf() < Date.now()) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
private notifyExtendedLogging() {
|
|
||||||
const enum Choice {
|
|
||||||
DisableLogging = 0,
|
|
||||||
DoNotShowAgain = 1
|
|
||||||
}
|
|
||||||
interface Item extends vscode.MessageItem {
|
|
||||||
readonly choice: Choice;
|
|
||||||
}
|
|
||||||
|
|
||||||
vscode.window.showInformationMessage<Item>(
|
|
||||||
localize(
|
|
||||||
'typescript.extendedLogging.isEnabled',
|
|
||||||
"TS Server logging is currently enabled which may impact performance."),
|
|
||||||
{
|
|
||||||
title: localize(
|
|
||||||
'typescript.extendedLogging.disableLogging',
|
|
||||||
"Disable logging"),
|
|
||||||
choice: Choice.DisableLogging
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: localize(
|
|
||||||
'typescript.extendedLogging.doNotShowAgain',
|
|
||||||
"Don't show again"),
|
|
||||||
choice: Choice.DoNotShowAgain
|
|
||||||
})
|
|
||||||
.then(selection => {
|
|
||||||
if (!selection) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (selection.choice === Choice.DisableLogging) {
|
|
||||||
return vscode.workspace.getConfiguration().update(LogLevelMonitor.logLevelConfigKey, 'off', true);
|
|
||||||
} else if (selection.choice === Choice.DoNotShowAgain) {
|
|
||||||
return this.context.globalState.update(LogLevelMonitor.doNotPromptLogLevelStorageKey, true);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as assert from 'assert';
|
|
||||||
import 'mocha';
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
|
|
||||||
suite('ipynb NotebookSerializer', function () {
|
|
||||||
test.skip('Can open an ipynb notebook', async () => {
|
|
||||||
assert.ok(vscode.workspace.workspaceFolders);
|
|
||||||
const workspace = vscode.workspace.workspaceFolders[0];
|
|
||||||
const uri = vscode.Uri.joinPath(workspace.uri, 'test.ipynb');
|
|
||||||
const notebook = await vscode.workspace.openNotebookDocument(uri);
|
|
||||||
await vscode.window.showNotebookDocument(notebook);
|
|
||||||
|
|
||||||
const notebookEditor = vscode.window.activeNotebookEditor;
|
|
||||||
assert.ok(notebookEditor);
|
|
||||||
|
|
||||||
assert.strictEqual(notebookEditor.document.cellCount, 2);
|
|
||||||
assert.strictEqual(notebookEditor.document.cellAt(0).kind, vscode.NotebookCellKind.Markup);
|
|
||||||
assert.strictEqual(notebookEditor.document.cellAt(1).kind, vscode.NotebookCellKind.Code);
|
|
||||||
assert.strictEqual(notebookEditor.document.cellAt(1).outputs.length, 1);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
/*---------------------------------------------------------------------------------------------
|
|
||||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
||||||
*--------------------------------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
import * as assert from 'assert';
|
|
||||||
import * as vscode from 'vscode';
|
|
||||||
import { asPromise, assertNoRpc, closeAllEditors } from '../utils';
|
|
||||||
|
|
||||||
suite('vscode - untitled automatic language detection', () => {
|
|
||||||
|
|
||||||
teardown(async function () {
|
|
||||||
assertNoRpc();
|
|
||||||
await closeAllEditors();
|
|
||||||
});
|
|
||||||
|
|
||||||
test('test automatic language detection works', async () => {
|
|
||||||
const doc = await vscode.workspace.openTextDocument();
|
|
||||||
const editor = await vscode.window.showTextDocument(doc);
|
|
||||||
|
|
||||||
assert.strictEqual(editor.document.languageId, 'plaintext');
|
|
||||||
|
|
||||||
const settingResult = vscode.workspace.getConfiguration().get<boolean>('workbench.editor.languageDetection');
|
|
||||||
assert.ok(settingResult);
|
|
||||||
|
|
||||||
const result = await editor.edit(editBuilder => {
|
|
||||||
editBuilder.insert(new vscode.Position(0, 0), `{
|
|
||||||
"extends": "./tsconfig.base.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"removeComments": false,
|
|
||||||
"preserveConstEnums": true,
|
|
||||||
"sourceMap": false,
|
|
||||||
"outDir": "../out/vs",
|
|
||||||
"target": "es2020",
|
|
||||||
"types": [
|
|
||||||
"keytar",
|
|
||||||
"mocha",
|
|
||||||
"semver",
|
|
||||||
"sinon",
|
|
||||||
"winreg",
|
|
||||||
"trusted-types",
|
|
||||||
"wicg-file-system-access"
|
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
{
|
|
||||||
"name": "tsec",
|
|
||||||
"exemptionConfig": "./tsec.exemptions.json"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"./typings",
|
|
||||||
"./vs"
|
|
||||||
]
|
|
||||||
}`);
|
|
||||||
});
|
|
||||||
|
|
||||||
assert.ok(result);
|
|
||||||
|
|
||||||
// Changing the language triggers a file to be closed and opened again so wait for that event to happen.
|
|
||||||
const newDoc = await asPromise(vscode.workspace.onDidOpenTextDocument, 5000);
|
|
||||||
|
|
||||||
assert.strictEqual(newDoc.languageId, 'json');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
{
|
|
||||||
"cells": [
|
|
||||||
{
|
|
||||||
"cell_type": "markdown",
|
|
||||||
"source": [
|
|
||||||
"## Header"
|
|
||||||
],
|
|
||||||
"metadata": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cell_type": "code",
|
|
||||||
"execution_count": 2,
|
|
||||||
"source": [
|
|
||||||
"print('hello 1')\n",
|
|
||||||
"print('hello 2')"
|
|
||||||
],
|
|
||||||
"outputs": [
|
|
||||||
{
|
|
||||||
"output_type": "stream",
|
|
||||||
"name": "stdout",
|
|
||||||
"text": [
|
|
||||||
"hello 1\n",
|
|
||||||
"hello 2\n"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"metadata": {}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"metadata": {
|
|
||||||
"interpreter": {
|
|
||||||
"hash": "815c6b7592bf74925ca002a1774bcf064bae9d6a27e7933fd9109275fb484258"
|
|
||||||
},
|
|
||||||
"kernelspec": {
|
|
||||||
"name": "python3",
|
|
||||||
"display_name": "Python 3.9.5 64-bit ('myvenv': venv)"
|
|
||||||
},
|
|
||||||
"language_info": {
|
|
||||||
"codemirror_mode": {
|
|
||||||
"name": "ipython",
|
|
||||||
"version": 3
|
|
||||||
},
|
|
||||||
"file_extension": ".py",
|
|
||||||
"mimetype": "text/x-python",
|
|
||||||
"name": "python",
|
|
||||||
"nbconvert_exporter": "python",
|
|
||||||
"pygments_lexer": "ipython3",
|
|
||||||
"version": "3.9.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nbformat": 4,
|
|
||||||
"nbformat_minor": 4
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
@@ -1,14 +0,0 @@
|
|||||||
FROM ubuntu
|
|
||||||
MAINTAINER Kimbro Staken
|
|
||||||
|
|
||||||
RUN apt-get install -y software-properties-common python
|
|
||||||
RUN add-apt-repository ppa:chris-lea/node.js
|
|
||||||
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get install -y nodejs
|
|
||||||
#RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1
|
|
||||||
RUN mkdir /var/www
|
|
||||||
|
|
||||||
ADD app.js /var/www/app.js
|
|
||||||
|
|
||||||
CMD ["/usr/bin/node", "/var/www/app.js"]
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
test1 : dsd
|
|
||||||
test2 : abc-def
|
|
||||||
test-3 : abcdef
|
|
||||||
test-4 : abc-def
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
- blue: a="brown,not_brown"
|
|
||||||
- not_blue: foo
|
|
||||||
- blue: foo="}"
|
|
||||||
- not_blue: 1
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
swagger: '2.0'
|
|
||||||
info:
|
|
||||||
description: 'The API Management Service API defines an updated and refined version
|
|
||||||
of the concepts currently known as Developer, APP, and API Product in Edge. Of
|
|
||||||
note is the introduction of the API concept, missing previously from Edge
|
|
||||||
|
|
||||||
'
|
|
||||||
title: API Management Service API
|
|
||||||
version: initial
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
<!-- Should highlight math blocks -->
|
|
||||||
|
|
||||||
$$
|
|
||||||
\theta
|
|
||||||
$$
|
|
||||||
|
|
||||||
$$
|
|
||||||
\theta{ % comment
|
|
||||||
$$
|
|
||||||
|
|
||||||
**a**
|
|
||||||
|
|
||||||
$$
|
|
||||||
\relax{x}{1} = \int_{-\infty}^\infty
|
|
||||||
\hat\xi\,e^{2 \pi i \xi x}
|
|
||||||
\,d\xi % comment
|
|
||||||
$$
|
|
||||||
|
|
||||||
$
|
|
||||||
x = 1.1 \int_{a}
|
|
||||||
$
|
|
||||||
|
|
||||||
$
|
|
||||||
\begin{smallmatrix}
|
|
||||||
1 & 2 \\
|
|
||||||
4 & 3
|
|
||||||
\end{smallmatrix}
|
|
||||||
$
|
|
||||||
|
|
||||||
$
|
|
||||||
x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + a_4}}}
|
|
||||||
$
|
|
||||||
|
|
||||||
$
|
|
||||||
\displaystyle {1 + \frac{q^2}{(1-q)}+\frac{q^6}{(1-q)(1-q^2)}+\cdots }= \prod_{j=0}^{\infty}\frac{1}{(1-q^{5j+2})(1-q^{5j+3})}, \quad\quad \text{for }\lvert q\rvert<1.
|
|
||||||
$
|
|
||||||
|
|
||||||
<!-- Should highlight inline -->
|
|
||||||
|
|
||||||
a **a** $$ \theta $$ aa a **a**
|
|
||||||
|
|
||||||
a **a** $ \theta $ aa a **a**
|
|
||||||
|
|
||||||
$ \theta $
|
|
||||||
|
|
||||||
$$ 1 \theta 1 1 $$
|
|
||||||
|
|
||||||
<!-- Should not highlight inline cases without whitespace -->
|
|
||||||
|
|
||||||
$10 $20
|
|
||||||
|
|
||||||
**a** $10 $20 **a**
|
|
||||||
|
|
||||||
**a** a $10 $20 a **a**
|
|
||||||
|
|
||||||
a **a**$ \theta $aa a **a**
|
|
||||||
|
|
||||||
a **a**$$ \theta $$aa a **a**
|
|
||||||
|
|
||||||
<!--
|
|
||||||
$$
|
|
||||||
\theta % comment
|
|
||||||
$$
|
|
||||||
-->
|
|
||||||
|
|
||||||
Should be disabled in fenced code blocks:
|
|
||||||
|
|
||||||
```txt
|
|
||||||
$$
|
|
||||||
\displaystyle
|
|
||||||
\left( \sum_{k=1}^n a_k b_k \right)^2
|
|
||||||
\leq
|
|
||||||
\left( \sum_{k=1}^n a_k^2 \right)
|
|
||||||
\left( \sum_{k=1}^n b_k^2 \right)
|
|
||||||
$$
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- #128411 -->
|
|
||||||
|
|
||||||
- list item
|
|
||||||
**abc**
|
|
||||||
$$
|
|
||||||
\begin{aligned}
|
|
||||||
&\text{Any equation}
|
|
||||||
\\
|
|
||||||
&\text {Inconsistent KaTeX keyword highlighting}
|
|
||||||
\end{aligned}
|
|
||||||
$$
|
|
||||||
**xyz**
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# h
|
|
||||||
|
|
||||||
<pre><code>
|
|
||||||
# a
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
# h
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
# a
|
|
||||||
a</pre>
|
|
||||||
|
|
||||||
# h
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
|
|
||||||
<WorkFine>
|
|
||||||
<NoColorWithNonLatinCharacters_АБВ NextTagnotWork="something" Поле="tagnotwork">
|
|
||||||
<WorkFine/>
|
|
||||||
<Error_АБВГД/>
|
|
||||||
</NoColorWithNonLatinCharacters_АБВ>
|
|
||||||
</WorkFine>
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
<#
|
|
||||||
.
|
|
||||||
#>
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
@echo off
|
|
||||||
setlocal
|
|
||||||
|
|
||||||
title VSCode Dev
|
|
||||||
|
|
||||||
pushd %~dp0\..
|
|
||||||
|
|
||||||
:: Node modules
|
|
||||||
if not exist node_modules call .\scripts\npm.bat install
|
|
||||||
|
|
||||||
:: Get electron
|
|
||||||
node .\node_modules\gulp\bin\gulp.js electron
|
|
||||||
|
|
||||||
:: Build
|
|
||||||
if not exist out node .\node_modules\gulp\bin\gulp.js compile
|
|
||||||
|
|
||||||
:: Configuration
|
|
||||||
set NODE_ENV=development
|
|
||||||
|
|
||||||
call echo %%LINE:rem +=%%
|
|
||||||
|
|
||||||
popd
|
|
||||||
|
|
||||||
endlocal
|
|
||||||
@@ -1,149 +0,0 @@
|
|||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <cuda_runtime.h>
|
|
||||||
|
|
||||||
#if defined(assert)
|
|
||||||
#undef assert
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define assert(c) \
|
|
||||||
do { \
|
|
||||||
if(!(c)) { \
|
|
||||||
fprintf(stderr, "Assertion \"%s\" failed. (%s:%d)\n", \
|
|
||||||
#c, __FILE__, __LINE__); \
|
|
||||||
exit(1); \
|
|
||||||
} \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#define assertSucceeded(c) \
|
|
||||||
do { \
|
|
||||||
unsigned __tmp = c; \
|
|
||||||
if(__tmp != cudaSuccess) { \
|
|
||||||
fprintf(stderr, "Operation \"%s\" failed with error code %x. (%s:%d)\n", \
|
|
||||||
#c, (__tmp), __FILE__, __LINE__); \
|
|
||||||
exit(__tmp); \
|
|
||||||
} \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
#define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0]))
|
|
||||||
|
|
||||||
constexpr int dataLength = 1 << 24;
|
|
||||||
constexpr int threadsPerBlock = 128;
|
|
||||||
|
|
||||||
typedef unsigned char byte;
|
|
||||||
|
|
||||||
struct TestType
|
|
||||||
{
|
|
||||||
union {
|
|
||||||
struct
|
|
||||||
{
|
|
||||||
unsigned lowHalf;
|
|
||||||
unsigned highHalf;
|
|
||||||
} halfAndHalf;
|
|
||||||
|
|
||||||
unsigned long long whole;
|
|
||||||
} takeYourPick;
|
|
||||||
|
|
||||||
int arr[5];
|
|
||||||
|
|
||||||
struct {
|
|
||||||
char a;
|
|
||||||
char b;
|
|
||||||
} structArr[5];
|
|
||||||
|
|
||||||
float theFloats[2];
|
|
||||||
double theDouble;
|
|
||||||
};
|
|
||||||
|
|
||||||
__global__ void cudaComputeHash(TestType* input, unsigned *results)
|
|
||||||
{
|
|
||||||
int idx = blockIdx.x * threadsPerBlock + threadIdx.x;
|
|
||||||
TestType* myInput = input + idx;
|
|
||||||
|
|
||||||
unsigned myResult = 0;
|
|
||||||
|
|
||||||
myResult += myInput->takeYourPick.halfAndHalf.lowHalf - idx;
|
|
||||||
myResult += myInput->takeYourPick.halfAndHalf.highHalf - idx;
|
|
||||||
|
|
||||||
for(size_t i = 0; i < ARRAY_LENGTH(myInput->arr); i++)
|
|
||||||
{
|
|
||||||
myResult += myInput->arr[i] - idx;
|
|
||||||
}
|
|
||||||
|
|
||||||
for(size_t i = 0; i < sizeof(myInput->structArr); i++)
|
|
||||||
{
|
|
||||||
myResult += reinterpret_cast<byte *>(myInput->structArr)[i] - '0';
|
|
||||||
}
|
|
||||||
|
|
||||||
__syncthreads();
|
|
||||||
|
|
||||||
results[idx] = myResult;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
int cudaDeviceCount;
|
|
||||||
assertSucceeded(cudaGetDeviceCount(&cudaDeviceCount));
|
|
||||||
assert(cudaDeviceCount > 0);
|
|
||||||
|
|
||||||
assertSucceeded(cudaSetDevice(0));
|
|
||||||
|
|
||||||
TestType* input;
|
|
||||||
unsigned* results;
|
|
||||||
|
|
||||||
assertSucceeded(cudaMallocManaged(&input, sizeof(TestType) * dataLength));
|
|
||||||
assert(!!input);
|
|
||||||
|
|
||||||
for (size_t i = 0; i < dataLength; i++)
|
|
||||||
{
|
|
||||||
input[i].takeYourPick.halfAndHalf.lowHalf = i + 1;
|
|
||||||
input[i].takeYourPick.halfAndHalf.highHalf = i + 3;
|
|
||||||
|
|
||||||
for(size_t j = 0; j < ARRAY_LENGTH(input[i].arr); j++)
|
|
||||||
{
|
|
||||||
input[i].arr[j] = i + j + 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
for(size_t j = 0; j < sizeof(input[i].structArr); j++)
|
|
||||||
{
|
|
||||||
reinterpret_cast<byte *>(input[i].structArr)[j] = '0' + static_cast<char>((i + j) % 10);
|
|
||||||
}
|
|
||||||
|
|
||||||
input[i].theFloats[0] = i + 1;
|
|
||||||
input[i].theFloats[1] = input[i].theFloats[0] / 2;
|
|
||||||
|
|
||||||
input[i].theDouble = input[i].theFloats[1] + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
assertSucceeded(cudaMallocManaged(reinterpret_cast<void **>(&results), sizeof(unsigned) * dataLength));
|
|
||||||
assert(!!results);
|
|
||||||
|
|
||||||
constexpr int blocks = dataLength / threadsPerBlock;
|
|
||||||
cudaComputeHash<<<blocks, threadsPerBlock>>>(input, results);
|
|
||||||
|
|
||||||
assertSucceeded(cudaDeviceSynchronize());
|
|
||||||
|
|
||||||
const unsigned expectedResult =
|
|
||||||
1 +
|
|
||||||
3 +
|
|
||||||
ARRAY_LENGTH(input[0].arr) * (ARRAY_LENGTH(input[0].arr) - 1) / 2 +
|
|
||||||
ARRAY_LENGTH(input[0].arr) * 2 +
|
|
||||||
sizeof(input[0].structArr) * (sizeof(input[0].structArr) - 1) / 2;
|
|
||||||
|
|
||||||
for (unsigned i = 0; i < dataLength; i++)
|
|
||||||
{
|
|
||||||
if (results[i] != expectedResult){
|
|
||||||
fprintf(stderr, "results[%u] (%u) != %u\n", i, results[i], expectedResult);
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
assertSucceeded(cudaFree(input));
|
|
||||||
assertSucceeded(cudaFree(results));
|
|
||||||
|
|
||||||
fprintf(stderr, "Success\n");
|
|
||||||
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// from https://flutter.dev/
|
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
|
||||||
|
|
||||||
void main() async {
|
|
||||||
runApp(
|
|
||||||
MaterialApp(
|
|
||||||
debugShowCheckedModeBanner: false,
|
|
||||||
home: Scaffold(
|
|
||||||
body: MyApp(),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
class MyApp extends StatefulWidget {
|
|
||||||
@override
|
|
||||||
_MyAppState createState() => _MyAppState();
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# n-queens (nqueens) solver, for nsquaresx-by-nsquaresy board
|
|
||||||
|
|
||||||
struct Queen
|
|
||||||
x::Int
|
|
||||||
y::Int
|
|
||||||
end
|
|
||||||
hitshorz(queena, queenb) = queena.x == queenb.x
|
|
||||||
hitsvert(queena, queenb) = queena.y == queenb.y
|
|
||||||
hitsdiag(queena, queenb) = abs(queena.x - queenb.x) == abs(queena.y - queenb.y)
|
|
||||||
hitshvd(qa, qb) = hitshorz(qa, qb) || hitsvert(qa, qb) || hitsdiag(qa, qb)
|
|
||||||
hitsany(testqueen, queens) = any(q -> hitshvd(testqueen, q), queens)
|
|
||||||
|
|
||||||
function trysolve(nsquaresx, nsquaresy, nqueens, presqueens = ())
|
|
||||||
nqueens == 0 && return presqueens
|
|
||||||
for xsquare in 1:nsquaresx
|
|
||||||
for ysquare in 1:nsquaresy
|
|
||||||
testqueen = Queen(xsquare, ysquare)
|
|
||||||
if !hitsany(testqueen, presqueens)
|
|
||||||
tryqueens = (presqueens..., testqueen)
|
|
||||||
maybesol = trysolve(nsquaresx, nsquaresy, nqueens - 1, tryqueens)
|
|
||||||
maybesol !== nothing && return maybesol
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
return nothing
|
|
||||||
end
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
// a comment
|
|
||||||
"options": {
|
|
||||||
"myBool": true,
|
|
||||||
"myInteger": 1,
|
|
||||||
"myString": "String\u0056",
|
|
||||||
"myNumber": 1.24,
|
|
||||||
"myNull": null,
|
|
||||||
"myArray": [ 1, "Hello", true, null, [], {}],
|
|
||||||
"myObject" : {
|
|
||||||
"foo": "bar"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
# Header 1 #
|
|
||||||
## Header 2 ##
|
|
||||||
### Header 3 ### (Hashes on right are optional)
|
|
||||||
## Markdown plus h2 with a custom ID ## {#id-goes-here}
|
|
||||||
[Link back to H2](#id-goes-here)
|
|
||||||
|
|
||||||
### Alternate heading styles:
|
|
||||||
Alternate Header 1
|
|
||||||
==================
|
|
||||||
Alternate Header 2
|
|
||||||
------------------
|
|
||||||
|
|
||||||
<!-- html madness -->
|
|
||||||
<div class="custom-class" markdown="1">
|
|
||||||
<div>
|
|
||||||
nested div
|
|
||||||
</div>
|
|
||||||
<script type='text/x-koka'>
|
|
||||||
function( x: int ) { return x*x; }
|
|
||||||
</script>
|
|
||||||
This is a div _with_ underscores
|
|
||||||
and a & <b class="bold">bold</b> element.
|
|
||||||
<style>
|
|
||||||
body { font: "Consolas" }
|
|
||||||
</style>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
* Bullet lists are easy too
|
|
||||||
- Another one
|
|
||||||
+ Another one
|
|
||||||
|
|
||||||
+ nested list
|
|
||||||
|
|
||||||
This is a paragraph, which is text surrounded by
|
|
||||||
whitespace. Paragraphs can be on one
|
|
||||||
line (or many), and can drone on for hours.
|
|
||||||
|
|
||||||
Now some inline markup like _italics_, **bold**,
|
|
||||||
and `code()`. Note that underscores
|
|
||||||
in_words_are ignored.
|
|
||||||
|
|
||||||
````application/json
|
|
||||||
{ value: ["or with a mime type"] }
|
|
||||||
````
|
|
||||||
|
|
||||||
> Blockquotes are like quoted text in email replies
|
|
||||||
>> And, they can be nested
|
|
||||||
|
|
||||||
1. A numbered list
|
|
||||||
> Block quotes in list
|
|
||||||
2. Which is numbered
|
|
||||||
3. With periods and a space
|
|
||||||
|
|
||||||
And now some code:
|
|
||||||
|
|
||||||
// Code is just text indented a bit
|
|
||||||
which(is_easy) to_remember();
|
|
||||||
|
|
||||||
And a block
|
|
||||||
|
|
||||||
~~~
|
|
||||||
// Markdown extra adds un-indented code blocks too
|
|
||||||
|
|
||||||
if (this_is_more_code == true && !indented) {
|
|
||||||
// tild wrapped code blocks, also not indented
|
|
||||||
}
|
|
||||||
~~~
|
|
||||||
|
|
||||||
Text with
|
|
||||||
two trailing spaces
|
|
||||||
(on the right)
|
|
||||||
can be used
|
|
||||||
for things like poems
|
|
||||||
|
|
||||||
### Horizontal rules
|
|
||||||
|
|
||||||
* * * *
|
|
||||||
****
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## Markdown plus tables ##
|
|
||||||
|
|
||||||
| Header | Header | Right |
|
|
||||||
| ------ | ------ | -----: |
|
|
||||||
| Cell | Cell | $10 |
|
|
||||||
| Cell | Cell | $20 |
|
|
||||||
|
|
||||||
* Outer pipes on tables are optional
|
|
||||||
* Colon used for alignment (right versus left)
|
|
||||||
|
|
||||||
## Markdown plus definition lists ##
|
|
||||||
|
|
||||||
Bottled water
|
|
||||||
: $ 1.25
|
|
||||||
: $ 1.55 (Large)
|
|
||||||
|
|
||||||
Milk
|
|
||||||
Pop
|
|
||||||
: $ 1.75
|
|
||||||
|
|
||||||
* Multiple definitions and terms are possible
|
|
||||||
* Definitions can include multiple paragraphs too
|
|
||||||
|
|
||||||
*[ABBR]: Markdown plus abbreviations (produces an <abbr> tag)
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
# Copyright Microsoft Corporation
|
|
||||||
|
|
||||||
function Test-IsAdmin() {
|
|
||||||
try {
|
|
||||||
$identity = [Security.Principal.WindowsIdentity]::GetCurrent()
|
|
||||||
$principal = New-Object Security.Principal.WindowsPrincipal -ArgumentList $identity
|
|
||||||
return $principal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator )
|
|
||||||
} catch {
|
|
||||||
throw "Failed to determine if the current user has elevated privileges. The error was: '{0}'." -f $_
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function Invoke-Environment()
|
|
||||||
{
|
|
||||||
param
|
|
||||||
(
|
|
||||||
[Parameter(Mandatory=1)][string]$Command
|
|
||||||
)
|
|
||||||
|
|
||||||
foreach($_ in cmd /c "$Command 2>&1 & set") {
|
|
||||||
if ($_ -match '^([^=]+)=(.*)') {
|
|
||||||
[System.Environment]::SetEnvironmentVariable($matches[1], $matches[2])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Write-Host -Object 'Initializing Azure PowerShell environment...';
|
|
||||||
|
|
||||||
# PowerShell commands need elevation for dependencies installation and running tests
|
|
||||||
if (!(Test-IsAdmin)){
|
|
||||||
Write-Host -Object 'Please launch command under administrator account. It is needed for environment setting up and unit test.' -ForegroundColor Red;
|
|
||||||
}
|
|
||||||
|
|
||||||
$env:AzurePSRoot = Split-Path -Parent -Path $env:AzurePSRoot;
|
|
||||||
|
|
||||||
if (Test-Path -Path "$env:ADXSDKProgramFiles\Microsoft Visual Studio 12.0") {
|
|
||||||
$vsVersion="12.0"
|
|
||||||
} else {
|
|
||||||
$vsVersion="11.0"
|
|
||||||
}
|
|
||||||
|
|
||||||
$setVSEnv = '"{0}\Microsoft Visual Studio {1}\VC\vcvarsall.bat" x64' -f $env:ADXSDKProgramFiles, $vsVersion;
|
|
||||||
|
|
||||||
Invoke-Environment -Command $setVSEnv;
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
# © Microsoft. All rights reserved.
|
|
||||||
|
|
||||||
#' Add together two numbers.
|
|
||||||
#'
|
|
||||||
#' @param x A number.
|
|
||||||
#' @param y A number.
|
|
||||||
#' @return The sum of \code{x} and \code{y}.
|
|
||||||
#' @examples
|
|
||||||
#' add(1, 1)
|
|
||||||
#' add(10, 1)
|
|
||||||
add <- function(x, y) {
|
|
||||||
x + y
|
|
||||||
}
|
|
||||||
|
|
||||||
add(1, -2, 2.0)
|
|
||||||
add(1.0e10, 2.0e10)
|
|
||||||
|
|
||||||
paste("one", NULL)
|
|
||||||
paste(NA, 'two')
|
|
||||||
|
|
||||||
paste("multi-
|
|
||||||
line",
|
|
||||||
'multi-
|
|
||||||
line')
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
CREATE VIEW METRIC_STATS (ID, MONTH, TEMP_C, RAIN_C) AS
|
|
||||||
SELECT ID,
|
|
||||||
MONTH,
|
|
||||||
(TEMP_F - 32) * 5 /9,
|
|
||||||
RAIN_I * 0.3937
|
|
||||||
FROM STATS;
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
<project>
|
|
||||||
<target name="jar">
|
|
||||||
<mkdir dir="build/jar"/>
|
|
||||||
<jar destfile="build/jar/HelloWorld.jar" basedir="build/classes">
|
|
||||||
<manifest>
|
|
||||||
<attribute name="Main-Class" value="oata.HelloWorld"/>
|
|
||||||
</manifest>
|
|
||||||
</jar>
|
|
||||||
</target>
|
|
||||||
<!-- The stuff below was added for extra tokenizer testing -->
|
|
||||||
<character id="Lucy">
|
|
||||||
<hr:name>Lucy</hr:name>
|
|
||||||
<hr:born>1952-03-03</hr:born>
|
|
||||||
<qualification>bossy, crabby and selfish</qualification>
|
|
||||||
</character>
|
|
||||||
<VisualState.Setters>
|
|
||||||
<Setter Target="inputPanel.Orientation" Value="Vertical"/>
|
|
||||||
<Setter Target="inputButton.Margin" Value="0,4,0,0"/>
|
|
||||||
</VisualState.Setters>
|
|
||||||
</project>
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
# sequencer protocols for Laser eye surgery
|
|
||||||
---
|
|
||||||
- step: &id001 # defines anchor label &id001
|
|
||||||
instrument: Lasik 2000
|
|
||||||
pulseEnergy: 5.4
|
|
||||||
spotSize: 1mm
|
|
||||||
|
|
||||||
- step: *id001 # refers to the first step (with anchor &id001)
|
|
||||||
- step: *id001
|
|
||||||
spotSize: 2mm
|
|
||||||
- step: *id002
|
|
||||||
- {name: John Smith, age: 33}
|
|
||||||
- name: Mary Smith
|
|
||||||
age: 27
|
|
||||||
men: [John Smith, Bill Jones]
|
|
||||||
women:
|
|
||||||
- Mary Smith
|
|
||||||
- Susan Williams
|
|
||||||
@@ -1,310 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "FROM",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ubuntu",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MAINTAINER",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " Kimbro Staken",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " apt-get install -y software-properties-common python",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " add-apt-repository ppa:chris-lea/node.js",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " echo ",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"deb http://us.archive.ubuntu.com/ubuntu/ precise universe\"",
|
|
||||||
"t": "source.dockerfile string.quoted.double.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string: #A31515",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string: #A31515",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " >> /etc/apt/sources.list",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " apt-get update",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " apt-get install -y nodejs",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "#",
|
|
||||||
"t": "source.dockerfile comment.line.number-sign.dockerfile punctuation.definition.comment.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1",
|
|
||||||
"t": "source.dockerfile comment.line.number-sign.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RUN",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " mkdir /var/www",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "ADD",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " app.js /var/www/app.js",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "CMD",
|
|
||||||
"t": "source.dockerfile keyword.other.special-method.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " [",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"/usr/bin/node\"",
|
|
||||||
"t": "source.dockerfile string.quoted.double.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string: #A31515",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string: #A31515",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ", ",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"/var/www/app.js\"",
|
|
||||||
"t": "source.dockerfile string.quoted.double.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string: #A31515",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string: #A31515",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "] ",
|
|
||||||
"t": "source.dockerfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,222 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "test1",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "dsd",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "test2",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "abc-def",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "test-3",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "abcdef",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "test-4",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "abc-def",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,266 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "-",
|
|
||||||
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "blue",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "a=\"brown,not_brown\"",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "-",
|
|
||||||
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "not_blue",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "foo",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "-",
|
|
||||||
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "blue",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "foo=\"}\"",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "-",
|
|
||||||
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "not_blue",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "1",
|
|
||||||
"t": "source.yaml constant.numeric.integer.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,310 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "swagger",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "'",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml punctuation.definition.string.begin.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "2.0",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "'",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml punctuation.definition.string.end.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "info",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "description",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "'",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml punctuation.definition.string.begin.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "The API Management Service API defines an updated and refined version",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " of the concepts currently known as Developer, APP, and API Product in Edge. Of",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " note is the introduction of the API concept, missing previously from Edge",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "'",
|
|
||||||
"t": "source.yaml string.quoted.single.yaml punctuation.definition.string.end.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.single.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "title",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "API Management Service API",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "version",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "initial",
|
|
||||||
"t": "source.yaml string.unquoted.plain.out.yaml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.unquoted.plain.out.yaml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,332 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "#",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown punctuation.definition.heading.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "h",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown entity.name.section.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "pre",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.start.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "code",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.start.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.start.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "# a",
|
|
||||||
"t": "text.html.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "</",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.end.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "code",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.end.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.inline.code.end.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "</",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "pre",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "#",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown punctuation.definition.heading.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "h",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown entity.name.section.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "pre",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.start.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "# a",
|
|
||||||
"t": "text.html.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "a",
|
|
||||||
"t": "text.html.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "</",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html punctuation.definition.tag.begin.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "pre",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html entity.name.tag.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.html.markdown meta.tag.structure.pre.end.html punctuation.definition.tag.end.html",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "#",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown punctuation.definition.heading.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "h",
|
|
||||||
"t": "text.html.markdown markup.heading.markdown heading.1.markdown entity.name.section.markdown",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "markup.heading: #569CD6",
|
|
||||||
"light_plus": "markup.heading: #800000",
|
|
||||||
"dark_vs": "markup.heading: #569CD6",
|
|
||||||
"light_vs": "markup.heading: #800000",
|
|
||||||
"hc_black": "markup.heading: #6796E6"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,585 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "<?",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "xml",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml entity.name.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " version",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml entity.other.attribute-name.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_plus": "entity.other.attribute-name: #FF0000",
|
|
||||||
"dark_vs": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_vs": "entity.other.attribute-name: #FF0000",
|
|
||||||
"hc_black": "entity.other.attribute-name: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.begin.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "1.0",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.end.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " encoding",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml entity.other.attribute-name.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_plus": "entity.other.attribute-name: #FF0000",
|
|
||||||
"dark_vs": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_vs": "entity.other.attribute-name: #FF0000",
|
|
||||||
"hc_black": "entity.other.attribute-name: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.begin.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "utf-8",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.end.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " standalone",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml entity.other.attribute-name.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_plus": "entity.other.attribute-name: #FF0000",
|
|
||||||
"dark_vs": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_vs": "entity.other.attribute-name: #FF0000",
|
|
||||||
"hc_black": "entity.other.attribute-name: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.begin.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "no",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml string.quoted.double.xml punctuation.definition.string.end.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "?>",
|
|
||||||
"t": "text.xml meta.tag.preprocessor.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "WorkFine",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "NoColorWithNonLatinCharacters_АБВ",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml meta.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "NextTagnotWork",
|
|
||||||
"t": "text.xml meta.tag.xml entity.other.attribute-name.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_plus": "entity.other.attribute-name: #FF0000",
|
|
||||||
"dark_vs": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_vs": "entity.other.attribute-name: #FF0000",
|
|
||||||
"hc_black": "entity.other.attribute-name: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "text.xml meta.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml punctuation.definition.string.begin.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "something",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml punctuation.definition.string.end.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml meta.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "Поле",
|
|
||||||
"t": "text.xml meta.tag.xml entity.other.attribute-name.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_plus": "entity.other.attribute-name: #FF0000",
|
|
||||||
"dark_vs": "entity.other.attribute-name: #9CDCFE",
|
|
||||||
"light_vs": "entity.other.attribute-name: #FF0000",
|
|
||||||
"hc_black": "entity.other.attribute-name: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "text.xml meta.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml punctuation.definition.string.begin.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "tagnotwork",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\"",
|
|
||||||
"t": "text.xml meta.tag.xml string.quoted.double.xml punctuation.definition.string.end.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string.quoted.double.xml: #0000FF",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string.quoted.double.xml: #0000FF",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "WorkFine",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "/>",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "<",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "Error_АБВГД",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "/>",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "text.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "</",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "NoColorWithNonLatinCharacters_АБВ",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "</",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "WorkFine",
|
|
||||||
"t": "text.xml meta.tag.xml entity.name.tag.localname.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.tag: #569CD6",
|
|
||||||
"light_plus": "entity.name.tag: #800000",
|
|
||||||
"dark_vs": "entity.name.tag: #569CD6",
|
|
||||||
"light_vs": "entity.name.tag: #800000",
|
|
||||||
"hc_black": "entity.name.tag: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ">",
|
|
||||||
"t": "text.xml meta.tag.xml punctuation.definition.tag.xml",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "punctuation.definition.tag: #808080",
|
|
||||||
"light_plus": "punctuation.definition.tag: #800000",
|
|
||||||
"dark_vs": "punctuation.definition.tag: #808080",
|
|
||||||
"light_vs": "punctuation.definition.tag: #800000",
|
|
||||||
"hc_black": "punctuation.definition.tag: #808080"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "<#",
|
|
||||||
"t": "source.powershell comment.block.powershell punctuation.definition.comment.block.begin.powershell",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " .",
|
|
||||||
"t": "source.powershell comment.block.powershell",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "#>",
|
|
||||||
"t": "source.powershell comment.block.powershell punctuation.definition.comment.block.end.powershell",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,541 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "@",
|
|
||||||
"t": "source.batchfile keyword.operator.at.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "echo",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "off",
|
|
||||||
"t": "source.batchfile keyword.other.special-method.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "setlocal",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "title",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " VSCode Dev",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "pushd",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "%",
|
|
||||||
"t": "source.batchfile variable.parameter.batchfile punctuation.definition.variable.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "variable: #9CDCFE",
|
|
||||||
"light_plus": "variable: #001080",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "variable: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "~dp0",
|
|
||||||
"t": "source.batchfile variable.parameter.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "variable: #9CDCFE",
|
|
||||||
"light_plus": "variable: #001080",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "variable: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "\\..",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "::",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile punctuation.definition.comment.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " Node modules",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "if",
|
|
||||||
"t": "source.batchfile keyword.control.conditional.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.control: #C586C0",
|
|
||||||
"light_plus": "keyword.control: #AF00DB",
|
|
||||||
"dark_vs": "keyword.control: #569CD6",
|
|
||||||
"light_vs": "keyword.control: #0000FF",
|
|
||||||
"hc_black": "keyword.control: #C586C0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "not",
|
|
||||||
"t": "source.batchfile keyword.operator.logical.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "exist",
|
|
||||||
"t": "source.batchfile keyword.other.special-method.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " node_modules ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "call",
|
|
||||||
"t": "source.batchfile keyword.control.statement.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.control: #C586C0",
|
|
||||||
"light_plus": "keyword.control: #AF00DB",
|
|
||||||
"dark_vs": "keyword.control: #569CD6",
|
|
||||||
"light_vs": "keyword.control: #0000FF",
|
|
||||||
"hc_black": "keyword.control: #C586C0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " .\\scripts\\npm.bat install",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "::",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile punctuation.definition.comment.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " Get electron",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "node .\\node_modules\\gulp\\bin\\gulp.js electron",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "::",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile punctuation.definition.comment.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " Build",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "if",
|
|
||||||
"t": "source.batchfile keyword.control.conditional.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.control: #C586C0",
|
|
||||||
"light_plus": "keyword.control: #AF00DB",
|
|
||||||
"dark_vs": "keyword.control: #569CD6",
|
|
||||||
"light_vs": "keyword.control: #0000FF",
|
|
||||||
"hc_black": "keyword.control: #C586C0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "not",
|
|
||||||
"t": "source.batchfile keyword.operator.logical.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "exist",
|
|
||||||
"t": "source.batchfile keyword.other.special-method.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " out node .\\node_modules\\gulp\\bin\\gulp.js compile",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "::",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile punctuation.definition.comment.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " Configuration",
|
|
||||||
"t": "source.batchfile comment.line.colon.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "set",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "NODE_ENV",
|
|
||||||
"t": "source.batchfile variable.other.readwrite.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "variable: #9CDCFE",
|
|
||||||
"light_plus": "variable: #001080",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "variable: #9CDCFE"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=",
|
|
||||||
"t": "source.batchfile keyword.operator.assignment.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "development",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "call",
|
|
||||||
"t": "source.batchfile keyword.control.statement.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.control: #C586C0",
|
|
||||||
"light_plus": "keyword.control: #AF00DB",
|
|
||||||
"dark_vs": "keyword.control: #569CD6",
|
|
||||||
"light_vs": "keyword.control: #0000FF",
|
|
||||||
"hc_black": "keyword.control: #C586C0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "echo",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "%%",
|
|
||||||
"t": "source.batchfile constant.character.escape.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.character.escape: #D7BA7D",
|
|
||||||
"light_plus": "constant.character.escape: #EE0000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "constant.character: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "LINE:rem +=",
|
|
||||||
"t": "source.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "%%",
|
|
||||||
"t": "source.batchfile constant.character.escape.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.character.escape: #D7BA7D",
|
|
||||||
"light_plus": "constant.character.escape: #EE0000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "constant.character: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "popd",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "endlocal",
|
|
||||||
"t": "source.batchfile keyword.command.batchfile",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,673 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "// from https://flutter.dev/",
|
|
||||||
"t": "source.dart comment.line.double-slash.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "comment: #6A9955",
|
|
||||||
"light_plus": "comment: #008000",
|
|
||||||
"dark_vs": "comment: #6A9955",
|
|
||||||
"light_vs": "comment: #008000",
|
|
||||||
"hc_black": "comment: #7CA668"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "import",
|
|
||||||
"t": "source.dart meta.declaration.dart keyword.other.import.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart meta.declaration.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "'package:flutter/material.dart'",
|
|
||||||
"t": "source.dart meta.declaration.dart string.interpolated.single.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "string: #CE9178",
|
|
||||||
"light_plus": "string: #A31515",
|
|
||||||
"dark_vs": "string: #CE9178",
|
|
||||||
"light_vs": "string: #A31515",
|
|
||||||
"hc_black": "string: #CE9178"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ";",
|
|
||||||
"t": "source.dart meta.declaration.dart punctuation.terminator.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "void",
|
|
||||||
"t": "source.dart storage.type.primitive.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "storage.type: #569CD6",
|
|
||||||
"light_plus": "storage.type: #0000FF",
|
|
||||||
"dark_vs": "storage.type: #569CD6",
|
|
||||||
"light_vs": "storage.type: #0000FF",
|
|
||||||
"hc_black": "storage.type: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "main",
|
|
||||||
"t": "source.dart entity.name.function.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
|
||||||
"light_plus": "entity.name.function: #795E26",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "() ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "async",
|
|
||||||
"t": "source.dart keyword.control.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.control: #C586C0",
|
|
||||||
"light_plus": "keyword.control: #AF00DB",
|
|
||||||
"dark_vs": "keyword.control: #569CD6",
|
|
||||||
"light_vs": "keyword.control: #0000FF",
|
|
||||||
"hc_black": "keyword.control: #C586C0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " {",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "runApp",
|
|
||||||
"t": "source.dart entity.name.function.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
|
||||||
"light_plus": "entity.name.function: #795E26",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "(",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MaterialApp",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "(",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " debugShowCheckedModeBanner",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.dart keyword.operator.ternary.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "false",
|
|
||||||
"t": "source.dart constant.language.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.language: #569CD6",
|
|
||||||
"light_plus": "constant.language: #0000FF",
|
|
||||||
"dark_vs": "constant.language: #569CD6",
|
|
||||||
"light_vs": "constant.language: #0000FF",
|
|
||||||
"hc_black": "constant.language: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.dart punctuation.comma.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " home",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.dart keyword.operator.ternary.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "Scaffold",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "(",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " body",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ":",
|
|
||||||
"t": "source.dart keyword.operator.ternary.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MyApp",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "()",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.dart punctuation.comma.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " )",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.dart punctuation.comma.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " )",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.dart punctuation.comma.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " )",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ";",
|
|
||||||
"t": "source.dart punctuation.terminator.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "}",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "class",
|
|
||||||
"t": "source.dart keyword.declaration.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MyApp",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "extends",
|
|
||||||
"t": "source.dart keyword.declaration.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "StatefulWidget",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " {",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "@override",
|
|
||||||
"t": "source.dart storage.type.annotation.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "storage.type: #569CD6",
|
|
||||||
"light_plus": "storage.type: #0000FF",
|
|
||||||
"dark_vs": "storage.type: #569CD6",
|
|
||||||
"light_vs": "storage.type: #0000FF",
|
|
||||||
"hc_black": "storage.type: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "_MyAppState",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "createState",
|
|
||||||
"t": "source.dart entity.name.function.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "entity.name.function: #DCDCAA",
|
|
||||||
"light_plus": "entity.name.function: #795E26",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "entity.name.function: #DCDCAA"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "() ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "=>",
|
|
||||||
"t": "source.dart keyword.operator.closure.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "_MyAppState",
|
|
||||||
"t": "source.dart support.class.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.class: #4EC9B0",
|
|
||||||
"light_plus": "support.class: #267F99",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.class: #4EC9B0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "()",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ";",
|
|
||||||
"t": "source.dart punctuation.terminator.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "}",
|
|
||||||
"t": "source.dart",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,321 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"c": "CREATE",
|
|
||||||
"t": "source.sql keyword.other.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " VIEW METRIC_STATS (ID, ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MONTH",
|
|
||||||
"t": "source.sql support.function.datetime.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.function: #DCDCAA",
|
|
||||||
"light_plus": "support.function: #795E26",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.function: #DCDCAA"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ", TEMP_C, RAIN_C) ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "AS",
|
|
||||||
"t": "source.sql keyword.other.alias.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "SELECT",
|
|
||||||
"t": "source.sql keyword.other.DML.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ID,",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "MONTH",
|
|
||||||
"t": "source.sql support.function.datetime.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "support.function: #DCDCAA",
|
|
||||||
"light_plus": "support.function: #795E26",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "support.function: #DCDCAA"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "(TEMP_F ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "-",
|
|
||||||
"t": "source.sql keyword.operator.math.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "32",
|
|
||||||
"t": "source.sql constant.numeric.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ") ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "*",
|
|
||||||
"t": "source.sql keyword.operator.star.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "5",
|
|
||||||
"t": "source.sql constant.numeric.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "/",
|
|
||||||
"t": "source.sql keyword.operator.math.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "9",
|
|
||||||
"t": "source.sql constant.numeric.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ",",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "RAIN_I ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "*",
|
|
||||||
"t": "source.sql keyword.operator.star.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword.operator: #D4D4D4",
|
|
||||||
"light_plus": "keyword.operator: #000000",
|
|
||||||
"dark_vs": "keyword.operator: #D4D4D4",
|
|
||||||
"light_vs": "keyword.operator: #000000",
|
|
||||||
"hc_black": "keyword.operator: #D4D4D4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " ",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "0",
|
|
||||||
"t": "source.sql constant.numeric.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": ".",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "3937",
|
|
||||||
"t": "source.sql constant.numeric.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "constant.numeric: #B5CEA8",
|
|
||||||
"light_plus": "constant.numeric: #098658",
|
|
||||||
"dark_vs": "constant.numeric: #B5CEA8",
|
|
||||||
"light_vs": "constant.numeric: #098658",
|
|
||||||
"hc_black": "constant.numeric: #B5CEA8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": "FROM",
|
|
||||||
"t": "source.sql keyword.other.DML.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "keyword: #569CD6",
|
|
||||||
"light_plus": "keyword: #0000FF",
|
|
||||||
"dark_vs": "keyword: #569CD6",
|
|
||||||
"light_vs": "keyword: #0000FF",
|
|
||||||
"hc_black": "keyword: #569CD6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"c": " STATS;",
|
|
||||||
"t": "source.sql",
|
|
||||||
"r": {
|
|
||||||
"dark_plus": "default: #D4D4D4",
|
|
||||||
"light_plus": "default: #000000",
|
|
||||||
"dark_vs": "default: #D4D4D4",
|
|
||||||
"light_vs": "default: #000000",
|
|
||||||
"hc_black": "default: #FFFFFF"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,12 +0,0 @@
|
|||||||
test/**
|
|
||||||
test-workspace/**
|
|
||||||
src/**
|
|
||||||
tsconfig.json
|
|
||||||
out/test/**
|
|
||||||
out/**
|
|
||||||
extension.webpack.config.js
|
|
||||||
extension-browser.webpack.config.js
|
|
||||||
cgmanifest.json
|
|
||||||
yarn.lock
|
|
||||||
preview-src/**
|
|
||||||
webpack.config.js
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user