mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Leading whitespace fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/* General Theme Colors */
|
||||
.monaco-workbench.vs-dark { background-color: #252526; color: #CCC; }
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/* Input Fields */
|
||||
.monaco-workbench.vs-dark input,
|
||||
.monaco-workbench.vs-dark textarea {
|
||||
background-color: #3C3C3C;
|
||||
background-color: #3C3C3C;
|
||||
}
|
||||
|
||||
.monaco-workbench.vs-dark input:disabled {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/* General Theme Colors */
|
||||
.monaco-workbench { background-color: #F3F3F3; }
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
.monaco-workbench > .activitybar > .content .monaco-action-bar .action-item {
|
||||
display: block;
|
||||
position: relative;
|
||||
@@ -70,12 +70,12 @@
|
||||
.monaco-workbench > .activitybar > .content .monaco-action-bar .badge .badge-content {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 8px;
|
||||
right: 8px;
|
||||
font-size: 11px;
|
||||
min-width: 8px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
padding: 0 5px;
|
||||
padding: 0 5px;
|
||||
border-radius: 20px;
|
||||
text-align: center;
|
||||
color: white;
|
||||
@@ -92,8 +92,8 @@
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-bottom: 5px solid transparent;
|
||||
border-right: 5px solid #F6F6F6;
|
||||
@@ -104,8 +104,8 @@
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-bottom: 5px solid transparent;
|
||||
border-right: 5px solid #252526;
|
||||
@@ -116,8 +116,8 @@
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-bottom: 5px solid transparent;
|
||||
border-left: 5px solid #F6F6F6;
|
||||
@@ -128,8 +128,8 @@
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 5px solid transparent;
|
||||
border-bottom: 5px solid transparent;
|
||||
border-left: 5px solid #252526;
|
||||
@@ -154,7 +154,7 @@
|
||||
|
||||
.monaco-workbench > .activitybar.right > .content .monaco-action-bar .badge {
|
||||
left: auto;
|
||||
right: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* High Contrast Theming */
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
/* Editor Container Styles */
|
||||
/* Editor Container Styles */
|
||||
|
||||
.monaco-workbench.vs .editor > .content.dragged {
|
||||
background-color: #F3F3F3;
|
||||
@@ -17,7 +17,7 @@
|
||||
border-right: 1px solid #444;
|
||||
}
|
||||
|
||||
.monaco-workbench .editor > .content > .one-editor-container {
|
||||
.monaco-workbench .editor > .content > .one-editor-container {
|
||||
position: absolute;
|
||||
|
||||
/* use border box to be able to draw a border as separator between editors */
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
.monaco-workbench > .sidebar > .title {
|
||||
display: block !important; /* Enable Title visibility */
|
||||
}
|
||||
@@ -81,11 +81,11 @@
|
||||
}
|
||||
|
||||
/* High Contrast Theming */
|
||||
.monaco-workbench.hc-black > .sidebar.left {
|
||||
.monaco-workbench.hc-black > .sidebar.left {
|
||||
border-right: 1px solid #6FC3DF;
|
||||
}
|
||||
|
||||
.monaco-workbench.hc-black > .sidebar.right {
|
||||
.monaco-workbench.hc-black > .sidebar.right {
|
||||
border-left: 1px solid #6FC3DF;
|
||||
}
|
||||
|
||||
|
||||
4
src/vs/workbench/electron-main/bootstrap.js
vendored
4
src/vs/workbench/electron-main/bootstrap.js
vendored
@@ -50,8 +50,8 @@ app.once('ready', function() {
|
||||
var loader = require('../../loader');
|
||||
|
||||
loader.config({
|
||||
nodeRequire: require,
|
||||
nodeMain: __filename,
|
||||
nodeRequire: require,
|
||||
nodeMain: __filename,
|
||||
baseUrl: uriFromPath(path.dirname(path.dirname(path.dirname((__dirname)))))
|
||||
});
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
.vs-dark.monaco-workbench .debug-select {
|
||||
background-color: #3C3C3C;
|
||||
border-color: #3C3C3C;
|
||||
border-color: #3C3C3C;
|
||||
color: rgb(204, 204, 204);
|
||||
}
|
||||
|
||||
|
||||
@@ -91,9 +91,9 @@
|
||||
}
|
||||
|
||||
.quick-open-widget .extension .actions .action-item.disabled .action-label {
|
||||
animation: move-background 0.5s linear infinite;
|
||||
background-color: rgba(132, 132, 132, 0.5);
|
||||
background-size: 8px;
|
||||
animation: move-background 0.5s linear infinite;
|
||||
background-color: rgba(132, 132, 132, 0.5);
|
||||
background-size: 8px;
|
||||
background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
|
||||
color: rgb(0, 0, 0);
|
||||
border-color: rgb(0, 0, 0);
|
||||
|
||||
@@ -392,15 +392,15 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
|
||||
|
||||
if (input instanceof GitEditorInputs.GitDiffEditorInput) {
|
||||
return (<GitEditorInputs.GitDiffEditorInput> input).getFileStatus();
|
||||
}
|
||||
}
|
||||
|
||||
if (input instanceof GitEditorInputs.GitIndexEditorInput) {
|
||||
return (<GitEditorInputs.GitIndexEditorInput> input).getFileStatus() || null;
|
||||
}
|
||||
}
|
||||
|
||||
if (input instanceof GitEditorInputs.NativeGitIndexStringEditorInput) {
|
||||
return (<GitEditorInputs.NativeGitIndexStringEditorInput> input).getFileStatus() || null;
|
||||
}
|
||||
}
|
||||
|
||||
if (input instanceof Files.FileEditorInput) {
|
||||
var fileInput = <Files.FileEditorInput> input;
|
||||
@@ -419,7 +419,7 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
|
||||
if (status) {
|
||||
return status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ function fileExists(path: string): winjs.TPromise<boolean> {
|
||||
function createFile(path: string, content: string): winjs.Promise {
|
||||
return new winjs.Promise((c, e, p) => {
|
||||
fs.writeFile(path, content, function(err) {
|
||||
if(err) {
|
||||
if(err) {
|
||||
e(err);
|
||||
}
|
||||
c(true);
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
'use strict';
|
||||
|
||||
import * as nls from 'vs/nls';
|
||||
import * as Objects from 'vs/base/common/objects';
|
||||
|
||||
@@ -433,9 +433,9 @@ suite('Tasks Configuration parsing tests', () => {
|
||||
showOutput(Platform.isWindows ? TaskSystem.ShowOutput.Always : TaskSystem.ShowOutput.Never).
|
||||
suppressTaskName(true);
|
||||
let external: ExternalTaskRunnerConfiguration = {
|
||||
version: '0.1.0',
|
||||
command: 'tsc',
|
||||
showOutput: 'never',
|
||||
version: '0.1.0',
|
||||
command: 'tsc',
|
||||
showOutput: 'never',
|
||||
windows: {
|
||||
showOutput: 'always'
|
||||
}
|
||||
@@ -450,8 +450,8 @@ suite('Tasks Configuration parsing tests', () => {
|
||||
echoCommand(Platform.isWindows ? false : true).
|
||||
suppressTaskName(true);
|
||||
let external: ExternalTaskRunnerConfiguration = {
|
||||
version: '0.1.0',
|
||||
command: 'tsc',
|
||||
version: '0.1.0',
|
||||
command: 'tsc',
|
||||
echoCommand: true,
|
||||
windows: {
|
||||
echoCommand: false
|
||||
|
||||
@@ -67,11 +67,11 @@ export class NodeAppInsightsTelemetryAppender implements ITelemetryAppender {
|
||||
|
||||
if (key) {
|
||||
this.appInsights = appInsights.setup(key)
|
||||
.setAutoCollectRequests(false)
|
||||
.setAutoCollectPerformance(false)
|
||||
.setAutoCollectExceptions(false)
|
||||
.setAutoCollectRequests(false)
|
||||
.setAutoCollectPerformance(false)
|
||||
.setAutoCollectExceptions(false)
|
||||
.setOfflineMode(true)
|
||||
.start()
|
||||
.start()
|
||||
.client;
|
||||
|
||||
this.setupAIClient(this.appInsights);
|
||||
@@ -91,7 +91,7 @@ export class NodeAppInsightsTelemetryAppender implements ITelemetryAppender {
|
||||
if (client && client.context &&
|
||||
client.context.keys && client.context.tags) {
|
||||
var machineNameKey = client.context.keys.deviceMachineName;
|
||||
client.context.tags[machineNameKey] = '';
|
||||
client.context.tags[machineNameKey] = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user