Skip to content

Instantly share code, notes, and snippets.

View aeschli's full-sized avatar

Martin Aeschlimann aeschli

  • Microsoft
  • Switzerland
View GitHub Profile
/*!--------------------------------------------------------
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/
(function(){
var e=["require","exports","vs/base/common/winjs.base","vs/base/common/uri","vs/base/common/event","vs/workbench/api/node/extHost.protocol","vs/platform/instantiation/common/instantiation","vs/base/common/strings","vs/workbench/api/node/extHostTypes","vs/base/common/async","vs/base/common/platform","vs/base/common/paths","vs/base/common/lifecycle","vs/base/common/objects","vs/base/common/errors","path","vs/base/common/arrays","vs/base/common/map","vs/workbench/api/node/extHostTypeConverters","vs/nls","vs/base/common/types","vs/nls!vs/workbench/node/extensionHostProcess","vs/platform/registry/common/platform","vs/platform/configuration/common/configuration","vs/editor/common/modes/languageConfiguration","vs/base/common/severity","vs/platform/log/common/log","vs/platform/configuration/common/configurationRegistry","vs/b
@aeschli
aeschli / css
Created October 12, 2018 16:00
css
.monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: rgba(121, 121, 121, 0.2); }
.monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: rgba(100, 100, 100, 0.35); }
.monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: rgba(191, 191, 191, 0.2); }
.monaco-editor .minimap-shadow-visible { box-shadow: #000000 -6px 0 6px -6px inset; }
.monaco-editor .scroll-decoration { box-shadow: #000000 0 6px 6px -6px inset; }
.monaco-editor .focused .selected-text { background-color: #264f78; }
.monaco-editor .selected-text { background-color: #3a3d41; }
.monaco-editor, .monaco-editor-background, .monaco-editor .inputarea.ime-input { background-color: #1e1e1e; }
.monaco-editor, .monaco-editor .inputarea.ime-input { color: #d4d4d4; }
.monaco-editor .margin { background-color: #1e1e1e; }
{
"$schema": "vscode://schemas/color-theme",
"name": "Dark (Visual Studio)",
"include": "./dark_defaults.json",
"tokenColors": [
{
"scope": [
"meta.embedded",
"source.groovy.embedded"
],
{
"$schema": "vscode://schemas/color-theme",
"name": "Dark+ (default dark)",
"include": "./dark_vs.json",
"tokenColors": [
{
"name": "Function declarations",
"scope": [
"entity.name.function",
"support.function",
@aeschli
aeschli / gist:3ce9ea630800be91e6e25a55e0f5c0f8
Last active October 23, 2020 08:13
Github light color (1.1.5)
{
"themeType": "light",
"colors": {
"focusBorder": "#2188ff",
"foreground": "#444d56",
"descriptionForeground": "#6a737d",
"errorForeground": "#cb2431",
"textLink.foreground": "#0366d6",
"textLink.activeForeground": "#005cc5",
"textBlockQuote.background": "#fafbfc",
@aeschli
aeschli / launch schema
Last active April 6, 2021 18:04
vscode launch schema 1.55
This file has been truncated, but you can view the full file.
{
"id": "vscode://schemas/launch",
"type": "object",
"title": "Launch",
"allowTrailingCommas": true,
"allowComments": true,
"required": [],
"default": {
"version": "0.2.0",
"configurations": [],
@aeschli
aeschli / launch.json
Created April 7, 2021 19:55
launch schema codespace
{
"id": "vscode://schemas/launch",
"type": "object",
"title": "Launch",
"allowTrailingCommas": true,
"allowComments": true,
"required": [],
"default": {
"version": "0.2.0",
"configurations": [],
👋 Hi there, Martin here, from the VS Code team.
Recently we've announced the [Remote Repository feature](https://code.visualstudio.com/updates/v1_56#_remote-repositories-remotehub) that lets you browse and edit files and folders directly on GitHub.
`Open Remote Repository...` opens VSCode on a folder or workspace located on a virtual file system. We call this a __virtual workspace__. We observed that not all extension support this well, either because they can not, or they haven't thought about it.
It would be fantastic if you could test whether your extension can handle virtual workspaces:
Check out the [Virtual Workspaces Extension Author Guide](https://github.com/microsoft/vscode/wiki/Virtual-Workspaces) on how to do that.
#!/usr/bin/env sh
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
[ "$VSCODE_TRACE" = true ] && set -x
if [ ! "$(command -v wget)" ]; then
echo "ERROR: Failed to download the VS Code server. 'wget' not installed." 1>&2
echo "Please install wget:" 1>&2
@aeschli
aeschli / styles.css
Created November 18, 2022 13:32
Stylesheet with color variables
.monaco-editor,
.monaco-editor-background {
background-color: var(--vscode-editor-background);
}
.monaco-editor .inputarea.ime-input {
background-color: var(--vscode-editor-lineHighlightBackground);
}
.monaco-editor,
.monaco-editor .inputarea.ime-input {
color: var(--vscode-editor-foreground);