init tool
@@ -0,0 +1 @@
|
||||
.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}
|
||||
@@ -0,0 +1 @@
|
||||
@font-face{font-family:codicon;font-display:block;src:url(codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}
|
||||
@@ -0,0 +1,3 @@
|
||||
"use strict";(function(){function f(e){const r=[];typeof e=="number"&&r.push("code/timeOrigin",e);function n(o){r.push(o,Date.now())}function m(){const o=[];for(let i=0;i<r.length;i+=2)o.push({name:r[i],startTime:r[i+1]});return o}return{mark:n,getMarks:m}}function c(){if(typeof performance=="object"&&typeof performance.mark=="function"&&!performance.nodeTiming)return typeof performance.timeOrigin!="number"&&!performance.timing?f():{mark(e){performance.mark(e)},getMarks(){let e=performance.timeOrigin;typeof e!="number"&&(e=performance.timing.navigationStart||performance.timing.redirectStart||performance.timing.fetchStart);const r=[{name:"code/timeOrigin",startTime:Math.round(e)}];for(const n of performance.getEntriesByType("mark"))r.push({name:n.name,startTime:Math.round(e+n.startTime)});return r}};if(typeof process=="object"){const e=Math.round((require.__$__nodeRequire||require)("perf_hooks").performance.timeOrigin);return f(e)}else return console.trace("perf-util loaded in UNKNOWN environment"),f()}function a(e){return e.MonacoPerformanceMarks||(e.MonacoPerformanceMarks=c()),e.MonacoPerformanceMarks}var t;typeof global=="object"?t=global:typeof self=="object"?t=self:t={},typeof define=="function"?define([],function(){return a(t)}):typeof module=="object"&&typeof module.exports=="object"?module.exports=a(t):(console.trace("perf-util defined in UNKNOWN context (neither requirejs or commonjs)"),t.perf=a(t))})();
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/base/common/performance.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/base/common/worker/simpleWorker.nls",{"vs/base/common/platform":["_"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/base/common/worker/simpleWorker.nls.js.map
|
||||
@@ -0,0 +1,64 @@
|
||||
#!/bin/bash
|
||||
|
||||
function get_total_cpu_time() {
|
||||
# Read the first line of /proc/stat and remove the cpu prefix
|
||||
CPU=(`sed -n 's/^cpu\s//p' /proc/stat`)
|
||||
|
||||
# Sum all of the values in CPU to get total time
|
||||
for VALUE in "${CPU[@]}"; do
|
||||
let $1=$1+$VALUE
|
||||
done
|
||||
}
|
||||
|
||||
TOTAL_TIME_BEFORE=0
|
||||
get_total_cpu_time TOTAL_TIME_BEFORE
|
||||
|
||||
# Loop over the arguments, which are a list of PIDs
|
||||
# The 13th and 14th words in /proc/<PID>/stat are the user and system time
|
||||
# the process has used, so sum these to get total process run time
|
||||
declare -a PROCESS_BEFORE_TIMES
|
||||
ITER=0
|
||||
for PID in "$@"; do
|
||||
if [ -f /proc/$PID/stat ]
|
||||
then
|
||||
PROCESS_STATS=`cat /proc/$PID/stat`
|
||||
PROCESS_STAT_ARRAY=($PROCESS_STATS)
|
||||
|
||||
let PROCESS_TIME_BEFORE="${PROCESS_STAT_ARRAY[13]}+${PROCESS_STAT_ARRAY[14]}"
|
||||
else
|
||||
let PROCESS_TIME_BEFORE=0
|
||||
fi
|
||||
|
||||
PROCESS_BEFORE_TIMES[$ITER]=$PROCESS_TIME_BEFORE
|
||||
((++ITER))
|
||||
done
|
||||
|
||||
# Wait for a second
|
||||
sleep 1
|
||||
|
||||
TOTAL_TIME_AFTER=0
|
||||
get_total_cpu_time TOTAL_TIME_AFTER
|
||||
|
||||
# Check the user and system time sum of each process again and compute the change
|
||||
# in process time used over total system time
|
||||
ITER=0
|
||||
for PID in "$@"; do
|
||||
if [ -f /proc/$PID/stat ]
|
||||
then
|
||||
PROCESS_STATS=`cat /proc/$PID/stat`
|
||||
PROCESS_STAT_ARRAY=($PROCESS_STATS)
|
||||
|
||||
let PROCESS_TIME_AFTER="${PROCESS_STAT_ARRAY[13]}+${PROCESS_STAT_ARRAY[14]}"
|
||||
else
|
||||
let PROCESS_TIME_AFTER=${PROCESS_BEFORE_TIMES[$ITER]}
|
||||
fi
|
||||
|
||||
PROCESS_TIME_BEFORE=${PROCESS_BEFORE_TIMES[$ITER]}
|
||||
let PROCESS_DELTA=$PROCESS_TIME_AFTER-$PROCESS_TIME_BEFORE
|
||||
let TOTAL_DELTA=$TOTAL_TIME_AFTER-$TOTAL_TIME_BEFORE
|
||||
CPU_USAGE=`echo "$((100*$PROCESS_DELTA/$TOTAL_DELTA))"`
|
||||
|
||||
# Parent script reads from stdout, so echo result to be read
|
||||
echo $CPU_USAGE
|
||||
((++ITER))
|
||||
done
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
PAGESIZE=`getconf PAGESIZE`;
|
||||
TOTAL_MEMORY=`cat /proc/meminfo | head -n 1 | awk '{print $2}'`;
|
||||
|
||||
# Mimic the output of ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
|
||||
# Read all numeric subdirectories in /proc
|
||||
for pid in `cd /proc && ls -d [0-9]*`
|
||||
do {
|
||||
if [ -e /proc/$pid/stat ]
|
||||
then
|
||||
echo $pid;
|
||||
|
||||
# ppid is the word at index 4 in the stat file for the process
|
||||
awk '{print $4}' /proc/$pid/stat;
|
||||
|
||||
# pcpu - calculation will be done later, this is a placeholder value
|
||||
echo "0.0"
|
||||
|
||||
# pmem - ratio of the process's working set size to total memory.
|
||||
# use the page size to convert to bytes, total memory is in KB
|
||||
# multiplied by 100 to get percentage, extra 10 to be able to move
|
||||
# the decimal over by one place
|
||||
RESIDENT_SET_SIZE=`awk '{print $24}' /proc/$pid/stat`;
|
||||
PERCENT_MEMORY=$(((1000 * $PAGESIZE * $RESIDENT_SET_SIZE) / ($TOTAL_MEMORY * 1024)));
|
||||
if [ $PERCENT_MEMORY -lt 10 ]
|
||||
then
|
||||
# replace the last character with 0. the last character
|
||||
echo $PERCENT_MEMORY | sed 's/.$/0.&/'; #pmem
|
||||
else
|
||||
# insert . before the last character
|
||||
echo $PERCENT_MEMORY | sed 's/.$/.&/';
|
||||
fi
|
||||
|
||||
# cmdline
|
||||
xargs -0 < /proc/$pid/cmdline;
|
||||
fi
|
||||
} | tr "\n" "\t"; # Replace newlines with tab so that all info for a process is shown on one line
|
||||
echo; # But add new lines between processes
|
||||
done
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
terminateTree() {
|
||||
for cpid in $(/usr/bin/pgrep -P $1); do
|
||||
terminateTree $cpid
|
||||
done
|
||||
kill -9 $1 > /dev/null 2>&1
|
||||
}
|
||||
|
||||
for pid in $*; do
|
||||
terminateTree $pid
|
||||
done
|
||||
@@ -0,0 +1,3 @@
|
||||
(function(){"use strict";const{ipcRenderer:o,webFrame:n,contextBridge:u}=require("electron");function s(e){if(!e||!e.startsWith("vscode:"))throw new Error(`Unsupported event IPC channel '${e}'`);return!0}function a(e){for(const r of process.argv)if(r.indexOf(`--${e}=`)===0)return r.split("=")[1]}let t;const i=(async()=>{const e=a("vscode-window-config");if(!e)throw new Error("Preload: did not find expected vscode-window-config in renderer process arguments list.");try{if(s(e))return t=await o.invoke(e),Object.assign(process.env,t.userEnv),n.setZoomLevel(t.zoomLevel??0),t}catch(r){throw new Error(`Preload: unable to fetch vscode-window-config: ${r}`)}})(),f=(async()=>{const[e,r]=await Promise.all([(async()=>(await i).userEnv)(),o.invoke("vscode:fetchShellEnv")]);return{...process.env,...r,...e}})(),c={ipcRenderer:{send(e,...r){s(e)&&o.send(e,...r)},invoke(e,...r){if(s(e))return o.invoke(e,...r)},on(e,r){if(s(e))return o.on(e,r),this},once(e,r){if(s(e))return o.once(e,r),this},removeListener(e,r){if(s(e))return o.removeListener(e,r),this}},ipcMessagePort:{acquire(e,r){if(s(e)){const d=(p,v)=>{r===v&&(o.off(e,d),window.postMessage(r,"*",p.ports))};o.on(e,d)}}},webFrame:{setZoomLevel(e){typeof e=="number"&&n.setZoomLevel(e)}},process:{get platform(){return process.platform},get arch(){return process.arch},get env(){return{...process.env}},get pid(){return process.pid},get versions(){return process.versions},get type(){return"renderer"},get execPath(){return process.execPath},get sandboxed(){return process.sandboxed},cwd(){return process.env.VSCODE_CWD||process.execPath.substr(0,process.execPath.lastIndexOf(process.platform==="win32"?"\\":"/"))},shellEnv(){return f},getProcessMemoryInfo(){return process.getProcessMemoryInfo()},on(e,r){process.on(e,r)}},context:{configuration(){return t},async resolveConfiguration(){return i}}};if(process.contextIsolated)try{u.exposeInMainWorld("vscode",c)}catch(e){console.error(e)}else window.vscode=c})();
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/base/parts/sandbox/electron-browser/preload.js.map
|
||||
@@ -0,0 +1,18 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; connect-src 'self' https:;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
Shared Process
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="../../../../bootstrap.js"></script>
|
||||
<script src="../../../../vs/loader.js"></script>
|
||||
<script src="../../../../bootstrap-window.js"></script>
|
||||
<script src="sharedProcess.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; connect-src 'self' https:;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
Shared Process
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="sharedProcess.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data:; media-src 'none'; child-src 'self'; object-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https:; font-src 'self' https:;">
|
||||
<style>
|
||||
body {
|
||||
display: none
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="../../../../bootstrap.js"></script>
|
||||
<script src="../../../../vs/loader.js"></script>
|
||||
<script src="../../../../bootstrap-window.js"></script>
|
||||
<script src="issueReporter.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,19 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data:; media-src 'none'; child-src 'self'; object-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https:; font-src 'self' https:;">
|
||||
<style>
|
||||
body {
|
||||
display: none
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="issueReporter.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/code/electron-sandbox/issue/issueReporterMain.nls",{"vs/base/browser/ui/button/button":["More Actions..."],"vs/base/common/actions":["(empty)"],"vs/base/common/platform":["_"],"vs/code/electron-sandbox/issue/issueReporterMain":["hide","show","Create on GitHub","Preview on GitHub","Loading data...","GitHub query limit exceeded. Please wait.","Similar issues","Open","Closed","Open","Closed","No similar issues found","Bug Report","Feature Request","Performance Issue","Select source","Visual Studio Code","An extension","Extensions marketplace","Don't know","Steps to Reproduce","Share the steps needed to reliably reproduce the problem. Please include actual and expected results. We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub.","Steps to Reproduce","When did this performance issue happen? Does it occur on startup or after a specific series of actions? We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub.","Description","Please describe the feature you would like to see. We support GitHub-flavored Markdown. You will be able to edit your issue and add screenshots when we preview it on GitHub.","We have written the needed data into your clipboard because it was too large to send. Please paste.","Extensions are disabled","No current experiments."],"vs/code/electron-sandbox/issue/issueReporterPage":["Include my system information","Include my currently running processes","Include my workspace metadata","Include my enabled extensions","Include A/B experiment info",'Before you report an issue here please <a href="https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions" target="_blank">review the guidance we provide</a>.',"Please complete the form in English.","This is a","File on","An issue source is required.","Try to reproduce the problem after {0}. If the problem only reproduces when extensions are active, it is likely an issue with an extension.","disabling all extensions and reloading the window","Extension","The issue reporter is unable to create issues for this extension. Please visit {0} to report an issue.","The issue reporter is unable to create issues for this extension, as it does not specify a URL for reporting issues. Please check the marketplace page of this extension to see if other instructions are available.","Title","Please enter a title.","A title is required.","The title is too long.","Please enter details.","A description is required.","show","show","show","show","show"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/code/electron-sandbox/issue/issueReporterMain.nls.js.map
|
||||
@@ -0,0 +1,18 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data:; media-src 'none'; child-src 'self'; object-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https:; font-src 'self' https:;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
<div id="process-list"></div>
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="../../../../bootstrap.js"></script>
|
||||
<script src="../../../../vs/loader.js"></script>
|
||||
<script src="../../../../bootstrap-window.js"></script>
|
||||
<script src="processExplorer.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data:; media-src 'none'; child-src 'self'; object-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https:; font-src 'self' https:;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
<div id="process-list"></div>
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="processExplorer.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/code/electron-sandbox/processExplorer/processExplorerMain.nls",{"vs/base/browser/ui/actionbar/actionViewItems":["{0} ({1})"],"vs/base/browser/ui/findinput/findInput":["input"],"vs/base/browser/ui/findinput/findInputToggles":["Match Case","Match Whole Word","Use Regular Expression"],"vs/base/browser/ui/iconLabel/iconLabelHover":["Loading..."],"vs/base/browser/ui/inputbox/inputBox":["Error: {0}","Warning: {0}","Info: {0}","for history"],"vs/base/browser/ui/selectBox/selectBoxCustom":["Select Box"],"vs/base/browser/ui/tree/abstractTree":["Filter","Type to filter","Type to search","Type to search","Close","No elements found."],"vs/base/common/actions":["(empty)"],"vs/base/common/platform":["_"],"vs/code/electron-sandbox/processExplorer/processExplorerMain":["Process Name","CPU (%)","PID","Memory (MB)","Kill Process","Force Kill Process","Copy","Copy All","Debug"],"vs/platform/files/common/files":["Unknown Error","{0}B","{0}KB","{0}MB","{0}GB","{0}TB"],"vs/platform/theme/common/iconRegistry":["The id of the font to use. If not set, the font that is defined first is used.","The font character associated with the icon definition.","Icon for the close action in widgets.","Icon for goto previous editor location.","Icon for goto next editor location."]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/code/electron-sandbox/processExplorer/processExplorerMain.nls.js.map
|
||||
@@ -0,0 +1,18 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:; media-src 'self'; frame-src 'self' vscode-webview:; object-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;">
|
||||
<meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'; trusted-types amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget stickyScrollViewLayer editorGhostText domLineBreaksComputer editorViewLayer diffReview dompurify notebookRenderer safeInnerHtml standaloneColorizer tokenizeToString;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="../../../../bootstrap.js"></script>
|
||||
<script src="../../../../vs/loader.js"></script>
|
||||
<script src="../../../../bootstrap-window.js"></script>
|
||||
<script src="workbench.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src 'self' https: data: blob: vscode-remote-resource:; media-src 'self'; frame-src 'self' vscode-webview:; object-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src 'self' 'unsafe-inline'; connect-src 'self' https: ws:; font-src 'self' https: vscode-remote-resource:;">
|
||||
<meta http-equiv="Content-Security-Policy" content="require-trusted-types-for 'script'; trusted-types amdLoader cellRendererEditorText defaultWorkerFactory diffEditorWidget stickyScrollViewLayer editorGhostText domLineBreaksComputer editorViewLayer diffReview dompurify notebookRenderer safeInnerHtml standaloneColorizer tokenizeToString;">
|
||||
</head>
|
||||
|
||||
<body aria-label="">
|
||||
</body>
|
||||
|
||||
<!-- Startup (do not modify order of script tags!) -->
|
||||
<script src="workbench.js"></script>
|
||||
</html>
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/code/node/cli.nls",{"vs/base/common/platform":["_"],"vs/platform/environment/node/argv":["Options","Extensions Management","Troubleshooting","Directory where CLI metadata should be stored.","Compare two files with each other.","Perform a three-way merge by providing paths for two modified versions of a file, the common origin of both modified versions and the output file to save merge results.","Add folder(s) to the last active window.","Open a file at the path on the specified line and character position.","Force to open a new window.","Force to open a file or folder in an already opened window.","Wait for the files to be closed before returning.","The locale to use (e.g. en-US or zh-TW).","Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.","Opens the provided folder or workspace with the given profile and associates the profile with the workspace. If the profile does not exist, a new empty one is created. A folder or workspace must be provided for the profile to take effect.","Print usage.","Set the root path for extensions.","List the installed extensions.","Show versions of installed extensions, when using --list-extensions.","Filters installed extensions by provided category, when using --list-extensions.","Installs or updates an extension. The argument is either an extension id or a path to a VSIX. The identifier of an extension is '${publisher}.${name}'. Use '--force' argument to update to latest version. To install a specific version provide '@${version}'. For example: 'vscode.csharp@1.2.3'.","Installs the pre-release version of the extension, when using --install-extension","Uninstalls an extension.","Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually.","Print version.","Print verbose output (implies --wait).","Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. You can also configure the log level of an extension by passing extension id and log level in the following format: '${publisher}.${name}:${logLevel}'. For example: 'vscode.csharp:trace'. Can receive one or more such entries.","Print process usage and diagnostics information.","Run CPU profiler during startup.","Disable all installed extensions.","Disable an extension.","Turn sync on or off.","Allow debugging and profiling of extensions. Check the developer tools for the connection URI.","Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI.","Disable GPU hardware acceleration.","Max memory size for a window (in Mbytes).","Shows all telemetry events which VS code collects.","Use {0} instead.","paths","Usage","options","To read output from another program, append '-' (e.g. 'echo Hello World | {0} -')","To read from stdin, append '-' (e.g. 'ps aux | grep code | {0} -')","Subcommands","Unknown version","Unknown commit"],"vs/platform/environment/node/argvHelper":["Option '{0}' is defined more than once. Using value '{1}'.","Option '{0}' requires a non empty value. Ignoring the option.","Option '{0}' is deprecated: {1}","Warning: '{0}' is not in the list of known options for subcommand '{1}'","Warning: '{0}' is not in the list of known options, but still passed to Electron/Chromium.","Arguments in `--goto` mode should be in the format of `FILE(:LINE(:CHARACTER))`."],"vs/platform/files/common/files":["Unknown Error","{0}B","{0}KB","{0}MB","{0}GB","{0}TB"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/code/node/cli.nls.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/editor/common/services/editorSimpleWorker.nls",{"vs/base/common/platform":["_"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/editor/common/services/editorSimpleWorker.nls.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/platform/files/node/watcher/watcherMain.nls",{"vs/base/common/errorMessage":["{0}: {1}","A system error occurred ({0})","An unknown error occurred. Please consult the log for more details.","An unknown error occurred. Please consult the log for more details.","{0} ({1} errors in total)","An unknown error occurred. Please consult the log for more details."],"vs/base/common/platform":["_"],"vs/platform/files/common/files":["Unknown Error","{0}B","{0}KB","{0}MB","{0}GB","{0}TB"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/platform/files/node/watcher/watcherMain.nls.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/platform/sharedProcess/electron-browser/sharedProcessWorkerMain.nls",{"vs/base/common/errorMessage":["{0}: {1}","A system error occurred ({0})","An unknown error occurred. Please consult the log for more details.","An unknown error occurred. Please consult the log for more details.","{0} ({1} errors in total)","An unknown error occurred. Please consult the log for more details."]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/platform/sharedProcess/electron-browser/sharedProcessWorkerMain.nls.js.map
|
||||
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/platform/terminal/node/ptyHostMain.nls",{"vs/base/common/date":["in {0}","now","{0} second ago","{0} sec ago","{0} seconds ago","{0} secs ago","{0} second","{0} sec","{0} seconds","{0} secs","{0} minute ago","{0} min ago","{0} minutes ago","{0} mins ago","{0} minute","{0} min","{0} minutes","{0} mins","{0} hour ago","{0} hr ago","{0} hours ago","{0} hrs ago","{0} hour","{0} hr","{0} hours","{0} hrs","{0} day ago","{0} days ago","{0} day","{0} days","{0} week ago","{0} wk ago","{0} weeks ago","{0} wks ago","{0} week","{0} wk","{0} weeks","{0} wks","{0} month ago","{0} mo ago","{0} months ago","{0} mos ago","{0} month","{0} mo","{0} months","{0} mos","{0} year ago","{0} yr ago","{0} years ago","{0} yrs ago","{0} year","{0} yr","{0} years","{0} yrs"],"vs/base/common/errorMessage":["{0}: {1}","A system error occurred ({0})","An unknown error occurred. Please consult the log for more details.","An unknown error occurred. Please consult the log for more details.","{0} ({1} errors in total)","An unknown error occurred. Please consult the log for more details."],"vs/base/common/platform":["_"],"vs/platform/environment/node/argv":["Options","Extensions Management","Troubleshooting","Directory where CLI metadata should be stored.","Compare two files with each other.","Perform a three-way merge by providing paths for two modified versions of a file, the common origin of both modified versions and the output file to save merge results.","Add folder(s) to the last active window.","Open a file at the path on the specified line and character position.","Force to open a new window.","Force to open a file or folder in an already opened window.","Wait for the files to be closed before returning.","The locale to use (e.g. en-US or zh-TW).","Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.","Opens the provided folder or workspace with the given profile and associates the profile with the workspace. If the profile does not exist, a new empty one is created. A folder or workspace must be provided for the profile to take effect.","Print usage.","Set the root path for extensions.","List the installed extensions.","Show versions of installed extensions, when using --list-extensions.","Filters installed extensions by provided category, when using --list-extensions.","Installs or updates an extension. The argument is either an extension id or a path to a VSIX. The identifier of an extension is '${publisher}.${name}'. Use '--force' argument to update to latest version. To install a specific version provide '@${version}'. For example: 'vscode.csharp@1.2.3'.","Installs the pre-release version of the extension, when using --install-extension","Uninstalls an extension.","Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually.","Print version.","Print verbose output (implies --wait).","Log level to use. Default is 'info'. Allowed values are 'critical', 'error', 'warn', 'info', 'debug', 'trace', 'off'. You can also configure the log level of an extension by passing extension id and log level in the following format: '${publisher}.${name}:${logLevel}'. For example: 'vscode.csharp:trace'. Can receive one or more such entries.","Print process usage and diagnostics information.","Run CPU profiler during startup.","Disable all installed extensions.","Disable an extension.","Turn sync on or off.","Allow debugging and profiling of extensions. Check the developer tools for the connection URI.","Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI.","Disable GPU hardware acceleration.","Max memory size for a window (in Mbytes).","Shows all telemetry events which VS code collects.","Use {0} instead.","paths","Usage","options","To read output from another program, append '-' (e.g. 'echo Hello World | {0} -')","To read from stdin, append '-' (e.g. 'ps aux | grep code | {0} -')","Subcommands","Unknown version","Unknown commit"],"vs/platform/files/common/files":["Unknown Error","{0}B","{0}KB","{0}MB","{0}GB","{0}TB"],"vs/platform/terminal/node/ptyService":["History restored"],"vs/platform/terminal/node/terminalProcess":['Starting directory (cwd) "{0}" is not a directory','Starting directory (cwd) "{0}" does not exist','Path to shell executable "{0}" does not exist','Path to shell executable "{0}" is not a file or a symlink']});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/platform/terminal/node/ptyHostMain.nls.js.map
|
||||
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 267 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><path fill="#000" fill-rule="evenodd" d="M30.235 39.884a2.491 2.491 0 0 1-1.781-.73L12.7 24.78l-3.46 2.624-3.406 2.582a1.665 1.665 0 0 1-1.082.338 1.664 1.664 0 0 1-1.046-.431l-2.2-2a1.666 1.666 0 0 1 0-2.463L7.458 20 4.67 17.453 1.507 14.57a1.665 1.665 0 0 1 0-2.463l2.2-2a1.665 1.665 0 0 1 2.13-.097l6.863 5.209L28.452.844a2.488 2.488 0 0 1 1.841-.729c.351.009.699.091 1.019.245l8.236 3.961a2.5 2.5 0 0 1 1.415 2.253v.099-.045V33.37v-.045.095a2.501 2.501 0 0 1-1.416 2.257l-8.235 3.961a2.492 2.492 0 0 1-1.077.246Zm.716-28.947-11.948 9.062 11.952 9.065-.004-18.127Z" clip-rule="evenodd" opacity=".3"/></svg>
|
||||
|
After Width: | Height: | Size: 681 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><path fill="#3C3C3C" fill-rule="evenodd" d="M30.235 39.884a2.491 2.491 0 0 1-1.781-.73L12.7 24.78l-3.46 2.624-3.406 2.582a1.665 1.665 0 0 1-1.082.338 1.664 1.664 0 0 1-1.046-.431l-2.2-2a1.666 1.666 0 0 1 0-2.463L7.458 20 4.67 17.453 1.507 14.57a1.665 1.665 0 0 1 0-2.463l2.2-2a1.665 1.665 0 0 1 2.13-.097l6.863 5.209L28.452.844a2.488 2.488 0 0 1 1.841-.729c.351.009.699.091 1.019.245l8.236 3.961a2.5 2.5 0 0 1 1.415 2.253v.099-.045V33.37v-.045.095a2.501 2.501 0 0 1-1.416 2.257l-8.235 3.961a2.492 2.492 0 0 1-1.077.246Zm.716-28.947-11.948 9.062 11.952 9.065-.004-18.127Z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 671 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><path fill="#d9d9d9" fill-rule="evenodd" d="M30.235 39.884a2.491 2.491 0 0 1-1.781-.73L12.7 24.78l-3.46 2.624-3.406 2.582a1.665 1.665 0 0 1-1.082.338 1.664 1.664 0 0 1-1.046-.431l-2.2-2a1.666 1.666 0 0 1 0-2.463L7.458 20 4.67 17.453 1.507 14.57a1.665 1.665 0 0 1 0-2.463l2.2-2a1.665 1.665 0 0 1 2.13-.097l6.863 5.209L28.452.844a2.488 2.488 0 0 1 1.841-.729c.351.009.699.091 1.019.245l8.236 3.961a2.5 2.5 0 0 1 1.415 2.253v.099-.045V33.37v-.045.095a2.501 2.501 0 0 1-1.416 2.257l-8.235 3.961a2.492 2.492 0 0 1-1.077.246Zm.716-28.947-11.948 9.062 11.952 9.065-.004-18.127Z" clip-rule="evenodd"/></svg>
|
||||
|
After Width: | Height: | Size: 671 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><path fill="#000" fill-rule="evenodd" d="M30.235 39.884a2.491 2.491 0 0 1-1.781-.73L12.7 24.78l-3.46 2.624-3.406 2.582a1.665 1.665 0 0 1-1.082.338 1.664 1.664 0 0 1-1.046-.431l-2.2-2a1.666 1.666 0 0 1 0-2.463L7.458 20 4.67 17.453 1.507 14.57a1.665 1.665 0 0 1 0-2.463l2.2-2a1.665 1.665 0 0 1 2.13-.097l6.863 5.209L28.452.844a2.488 2.488 0 0 1 1.841-.729c.351.009.699.091 1.019.245l8.236 3.961a2.5 2.5 0 0 1 1.415 2.253v.099-.045V33.37v-.045.095a2.501 2.501 0 0 1-1.416 2.257l-8.235 3.961a2.492 2.492 0 0 1-1.077.246Zm.716-28.947-11.948 9.062 11.952 9.065-.004-18.127Z" clip-rule="evenodd" opacity=".05"/></svg>
|
||||
|
After Width: | Height: | Size: 682 B |
|
After Width: | Height: | Size: 668 B |
|
After Width: | Height: | Size: 299 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 701 B |
|
After Width: | Height: | Size: 914 B |
|
After Width: | Height: | Size: 310 B |
@@ -0,0 +1,5 @@
|
||||
/*!--------------------------------------------------------
|
||||
* Copyright (C) Microsoft Corporation. All rights reserved.
|
||||
*--------------------------------------------------------*/define("vs/workbench/contrib/debug/node/telemetryApp.nls",{"vs/base/common/platform":["_"]});
|
||||
|
||||
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5235c6bb189b60b01b1f49062f4ffa42384f8c91/core/vs/workbench/contrib/debug/node/telemetryApp.nls.js.map
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.315 11H1.685a6.912 6.912 0 0 1 0-6h12.63a6.912 6.912 0 0 1 0 6Z" fill="#fff"/><path d="M8 0a8 8 0 1 0 8 8 8.009 8.009 0 0 0-8-8Zm0 1a6.993 6.993 0 0 1 5.736 3H2.264A6.991 6.991 0 0 1 8 1Zm0 14a6.991 6.991 0 0 1-5.736-3h11.472A6.993 6.993 0 0 1 8 15Zm6.315-4H1.685a6.912 6.912 0 0 1 0-6h12.63a6.912 6.912 0 0 1 0 6Z" fill="#2b2b2b"/><path d="M8 1a6.993 6.993 0 0 1 5.736 3H2.264A6.991 6.991 0 0 1 8 1Zm0 14a6.991 6.991 0 0 1-5.736-3h11.472A6.993 6.993 0 0 1 8 15Z" fill="#ff8c00"/><path d="M8 0a8 8 0 1 0 8 8 8.009 8.009 0 0 0-8-8Zm0 1a6.993 6.993 0 0 1 5.736 3H2.264A6.991 6.991 0 0 1 8 1Zm0 14a6.991 6.991 0 0 1-5.736-3h11.472A6.993 6.993 0 0 1 8 15Zm6.315-4H1.685a6.912 6.912 0 0 1 0-6h12.63a6.912 6.912 0 0 1 0 6Z" fill="#2b2b2b"/><path d="M8 1a6.993 6.993 0 0 1 5.736 3H2.264A6.991 6.991 0 0 1 8 1Zm0 14a6.991 6.991 0 0 1-5.736-3h11.472A6.993 6.993 0 0 1 8 15Z" fill="#767676"/><path d="M5.783 6.783 4.565 8l1.218 1.217-.566.566L3.435 8l1.782-1.783Zm5-.566-.566.566L11.435 8l-1.218 1.217.566.566L12.565 8Zm-4.14 3.6.714.358 2-4-.714-.358Z" fill="#2b2b2b"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
@@ -0,0 +1,37 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1002" height="651" viewBox="-0.5 -0.5 1002 651"><path fill="none" stroke="#000" pointer-events="all" d="M581 310h220v340H581z"/><rect x="601" y="350" width="180" height="198" rx="10.8" ry="10.8" fill="none" stroke="#000" pointer-events="all"/><rect x="601" y="590" width="180" height="45" rx="9" ry="9" fill="none" stroke="#000" pointer-events="all"/><path fill="none" pointer-events="all" d="M611 360h150v30H611z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:148px;height:1px;padding-top:375px;margin-left:612px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Notebook Editor Widget</div></div></div></foreignObject><text x="686" y="379" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Notebook Editor Widget
|
||||
</text></switch><path fill="none" pointer-events="all" d="M611 600h130v30H611z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:128px;height:1px;padding-top:615px;margin-left:612px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Code Editor Widget</div></div></div></foreignObject><text x="676" y="619" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Code Editor Widget
|
||||
</text></switch><path fill="none" pointer-events="all" d="M581 310h120v30H581z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:118px;height:1px;padding-top:325px;margin-left:582px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Interactive Editor</div></div></div></foreignObject><text x="641" y="329" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Interactive Editor
|
||||
</text></switch><rect x="1" y="380" width="170" height="50" rx="7.5" ry="7.5" fill="none" pointer-events="all"/><path d="M8.5 380c34.5-1.84 64.23-1.44 155 0m-155 0c34.03-.13 67.28 1.13 155 0m0 0c5.45-.6 8.01 1.45 7.5 7.5m-7.5-7.5c6.52-.85 5.37 1.07 7.5 7.5m0 0c1.18 10.63 1.11 22.67 0 35m0-35c-.32 9.91.6 20.03 0 35m0 0c-1.16 3.07-1.33 5.58-7.5 7.5m7.5-7.5c-1.97 2.99-2.95 6.42-7.5 7.5m0 0c-40.75-.5-82.77-.84-155 0m155 0c-38.05-.6-74.83-.25-155 0m0 0c-4.63.43-8.32-3.05-7.5-7.5m7.5 7.5c-3.89 1.49-6.39-2.71-7.5-7.5m0 0c-.14-11.4-1.29-22.34 0-35m0 35c-.22-7.45-.8-14.81 0-35m0 0c-.7-3.99 3.61-5.74 7.5-7.5M1 387.5c-1.43-3.02 1.38-5.88 7.5-7.5" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:168px;height:1px;padding-top:405px;margin-left:2px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">NotebookService</div></div></div></foreignObject><text x="86" y="409" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
NotebookService
|
||||
</text></switch><rect x="13.5" y="587.5" width="185" height="55" rx="8.25" ry="8.25" fill="none" pointer-events="all"/><path d="M21.75 587.5c35.07 2.65 69.3-.56 168.5 0m-168.5 0c61.61-1.69 121.19-2 168.5 0m0 0c7.36.46 6.52.95 8.25 8.25m-8.25-8.25c7.41.28 8.05 4.78 8.25 8.25m0 0c.65 13.52-.3 25.91 0 38.5m0-38.5c.94 9.45-.65 19.2 0 38.5m0 0c.04 4.38-4.61 6.89-8.25 8.25m8.25-8.25c-.75 3.62-1.33 8.79-8.25 8.25m0 0c-51.53-.99-102.48-1.29-168.5 0m168.5 0c-45.05.65-92.48-.29-168.5 0m0 0c-4.9-.15-9.42-2.24-8.25-8.25m8.25 8.25c-5.33 1.46-7.42-2.77-8.25-8.25m0 0c-1.4-12.05 1.41-21.56 0-38.5m0 38.5c.51-14.79.37-27.4 0-38.5m0 0c.17-4.5.76-9.1 8.25-8.25m-8.25 8.25c1.93-7.67 3.66-6.69 8.25-8.25" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:183px;height:1px;padding-top:615px;margin-left:15px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">TextModelResolverService</div></div></div></foreignObject><text x="106" y="619" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
TextModelResolverService
|
||||
</text></switch><path fill="none" stroke="#000" pointer-events="all" d="M238.5 310h240v340h-240z"/><path d="M258.5 405h-81.13" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m172.12 405 7-3.5-1.75 3.5 1.75 3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="258.5" y="350" width="200" height="220" rx="12" ry="12" fill="none" stroke="#000" pointer-events="all"/><path d="M258.5 615h-53.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m199.62 615 7-3.5-1.75 3.5 1.75 3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="258.5" y="590" width="200" height="50" rx="10" ry="10" fill="none" stroke="#000" pointer-events="all"/><path fill="none" pointer-events="all" d="M268.5 360h150v30h-150z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:148px;height:1px;padding-top:375px;margin-left:270px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">NotebookTextModel</div></div></div></foreignObject><text x="344" y="379" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
NotebookTextModel
|
||||
</text></switch><path fill="none" pointer-events="all" d="M268.5 600h130v30h-130z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:128px;height:1px;padding-top:615px;margin-left:270px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">ITextModel</div></div></div></foreignObject><text x="334" y="619" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
ITextModel
|
||||
</text></switch><path fill="none" pointer-events="all" d="M238.5 310h150v30h-150z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:148px;height:1px;padding-top:325px;margin-left:240px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Interactive Editor Input</div></div></div></foreignObject><text x="314" y="329" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Interactive Editor In...
|
||||
</text></switch><path fill="none" pointer-events="all" d="M581 280h70v20h-70z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:290px;margin-left:616px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">EditorPane</div></div></div></foreignObject><text x="616" y="294" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
EditorPane
|
||||
</text></switch><path fill="none" pointer-events="all" d="M238.5 280h70v20h-70z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:290px;margin-left:274px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">EditorInput</div></div></div></foreignObject><text x="274" y="294" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
EditorInput
|
||||
</text></switch><path d="m458.5 405 142.5-5.5M458.5 620l142.5-3" fill="none" stroke="#000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><rect x="238.5" width="222.5" height="60" rx="3.6" ry="3.6" fill="none" stroke="#000" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:221px;height:1px;padding-top:30px;margin-left:240px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Editor Resolver Service</div></div></div></foreignObject><text x="350" y="34" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Editor Resolver Service
|
||||
</text></switch><rect x="589.75" width="222.5" height="60" rx="3.6" ry="3.6" fill="none" stroke="#000" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:221px;height:1px;padding-top:30px;margin-left:591px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">EditorPane Registry</div></div></div></foreignObject><text x="701" y="34" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
EditorPane Registry
|
||||
</text></switch><path d="m691 280-.66-211.71" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m690.32 63.04 3.53 6.99-3.51-1.74-3.49 1.76Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M635 150h130v20H635z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:160px;margin-left:700px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Registry Editor Pane</div></div></div></foreignObject><text x="700" y="164" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Registry Editor Pane
|
||||
</text></switch><path d="M301 200h390M300.49 280l.51-80M268.5 280l.04-213.09" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m268.54 61.66 3.5 7-3.5-1.75-3.5 1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M218.5 150h90v10h-90z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:155px;margin-left:264px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:6px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap"><font style="font-size:12px">registerEditor</font></div></div></div></foreignObject><text x="264" y="157" font-family="Helvetica" font-size="6" text-anchor="middle">
|
||||
registerEditor
|
||||
</text></switch><path d="M801 380h43.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m849.88 380-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M851 370h110v20H851z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:380px;margin-left:906px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">input: EditorInput</div></div></div></foreignObject><text x="906" y="384" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
input: EditorInput
|
||||
</text></switch><path d="M801 430h43.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m849.88 430-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M851 420h120v20H851z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:430px;margin-left:911px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">group: IEditorGroup</div></div></div></foreignObject><text x="911" y="434" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
group: IEditorGroup
|
||||
</text></switch><path d="M801 480h43.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m849.88 480-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M851 470h150v20H851z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:480px;margin-left:926px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">getControl: IEditorControl</div></div></div></foreignObject><text x="926" y="484" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
getControl: IEditorControl
|
||||
</text></switch><switch><a transform="translate(0 -5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10" x="50%" y="100%">
|
||||
Viewer does not support full SVG 1.1
|
||||
</text></a></switch></svg>
|
||||
|
After Width: | Height: | Size: 19 KiB |
@@ -0,0 +1,27 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="762" height="723" viewBox="-0.5 -0.5 762 723"><path d="M481 720V0" fill="none" stroke="#000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path fill="none" pointer-events="all" d="M361 0h60v30h-60z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:58px;height:1px;padding-top:15px;margin-left:362px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font style="font-size:14px">Ext Host</font></div></div></div></foreignObject><text x="391" y="19" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Ext Host
|
||||
</text></switch><path fill="none" pointer-events="all" d="M521 0h60v30h-60z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:58px;height:1px;padding-top:15px;margin-left:522px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font style="font-size:14px">UI</font></div></div></div></foreignObject><text x="551" y="19" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
UI
|
||||
</text></switch><path fill="none" stroke="#000" pointer-events="all" d="M521 220h240v340H521z"/><rect x="541" y="260" width="200" height="220" rx="12" ry="12" fill="none" stroke="#000" pointer-events="all"/><rect x="541" y="500" width="200" height="50" rx="10" ry="10" fill="none" stroke="#000" pointer-events="all"/><path fill="none" pointer-events="all" d="M551 270h120v30H551z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:118px;height:1px;padding-top:285px;margin-left:552px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Notebook Editor</div></div></div></foreignObject><text x="611" y="289" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Notebook Editor
|
||||
</text></switch><path fill="none" pointer-events="all" d="M551 510h90v30h-90z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:88px;height:1px;padding-top:525px;margin-left:552px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Text Editor</div></div></div></foreignObject><text x="596" y="529" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Text Editor
|
||||
</text></switch><path fill="none" pointer-events="all" d="M521 220h120v30H521z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:118px;height:1px;padding-top:235px;margin-left:522px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Interactive Editor</div></div></div></foreignObject><text x="581" y="239" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
Interactive Editor
|
||||
</text></switch><rect x="556" y="100" width="170" height="50" rx="7.5" ry="7.5" fill="none" pointer-events="all"/><path d="M563.5 100c34.5-1.84 64.23-1.44 155 0m-155 0c34.03-.13 67.28 1.13 155 0m0 0c5.45-.6 8.01 1.45 7.5 7.5m-7.5-7.5c6.52-.85 5.37 1.07 7.5 7.5m0 0c1.18 10.63 1.11 22.67 0 35m0-35c-.32 9.91.6 20.03 0 35m0 0c-1.16 3.07-1.33 5.58-7.5 7.5m7.5-7.5c-1.97 2.99-2.95 6.42-7.5 7.5m0 0c-40.75-.5-82.77-.84-155 0m155 0c-38.05-.6-74.83-.25-155 0m0 0c-4.63.43-8.32-3.05-7.5-7.5m7.5 7.5c-3.89 1.49-6.39-2.71-7.5-7.5m0 0c-.14-11.4-1.29-22.34 0-35m0 35c-.22-7.45-.8-14.81 0-35m0 0c-.7-3.99 3.61-5.74 7.5-7.5m-7.5 7.5c-1.43-3.02 1.38-5.88 7.5-7.5" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:168px;height:1px;padding-top:125px;margin-left:557px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">NotebookService</div></div></div></foreignObject><text x="641" y="129" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
NotebookService
|
||||
</text></switch><path d="M641 270V156.37" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m641 151.12 3.5 7-3.5-1.75-3.5 1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="548.5" y="630" width="185" height="50" rx="7.5" ry="7.5" fill="none" pointer-events="all"/><path d="M556 630c35.38 2.66 69.94-.55 170 0m-170 0c62.15-1.71 122.27-2.02 170 0m0 0c6.86.46 5.77.7 7.5 7.5M726 630c6.91.28 7.3 4.53 7.5 7.5m0 0c.63 12.35-.31 23.58 0 35m0-35c.94 8.54-.65 17.38 0 35m0 0c.04 3.88-4.36 6.14-7.5 7.5m7.5-7.5c-.75 3.12-1.08 8.04-7.5 7.5m0 0c-51.98-1-103.38-1.29-170 0m170 0c-45.45.65-93.3-.29-170 0m0 0c-4.4-.15-8.67-1.99-7.5-7.5m7.5 7.5c-4.83 1.46-6.67-2.52-7.5-7.5m0 0c-1.39-11.04 1.42-19.55 0-35m0 35c.51-13.52.37-24.86 0-35m0 0c.17-4 .51-8.35 7.5-7.5m-7.5 7.5c1.93-7.17 3.41-5.94 7.5-7.5" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:183px;height:1px;padding-top:655px;margin-left:550px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">TextModelResolverService</div></div></div></foreignObject><text x="641" y="659" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
TextModelResolverService
|
||||
</text></switch><path d="M641 525v98.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m641 628.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="221" y="100" width="160" height="50" rx="7.5" ry="7.5" fill="none" pointer-events="all"/><path d="M228.5 100c31.82-.17 62.73 1.02 145 0m-145 0c43.41.1 87.55.23 145 0m0 0c4.27 1.51 7.52 3.96 7.5 7.5m-7.5-7.5c2.71 1.4 9.23 3.39 7.5 7.5m0 0c-.62 14.08 1.56 24.49 0 35m0-35c.2 9.17.11 16.73 0 35m0 0c1.23 4.68-3.4 6.7-7.5 7.5m7.5-7.5c.47 3.25-3.8 9.66-7.5 7.5m0 0c-46.96-1.4-95.49-1.66-145 0m145 0c-43.62-.04-89.3-.27-145 0m0 0c-4.17-.72-9.02-.94-7.5-7.5m7.5 7.5c-5.77 1.42-6.95-2.33-7.5-7.5m0 0c1.36-10.68.14-16.76 0-35m0 35c-.76-10.59-.47-22.9 0-35m0 0c1.04-4.01 1.4-6.97 7.5-7.5m-7.5 7.5c.69-6.71.84-5.99 7.5-7.5" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:158px;height:1px;padding-top:125px;margin-left:222px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">ExthostNotebook</div></div></div></foreignObject><text x="301" y="129" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
ExthostNotebook
|
||||
</text></switch><path d="M556 125H387.37" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m382.12 125 7-3.5-1.75 3.5 1.75 3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="221" y="630" width="160" height="50" rx="7.5" ry="7.5" fill="none" pointer-events="all"/><path d="M228.5 630c29.53 1.17 62.09-1.24 145 0m-145 0c35.68 1.68 72.85.24 145 0m0 0c5.67-1.43 9.28 3.21 7.5 7.5m-7.5-7.5c3.11-2.08 6.56 2.26 7.5 7.5m0 0c-1.17 8.8.14 15.4 0 35m0-35c-.55 7.81.86 16.08 0 35m0 0c-1.58 5.48-2.43 7.26-7.5 7.5m7.5-7.5c1.69 3.37-1.93 6.68-7.5 7.5m0 0c-53.4-1.86-106.51-2.08-145 0m145 0c-48.62-.76-96.95-.28-145 0m0 0c-3.95-1.3-9.37-3.88-7.5-7.5m7.5 7.5c-6.71 1.39-7.23-2.13-7.5-7.5m0 0c.11-6.32-1.15-17.97 0-35m0 35c-.03-9.67.7-18.94 0-35m0 0c1.91-4.02 2.3-5.58 7.5-7.5m-7.5 7.5c-.55-6.25 2.87-6.05 7.5-7.5" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:158px;height:1px;padding-top:655px;margin-left:222px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">ExthostEditors</div></div></div></foreignObject><text x="301" y="659" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
ExthostEditors
|
||||
</text></switch><path d="M548.5 655H387.37" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m382.12 655 7-3.5-1.75 3.5 1.75 3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><rect x="1" y="270" width="190" height="160" rx="24" ry="24" fill="none" pointer-events="all"/><path d="M25 270c30.63 1.83 59.5 0 142 0m-142 0c42.38.75 86.97 1.33 142 0m0 0c16.83.74 24 8.14 24 24m-24-24c16.38-.67 22.26 8.48 24 24m0 0c1.07 22.51.31 45.58 0 112m0-112c1.11 42.09 1.75 84.59 0 112m0 0c-1.89 17.72-6.79 22.2-24 24m24-24c1.94 18.12-6.61 25.71-24 24m0 0c-44.49-1.11-91.42-.86-142 0m142 0c-42.12-.11-85.13-.46-142 0m0 0c-16.34-1.91-23.91-7.25-24-24m24 24c-14.71-1.32-22.36-7.72-24-24m0 0c.27-24.53.58-50.59 0-112m0 112c-.11-25.97.64-51.35 0-112m0 0c1.94-15.1 6.11-22.17 24-24M1 294c1.28-16.59 6.38-23.18 24-24" fill="none" stroke="#000" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M21 280h110v30H21z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:295px;margin-left:22px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">ExthostInteractive</div></div></div></foreignObject><text x="76" y="299" font-family="Helvetica" font-size="14" text-anchor="middle">
|
||||
ExthostInteracti...
|
||||
</text></switch><path d="M131 350h160q10 0 10-10V156.37" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m301 151.12 3.5 7-3.5-1.75-3.5 1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M21 335h60v30H21z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe flex-start;width:58px;height:1px;padding-top:350px;margin-left:23px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:left"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">NotebookEditor</div></div></div></foreignObject><text x="23" y="354" font-family="Helvetica" font-size="14">
|
||||
Notebook...
|
||||
</text></switch><path d="M81 385h220q10 0 10 10v228.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m311 628.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M21 370h60v30H21z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe flex-start;width:58px;height:1px;padding-top:385px;margin-left:23px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:left"><div style="display:inline-block;font-size:14px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Input</div></div></div></foreignObject><text x="23" y="389" font-family="Helvetica" font-size="14">
|
||||
Input
|
||||
</text></switch><switch><a transform="translate(0 -5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10" x="50%" y="100%">
|
||||
Viewer does not support full SVG 1.1
|
||||
</text></a></switch></svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 46 KiB |
@@ -0,0 +1,57 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="724" height="1001" viewBox="-0.5 -0.5 724 1001" style="background-color:#fff"><path d="m70 60 40 40-40 40-40-40Z" fill="#FFF" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="M170 110v63.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m170 178.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M120 90h100v20H120z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:100px;margin-left:170px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Render Viewport</div></div></div></foreignObject><text x="170" y="104" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Render Viewport
|
||||
</text></switch><path fill="none" pointer-events="all" d="M10 0h120v20H10z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:10px;margin-left:70px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Notebook List View</div></div></div></foreignObject><text x="70" y="14" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Notebook List View
|
||||
</text></switch><path d="M170 260v73.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m170 338.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="M210 220h183.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m398.88 220-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="m170 180 40 40-40 40-40-40Z" fill="#FFF" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M200 180h110v20H200z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:190px;margin-left:255px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Render Template</div></div></div></foreignObject><text x="255" y="194" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Render Template
|
||||
</text></switch><path d="M170 420v113.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m170 538.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="M210 380h183.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m398.88 380-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="m170 340 40 40-40 40-40-40Z" fill="#FFF" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M200 340h100v20H200z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:350px;margin-left:250px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Render Element</div></div></div></foreignObject><text x="250" y="354" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Render Element
|
||||
</text></switch><path d="m170 540 40 40-40 40-40-40Z" fill="#FFF" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M210 540h120v20H210z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:1px;height:1px;padding-top:550px;margin-left:270px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:nowrap">Get Dynamic Height</div></div></div></foreignObject><text x="270" y="554" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Get Dynamic Height
|
||||
</text></switch><path d="M170 660v-40M80 660h90M80 660V380M80 380h43.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m128.88 380-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" stroke="#000" stroke-dasharray="3 3" pointer-events="all" d="M400 140h280v160H400z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:278px;height:1px;padding-top:220px;margin-left:401px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Create Cell Templates/Parts</div></div></div></foreignObject><text x="540" y="224" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Create Cell Templates/Parts
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M430 250h70v30h-70z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:68px;height:1px;padding-top:265px;margin-left:431px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar</div></div></div></foreignObject><text x="465" y="269" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M510 250h70v30h-70z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:68px;height:1px;padding-top:265px;margin-left:511px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Editor</div></div></div></foreignObject><text x="545" y="269" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Editor
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M590 250h70v30h-70z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:68px;height:1px;padding-top:265px;margin-left:591px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Statusbar</div></div></div></foreignObject><text x="625" y="269" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Statusbar
|
||||
</text></switch><path fill="none" stroke="#000" stroke-dasharray="3 3" pointer-events="all" d="M400 340h280v160H400z"/><path d="M465 390v13.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m465 408.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M420 370h90v20h-90z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:88px;height:1px;padding-top:380px;margin-left:421px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Code Cell</div></div></div></foreignObject><text x="465" y="384" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Code Cell
|
||||
</text></switch><path d="m465 410 15 15-15 15-15-15Z" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M490 415h100v20H490z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:98px;height:1px;padding-top:425px;margin-left:491px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Render Cell Parts</div></div></div></foreignObject><text x="540" y="429" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Render Cell Parts
|
||||
</text></switch><path d="M210 580h183.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m398.88 580-7 3.5 1.75-3.5-1.75-3.5Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" stroke="#000" stroke-dasharray="3 3" pointer-events="all" d="M400 540h280v160H400z"/><path d="M460 600v43.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m460 648.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="m460 560 20 20-20 20-20-20ZM460 650l20 20-20 20-20-20Z" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M480 570h110v20H480z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:580px;margin-left:481px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">CellPart read DOM</div></div></div></foreignObject><text x="535" y="584" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
CellPart read DOM
|
||||
</text></switch><path fill="none" pointer-events="all" d="M490 660h110v20H490z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:670px;margin-left:491px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Update layout info</div></div></div></foreignObject><text x="545" y="674" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Update layout info
|
||||
</text></switch><path d="M240 670h200M240 670v-83.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m240 581.12 3.5 7-3.5-1.75-3.5 1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M490 440h120v32.73H490z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:118px;height:1px;padding-top:456px;margin-left:491px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="550" y="460" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M499 450h131v35.73H499z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:129px;height:1px;padding-top:468px;margin-left:500px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="565" y="471" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M508 460h132v36H508z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:130px;height:1px;padding-top:478px;margin-left:509px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.didRenderCell</div></div></div></foreignObject><text x="574" y="482" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.didRenderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M490 590h110v30H490z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:605px;margin-left:491px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="545" y="609" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M499 600h110v30H499z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:615px;margin-left:500px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="554" y="619" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M508 610h110v30H508z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:108px;height:1px;padding-top:625px;margin-left:509px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font style="font-size:11px">Toolbar.prepareLayout</font></div></div></div></foreignObject><text x="563" y="629" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.prepareLay...
|
||||
</text></switch><path d="M0 740h721.43" fill="none" stroke="#000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path fill="none" stroke="#000" stroke-dasharray="3 3" pointer-events="all" d="M400 790h280v210H400z"/><path d="m460 690-.07 93.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m459.92 788.88-3.49-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="M460 850v33.63" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="stroke"/><path d="m460 888.88-3.5-7 3.5 1.75 3.5-1.75Z" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path d="m460 810 20 20-20 20-20-20Z" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M480 820h120v20H480z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:118px;height:1px;padding-top:830px;margin-left:481px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Cell Layout Change</div></div></div></foreignObject><text x="540" y="834" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Cell Layout Change
|
||||
</text></switch><path d="m460 890 20 20-20 20-20-20Z" fill="none" stroke="#000" stroke-miterlimit="10" pointer-events="all"/><path fill="none" pointer-events="all" d="M480 900h200v20H480z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:198px;height:1px;padding-top:910px;margin-left:481px"><div data-drawio-colors="color: rgb(0, 0, 0);" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#000;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Cell Part updateInternalLayoutNow</div></div></div></foreignObject><text x="580" y="914" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Cell Part updateInternalLayoutNow
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M490 930h170v30H490z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:168px;height:1px;padding-top:945px;margin-left:491px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="575" y="949" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M499 940h171v30H499z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:169px;height:1px;padding-top:955px;margin-left:500px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Toolbar.renderCell</div></div></div></foreignObject><text x="585" y="959" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.renderCell
|
||||
</text></switch><path fill="#60a917" stroke="#2d7600" pointer-events="all" d="M508 950h172v30H508z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:170px;height:1px;padding-top:965px;margin-left:509px"><div data-drawio-colors="color: #ffffff;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#fff;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font style="font-size:11px">Toolbar.updateInternalLayoutNow</font></div></div></div></foreignObject><text x="594" y="969" fill="#fff" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Toolbar.updateInternalLayout...
|
||||
</text></switch><path fill="none" pointer-events="all" d="M605 790h75v20h-75z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:73px;height:1px;padding-top:800px;margin-left:606px"><div data-drawio-colors="color: #00CCCC;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#0cc;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal">Next Frame</div></div></div></foreignObject><text x="643" y="804" fill="#0CC" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
Next Frame
|
||||
</text></switch><path fill="none" pointer-events="all" d="M605 540h75v20h-75z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:73px;height:1px;padding-top:550px;margin-left:606px"><div data-drawio-colors="color: #00CCCC;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#0cc;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font color="#090">DOM Read</font></div></div></div></foreignObject><text x="643" y="554" fill="#0CC" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
DOM Read
|
||||
</text></switch><path fill="none" pointer-events="all" d="M605 340h75v20h-75z"/><switch transform="translate(-.5 -.5)"><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow:visible;text-align:left"><div xmlns="http://www.w3.org/1999/xhtml" style="display:flex;align-items:unsafe center;justify-content:unsafe center;width:73px;height:1px;padding-top:350px;margin-left:606px"><div data-drawio-colors="color: #00CCCC;" style="box-sizing:border-box;font-size:0;text-align:center"><div style="display:inline-block;font-size:12px;font-family:Helvetica;color:#0cc;line-height:1.2;pointer-events:all;white-space:normal;overflow-wrap:normal"><font color="red">DOM Write</font></div></div></div></foreignObject><text x="643" y="354" fill="#0CC" font-family="Helvetica" font-size="12" text-anchor="middle">
|
||||
DOM Write
|
||||
</text></switch><switch><a transform="translate(0 -5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10" x="50%" y="100%">
|
||||
Viewer does not support full SVG 1.1
|
||||
</text></a></switch></svg>
|
||||
|
After Width: | Height: | Size: 29 KiB |
@@ -0,0 +1,246 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
|
||||
# Prevent the script recursing when setting up
|
||||
if [[ -n "$VSCODE_SHELL_INTEGRATION" ]]; then
|
||||
builtin return
|
||||
fi
|
||||
|
||||
VSCODE_SHELL_INTEGRATION=1
|
||||
|
||||
# Run relevant rc/profile only if shell integration has been injected, not when run manually
|
||||
if [ "$VSCODE_INJECTION" == "1" ]; then
|
||||
if [ -z "$VSCODE_SHELL_LOGIN" ]; then
|
||||
. ~/.bashrc
|
||||
else
|
||||
# Imitate -l because --init-file doesn't support it:
|
||||
# run the first of these files that exists
|
||||
if [ -f /etc/profile ]; then
|
||||
. /etc/profile
|
||||
fi
|
||||
# exceute the first that exists
|
||||
if [ -f ~/.bash_profile ]; then
|
||||
. ~/.bash_profile
|
||||
elif [ -f ~/.bash_login ]; then
|
||||
. ~/.bash_login
|
||||
elif [ -f ~/.profile ]; then
|
||||
. ~/.profile
|
||||
fi
|
||||
builtin unset VSCODE_SHELL_LOGIN
|
||||
fi
|
||||
builtin unset VSCODE_INJECTION
|
||||
fi
|
||||
|
||||
if [ -z "$VSCODE_SHELL_INTEGRATION" ]; then
|
||||
builtin return
|
||||
fi
|
||||
|
||||
# The property (P) and command (E) codes embed values which require escaping.
|
||||
# Backslashes are doubled. Non-alphanumeric characters are converted to escaped hex.
|
||||
__vsc_escape_value() {
|
||||
# Process text byte by byte, not by codepoint.
|
||||
builtin local LC_ALL=C str="${1}" i byte token out=''
|
||||
|
||||
for (( i=0; i < "${#str}"; ++i )); do
|
||||
byte="${str:$i:1}"
|
||||
|
||||
# Backslashes must be doubled.
|
||||
if [ "$byte" = "\\" ]; then
|
||||
token="\\\\"
|
||||
# Conservatively pass alphanumerics through.
|
||||
elif [[ "$byte" == [0-9A-Za-z] ]]; then
|
||||
token="$byte"
|
||||
# Hex-encode anything else.
|
||||
# (Importantly including: semicolon, newline, and control chars).
|
||||
else
|
||||
# The printf '0x%02X' "'$byte'" converts the character to a hex integer.
|
||||
# See printf's specification:
|
||||
# > If the leading character is a single-quote or double-quote, the value shall be the numeric value in the
|
||||
# > underlying codeset of the character following the single-quote or double-quote.
|
||||
# However, the result is a sign-extended int, so a high bit like 0xD7 becomes 0xFFF…FD7
|
||||
# We mask that word with 0xFF to get lowest 8 bits, and then encode that byte as "\xD7" per our escaping scheme.
|
||||
builtin printf -v token '\\x%02X' "$(( $(builtin printf '0x%X' "'$byte'") & 0xFF ))"
|
||||
# |________| ^^^ ^^^ ^^^^^^ ^^^^^^^ |______|
|
||||
# | | | | | |
|
||||
# store in `token` -+ | | the hex value -----------+ | |
|
||||
# the '\x…'-prefixed -----+ | of the byte as an integer --------+ |
|
||||
# 0-padded, two hex digits --+ masked to one byte (due to sign extension) -+
|
||||
fi
|
||||
|
||||
out+="$token"
|
||||
done
|
||||
|
||||
builtin printf '%s\n' "${out}"
|
||||
}
|
||||
|
||||
# Send the IsWindows property if the environment looks like Windows
|
||||
if [[ "$(uname -s)" =~ ^CYGWIN*|MINGW*|MSYS* ]]; then
|
||||
builtin printf '\e]633;P;IsWindows=True\a'
|
||||
fi
|
||||
|
||||
# Allow verifying $BASH_COMMAND doesn't have aliases resolved via history when the right HISTCONTROL
|
||||
# configuration is used
|
||||
if [[ "$HISTCONTROL" =~ .*(erasedups|ignoreboth|ignoredups).* ]]; then
|
||||
__vsc_history_verify=0
|
||||
else
|
||||
__vsc_history_verify=1
|
||||
fi
|
||||
|
||||
__vsc_initialized=0
|
||||
__vsc_original_PS1="$PS1"
|
||||
__vsc_original_PS2="$PS2"
|
||||
__vsc_custom_PS1=""
|
||||
__vsc_custom_PS2=""
|
||||
__vsc_in_command_execution="1"
|
||||
__vsc_current_command=""
|
||||
|
||||
__vsc_prompt_start() {
|
||||
builtin printf '\e]633;A\a'
|
||||
}
|
||||
|
||||
__vsc_prompt_end() {
|
||||
builtin printf '\e]633;B\a'
|
||||
}
|
||||
|
||||
__vsc_update_cwd() {
|
||||
builtin printf '\e]633;P;Cwd=%s\a' "$(__vsc_escape_value "$PWD")"
|
||||
}
|
||||
|
||||
__vsc_command_output_start() {
|
||||
builtin printf '\e]633;C\a'
|
||||
builtin printf '\e]633;E;%s\a' "$(__vsc_escape_value "${__vsc_current_command}")"
|
||||
}
|
||||
|
||||
__vsc_continuation_start() {
|
||||
builtin printf '\e]633;F\a'
|
||||
}
|
||||
|
||||
__vsc_continuation_end() {
|
||||
builtin printf '\e]633;G\a'
|
||||
}
|
||||
|
||||
__vsc_command_complete() {
|
||||
if [ "$__vsc_current_command" = "" ]; then
|
||||
builtin printf '\e]633;D\a'
|
||||
else
|
||||
builtin printf '\e]633;D;%s\a' "$__vsc_status"
|
||||
fi
|
||||
__vsc_update_cwd
|
||||
}
|
||||
__vsc_update_prompt() {
|
||||
# in command execution
|
||||
if [ "$__vsc_in_command_execution" = "1" ]; then
|
||||
# Wrap the prompt if it is not yet wrapped, if the PS1 changed this this was last set it
|
||||
# means the user re-exported the PS1 so we should re-wrap it
|
||||
if [[ "$__vsc_custom_PS1" == "" || "$__vsc_custom_PS1" != "$PS1" ]]; then
|
||||
__vsc_original_PS1=$PS1
|
||||
__vsc_custom_PS1="\[$(__vsc_prompt_start)\]$__vsc_original_PS1\[$(__vsc_prompt_end)\]"
|
||||
PS1="$__vsc_custom_PS1"
|
||||
fi
|
||||
if [[ "$__vsc_custom_PS2" == "" || "$__vsc_custom_PS2" != "$PS2" ]]; then
|
||||
__vsc_original_PS2=$PS2
|
||||
__vsc_custom_PS2="\[$(__vsc_continuation_start)\]$__vsc_original_PS2\[$(__vsc_continuation_end)\]"
|
||||
PS2="$__vsc_custom_PS2"
|
||||
fi
|
||||
__vsc_in_command_execution="0"
|
||||
fi
|
||||
}
|
||||
|
||||
__vsc_precmd() {
|
||||
__vsc_command_complete "$__vsc_status"
|
||||
__vsc_current_command=""
|
||||
__vsc_update_prompt
|
||||
}
|
||||
|
||||
__vsc_preexec() {
|
||||
__vsc_initialized=1
|
||||
if [[ ! "$BASH_COMMAND" =~ ^__vsc_prompt* ]]; then
|
||||
# Use history if it's available to verify the command as BASH_COMMAND comes in with aliases
|
||||
# resolved
|
||||
if [ "$__vsc_history_verify" = "1" ]; then
|
||||
__vsc_current_command="$(builtin history 1 | sed 's/ *[0-9]* *//')"
|
||||
else
|
||||
__vsc_current_command=$BASH_COMMAND
|
||||
fi
|
||||
else
|
||||
__vsc_current_command=""
|
||||
fi
|
||||
__vsc_command_output_start
|
||||
}
|
||||
|
||||
# Debug trapping/preexec inspired by starship (ISC)
|
||||
if [[ -n "${bash_preexec_imported:-}" ]]; then
|
||||
__vsc_preexec_only() {
|
||||
if [ "$__vsc_in_command_execution" = "0" ]; then
|
||||
__vsc_in_command_execution="1"
|
||||
__vsc_preexec
|
||||
fi
|
||||
}
|
||||
precmd_functions+=(__vsc_prompt_cmd)
|
||||
preexec_functions+=(__vsc_preexec_only)
|
||||
else
|
||||
__vsc_dbg_trap="$(trap -p DEBUG)"
|
||||
if [[ "$__vsc_dbg_trap" =~ .*\[\[.* ]]; then
|
||||
#HACK - is there a better way to do this?
|
||||
__vsc_dbg_trap=${__vsc_dbg_trap#'trap -- '*}
|
||||
__vsc_dbg_trap=${__vsc_dbg_trap%' DEBUG'}
|
||||
__vsc_dbg_trap=${__vsc_dbg_trap#"'"*}
|
||||
__vsc_dbg_trap=${__vsc_dbg_trap%"'"}
|
||||
else
|
||||
__vsc_dbg_trap="$(trap -p DEBUG | cut -d' ' -f3 | tr -d \')"
|
||||
fi
|
||||
if [[ -z "$__vsc_dbg_trap" ]]; then
|
||||
__vsc_preexec_only() {
|
||||
if [ "$__vsc_in_command_execution" = "0" ]; then
|
||||
__vsc_in_command_execution="1"
|
||||
__vsc_preexec
|
||||
fi
|
||||
}
|
||||
trap '__vsc_preexec_only "$_"' DEBUG
|
||||
elif [[ "$__vsc_dbg_trap" != '__vsc_preexec "$_"' && "$__vsc_dbg_trap" != '__vsc_preexec_all "$_"' ]]; then
|
||||
__vsc_preexec_all() {
|
||||
if [ "$__vsc_in_command_execution" = "0" ]; then
|
||||
__vsc_in_command_execution="1"
|
||||
builtin eval ${__vsc_dbg_trap}
|
||||
__vsc_preexec
|
||||
fi
|
||||
}
|
||||
trap '__vsc_preexec_all "$_"' DEBUG
|
||||
fi
|
||||
fi
|
||||
|
||||
__vsc_update_prompt
|
||||
|
||||
__vsc_restore_exit_code() {
|
||||
return "$1"
|
||||
}
|
||||
|
||||
__vsc_prompt_cmd_original() {
|
||||
__vsc_status="$?"
|
||||
__vsc_restore_exit_code "${__vsc_status}"
|
||||
# Evaluate the original PROMPT_COMMAND similarly to how bash would normally
|
||||
# See https://unix.stackexchange.com/a/672843 for technique
|
||||
for cmd in "${__vsc_original_prompt_command[@]}"; do
|
||||
eval "${cmd:-}"
|
||||
done
|
||||
__vsc_precmd
|
||||
}
|
||||
|
||||
__vsc_prompt_cmd() {
|
||||
__vsc_status="$?"
|
||||
__vsc_precmd
|
||||
}
|
||||
|
||||
# PROMPT_COMMAND arrays and strings seem to be handled the same (handling only the first entry of
|
||||
# the array?)
|
||||
__vsc_original_prompt_command=$PROMPT_COMMAND
|
||||
|
||||
if [[ -z "${bash_preexec_imported:-}" ]]; then
|
||||
if [[ -n "$__vsc_original_prompt_command" && "$__vsc_original_prompt_command" != "__vsc_prompt_cmd" ]]; then
|
||||
PROMPT_COMMAND=__vsc_prompt_cmd_original
|
||||
else
|
||||
PROMPT_COMMAND=__vsc_prompt_cmd
|
||||
fi
|
||||
fi
|
||||
@@ -0,0 +1,16 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
if [[ -f $USER_ZDOTDIR/.zshenv ]]; then
|
||||
VSCODE_ZDOTDIR=$ZDOTDIR
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
|
||||
# prevent recursion
|
||||
if [[ $USER_ZDOTDIR != $VSCODE_ZDOTDIR ]]; then
|
||||
. $USER_ZDOTDIR/.zshenv
|
||||
fi
|
||||
|
||||
USER_ZDOTDIR=$ZDOTDIR
|
||||
ZDOTDIR=$VSCODE_ZDOTDIR
|
||||
fi
|
||||
@@ -0,0 +1,9 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
if [[ $options[norcs] = off && -o "login" && -f $ZDOTDIR/.zlogin ]]; then
|
||||
. $ZDOTDIR/.zlogin
|
||||
fi
|
||||
@@ -0,0 +1,10 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
if [[ $options[norcs] = off && -o "login" && -f $USER_ZDOTDIR/.zprofile ]]; then
|
||||
VSCODE_ZDOTDIR=$ZDOTDIR
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
. $USER_ZDOTDIR/.zprofile
|
||||
ZDOTDIR=$VSCODE_ZDOTDIR
|
||||
fi
|
||||
@@ -0,0 +1,165 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
builtin autoload -Uz add-zsh-hook
|
||||
|
||||
# Prevent the script recursing when setting up
|
||||
if [ -n "$VSCODE_SHELL_INTEGRATION" ]; then
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
builtin return
|
||||
fi
|
||||
|
||||
# This variable allows the shell to both detect that VS Code's shell integration is enabled as well
|
||||
# as disable it by unsetting the variable.
|
||||
VSCODE_SHELL_INTEGRATION=1
|
||||
|
||||
# Only fix up ZDOTDIR if shell integration was injected (not manually installed) and has not been called yet
|
||||
if [[ "$VSCODE_INJECTION" == "1" ]]; then
|
||||
if [[ $options[norcs] = off && -f $USER_ZDOTDIR/.zshrc ]]; then
|
||||
VSCODE_ZDOTDIR=$ZDOTDIR
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
. $USER_ZDOTDIR/.zshrc
|
||||
ZDOTDIR=$VSCODE_ZDOTDIR
|
||||
fi
|
||||
|
||||
if [[ -f $USER_ZDOTDIR/.zsh_history && -z $HISTFILE ]]; then
|
||||
HISTFILE=$USER_ZDOTDIR/.zsh_history
|
||||
fi
|
||||
fi
|
||||
|
||||
# Shell integration was disabled by the shell, exit without warning assuming either the shell has
|
||||
# explicitly disabled shell integration as it's incompatible or it implements the protocol.
|
||||
if [ -z "$VSCODE_SHELL_INTEGRATION" ]; then
|
||||
builtin return
|
||||
fi
|
||||
|
||||
# The property (P) and command (E) codes embed values which require escaping.
|
||||
# Backslashes are doubled. Non-alphanumeric characters are converted to escaped hex.
|
||||
__vsc_escape_value() {
|
||||
builtin emulate -L zsh
|
||||
|
||||
# Process text byte by byte, not by codepoint.
|
||||
builtin local LC_ALL=C str="$1" i byte token out=''
|
||||
|
||||
for (( i = 0; i < ${#str}; ++i )); do
|
||||
byte="${str:$i:1}"
|
||||
|
||||
# Backslashes must be doubled.
|
||||
if [ "$byte" = "\\" ]; then
|
||||
token="\\\\"
|
||||
# Conservatively pass alphanumerics through.
|
||||
elif [[ "$byte" == [0-9A-Za-z] ]]; then
|
||||
token="$byte"
|
||||
# Hex-encode anything else.
|
||||
# (Importantly including: semicolon, newline, and control chars).
|
||||
else
|
||||
token="\\x${(l:2::0:)$(( [##16] #byte ))}"
|
||||
# | | | |/|/ |_____|
|
||||
# | | | | | |
|
||||
# left-pad --+ | | | | +- the byte value of the character
|
||||
# two digits --+ | | +------- in hexadecimal
|
||||
# with '0' -------+ +--------- with no prefix
|
||||
fi
|
||||
|
||||
out+="$token"
|
||||
done
|
||||
|
||||
builtin print -r "$out"
|
||||
}
|
||||
|
||||
__vsc_in_command_execution="1"
|
||||
__vsc_current_command=""
|
||||
|
||||
__vsc_prompt_start() {
|
||||
builtin printf '\e]633;A\a'
|
||||
}
|
||||
|
||||
__vsc_prompt_end() {
|
||||
builtin printf '\e]633;B\a'
|
||||
}
|
||||
|
||||
__vsc_update_cwd() {
|
||||
builtin printf '\e]633;P;Cwd=%s\a' "$(__vsc_escape_value "${PWD}")"
|
||||
}
|
||||
|
||||
__vsc_command_output_start() {
|
||||
builtin printf '\e]633;C\a'
|
||||
builtin printf '\e]633;E;%s\a' "$(__vsc_escape_value "${__vsc_current_command}")"
|
||||
}
|
||||
|
||||
__vsc_continuation_start() {
|
||||
builtin printf '\e]633;F\a'
|
||||
}
|
||||
|
||||
__vsc_continuation_end() {
|
||||
builtin printf '\e]633;G\a'
|
||||
}
|
||||
|
||||
__vsc_right_prompt_start() {
|
||||
builtin printf '\e]633;H\a'
|
||||
}
|
||||
|
||||
__vsc_right_prompt_end() {
|
||||
builtin printf '\e]633;I\a'
|
||||
}
|
||||
|
||||
__vsc_command_complete() {
|
||||
if [[ "$__vsc_current_command" == "" ]]; then
|
||||
builtin printf '\e]633;D\a'
|
||||
else
|
||||
builtin printf '\e]633;D;%s\a' "$__vsc_status"
|
||||
fi
|
||||
__vsc_update_cwd
|
||||
}
|
||||
|
||||
if [[ -o NOUNSET ]]; then
|
||||
if [ -z "${RPROMPT-}" ]; then
|
||||
RPROMPT=""
|
||||
fi
|
||||
fi
|
||||
__vsc_update_prompt() {
|
||||
__vsc_prior_prompt="$PS1"
|
||||
__vsc_prior_prompt2="$PS2"
|
||||
__vsc_in_command_execution=""
|
||||
PS1="%{$(__vsc_prompt_start)%}$PS1%{$(__vsc_prompt_end)%}"
|
||||
PS2="%{$(__vsc_continuation_start)%}$PS2%{$(__vsc_continuation_end)%}"
|
||||
if [ -n "$RPROMPT" ]; then
|
||||
__vsc_prior_rprompt="$RPROMPT"
|
||||
RPROMPT="%{$(__vsc_right_prompt_start)%}$RPROMPT%{$(__vsc_right_prompt_end)%}"
|
||||
fi
|
||||
}
|
||||
|
||||
__vsc_precmd() {
|
||||
local __vsc_status="$?"
|
||||
if [ -z "${__vsc_in_command_execution-}" ]; then
|
||||
# not in command execution
|
||||
__vsc_command_output_start
|
||||
fi
|
||||
|
||||
__vsc_command_complete "$__vsc_status"
|
||||
__vsc_current_command=""
|
||||
|
||||
# in command execution
|
||||
if [ -n "$__vsc_in_command_execution" ]; then
|
||||
# non null
|
||||
__vsc_update_prompt
|
||||
fi
|
||||
}
|
||||
|
||||
__vsc_preexec() {
|
||||
PS1="$__vsc_prior_prompt"
|
||||
PS2="$__vsc_prior_prompt2"
|
||||
if [ -n "$RPROMPT" ]; then
|
||||
RPROMPT="$__vsc_prior_rprompt"
|
||||
fi
|
||||
__vsc_in_command_execution="1"
|
||||
__vsc_current_command=$1
|
||||
__vsc_command_output_start
|
||||
}
|
||||
add-zsh-hook precmd __vsc_precmd
|
||||
add-zsh-hook preexec __vsc_preexec
|
||||
|
||||
if [[ $options[login] = off && $USER_ZDOTDIR != $VSCODE_ZDOTDIR ]]; then
|
||||
ZDOTDIR=$USER_ZDOTDIR
|
||||
fi
|
||||
@@ -0,0 +1,130 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
#
|
||||
# Visual Studio Code terminal integration for fish
|
||||
#
|
||||
# Manual installation:
|
||||
#
|
||||
# (1) Add the following to the end of `$__fish_config_dir/config.fish`:
|
||||
#
|
||||
# string match -q "$TERM_PROGRAM" "vscode"
|
||||
# and . (code --locate-shell-integration-path fish)
|
||||
#
|
||||
# (2) Restart fish.
|
||||
|
||||
# Don't run in scripts, other terminals, or more than once per session.
|
||||
status is-interactive
|
||||
and string match --quiet "$TERM_PROGRAM" "vscode"
|
||||
and ! set --query VSCODE_SHELL_INTEGRATION
|
||||
or exit
|
||||
|
||||
set --global VSCODE_SHELL_INTEGRATION 1
|
||||
|
||||
# Helper function
|
||||
function __vsc_esc -d "Emit escape sequences for VS Code shell integration"
|
||||
builtin printf "\e]633;%s\a" (string join ";" $argv)
|
||||
end
|
||||
|
||||
# Sent right before executing an interactive command.
|
||||
# Marks the beginning of command output.
|
||||
function __vsc_cmd_executed --on-event fish_preexec
|
||||
__vsc_esc C
|
||||
__vsc_esc E (__vsc_escape_value "$argv")
|
||||
|
||||
# Creates a marker to indicate a command was run.
|
||||
set --global _vsc_has_cmd
|
||||
end
|
||||
|
||||
|
||||
# Escape a value for use in the 'P' ("Property") or 'E' ("Command Line") sequences.
|
||||
# Backslashes are doubled and non-alphanumeric characters are hex encoded.
|
||||
function __vsc_escape_value
|
||||
# Replace all non-alnum characters with %XX hex form.
|
||||
string escape --style=url "$argv" \
|
||||
# The characters [-./_~] are not encoded in the builtin url escaping, despite not being alphanumeric.
|
||||
# See: https://github.com/fish-shell/fish-shell/blob/f82537bcdcb32f85a530395f00e7be1aa9afc592/src/common.cpp#L738
|
||||
# For consistency, also encode those characters.
|
||||
| string replace --all '-' '%2D' \
|
||||
| string replace --all '.' '%2E' \
|
||||
| string replace --all '/' '%2F' \
|
||||
| string replace --all '_' '%5F' \
|
||||
| string replace --all '~' '%7E' \
|
||||
# Now everything is either alphanumeric [0-9A-Za-z] or %XX escapes.
|
||||
# Change the hex escape representation from '%' to '\x'. (e.g. ' ' → '%20' → '\x20').
|
||||
# Note that all '%' characters are escapes: literal '%' will already have been encoded.
|
||||
| string replace --all '%' '\\x' \
|
||||
# For readability, prefer to represent literal backslashes with doubling. ('\' → '%5C' → '\x5C' → '\\').
|
||||
| string replace --all --ignore-case '%5C' '\\\\' \
|
||||
;
|
||||
end
|
||||
|
||||
# Sent right after an interactive command has finished executing.
|
||||
# Marks the end of command output.
|
||||
function __vsc_cmd_finished --on-event fish_postexec
|
||||
__vsc_esc D $status
|
||||
end
|
||||
|
||||
# Sent when a command line is cleared or reset, but no command was run.
|
||||
# Marks the cleared line with neither success nor failure.
|
||||
function __vsc_cmd_clear --on-event fish_cancel
|
||||
__vsc_esc D
|
||||
end
|
||||
|
||||
# Sent whenever a new fish prompt is about to be displayed.
|
||||
# Updates the current working directory.
|
||||
function __vsc_update_cwd --on-event fish_prompt
|
||||
__vsc_esc P "Cwd=$(__vsc_escape_value "$PWD")"
|
||||
|
||||
# If a command marker exists, remove it.
|
||||
# Otherwise, the commandline is empty and no command was run.
|
||||
if set --query _vsc_has_cmd
|
||||
set --erase _vsc_has_cmd
|
||||
else
|
||||
__vsc_cmd_clear
|
||||
end
|
||||
end
|
||||
|
||||
# Sent at the start of the prompt.
|
||||
# Marks the beginning of the prompt (and, implicitly, a new line).
|
||||
function __vsc_fish_prompt_start
|
||||
__vsc_esc A
|
||||
end
|
||||
|
||||
# Sent at the end of the prompt.
|
||||
# Marks the beginning of the user's command input.
|
||||
function __vsc_fish_cmd_start
|
||||
__vsc_esc B
|
||||
end
|
||||
|
||||
function __vsc_fish_has_mode_prompt -d "Returns true if fish_mode_prompt is defined and not empty"
|
||||
functions fish_mode_prompt | string match -rvq '^ *(#|function |end$|$)'
|
||||
end
|
||||
|
||||
# Preserve the user's existing prompt, to wrap in our escape sequences.
|
||||
functions --copy fish_prompt __vsc_fish_prompt
|
||||
|
||||
# Preserve and wrap fish_mode_prompt (which appears to the left of the regular
|
||||
# prompt), but only if it's not defined as an empty function (which is the
|
||||
# officially documented way to disable that feature).
|
||||
if __vsc_fish_has_mode_prompt
|
||||
functions --copy fish_mode_prompt __vsc_fish_mode_prompt
|
||||
|
||||
function fish_mode_prompt
|
||||
__vsc_fish_prompt_start
|
||||
__vsc_fish_mode_prompt
|
||||
end
|
||||
|
||||
function fish_prompt
|
||||
__vsc_fish_prompt
|
||||
__vsc_fish_cmd_start
|
||||
end
|
||||
else
|
||||
# No fish_mode_prompt, so put everything in fish_prompt.
|
||||
function fish_prompt
|
||||
__vsc_fish_prompt_start
|
||||
__vsc_fish_prompt
|
||||
__vsc_fish_cmd_start
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,114 @@
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# ---------------------------------------------------------------------------------------------
|
||||
|
||||
# Prevent installing more than once per session
|
||||
if (Test-Path variable:global:__VSCodeOriginalPrompt) {
|
||||
return;
|
||||
}
|
||||
|
||||
# Disable shell integration when the language mode is restricted
|
||||
if ($ExecutionContext.SessionState.LanguageMode -ne "FullLanguage") {
|
||||
return;
|
||||
}
|
||||
|
||||
$Global:__VSCodeOriginalPrompt = $function:Prompt
|
||||
|
||||
$Global:__LastHistoryId = -1
|
||||
|
||||
function Global:__VSCode-Escape-Value([string]$value) {
|
||||
# NOTE: In PowerShell v6.1+, this can be written `$value -replace '…', { … }` instead of `[regex]::Replace`.
|
||||
# Replace any non-alphanumeric characters.
|
||||
[regex]::Replace($value, '[^a-zA-Z0-9]', { param($match)
|
||||
# Backslashes must be doubled.
|
||||
if ($match.Value -eq '\') {
|
||||
'\\'
|
||||
} else {
|
||||
# Any other characters are encoded as their UTF-8 hex values.
|
||||
-Join (
|
||||
[System.Text.Encoding]::UTF8.GetBytes($match.Value)
|
||||
| ForEach-Object { '\x{0:x2}' -f $_ }
|
||||
)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
function Global:Prompt() {
|
||||
$FakeCode = [int]!$global:?
|
||||
$LastHistoryEntry = Get-History -Count 1
|
||||
# Skip finishing the command if the first command has not yet started
|
||||
if ($Global:__LastHistoryId -ne -1) {
|
||||
if ($LastHistoryEntry.Id -eq $Global:__LastHistoryId) {
|
||||
# Don't provide a command line or exit code if there was no history entry (eg. ctrl+c, enter on no command)
|
||||
$Result = "$([char]0x1b)]633;E`a"
|
||||
$Result += "$([char]0x1b)]633;D`a"
|
||||
} else {
|
||||
# Command finished command line
|
||||
# OSC 633 ; A ; <CommandLine?> ST
|
||||
$Result = "$([char]0x1b)]633;E;"
|
||||
# Sanitize the command line to ensure it can get transferred to the terminal and can be parsed
|
||||
# correctly. This isn't entirely safe but good for most cases, it's important for the Pt parameter
|
||||
# to only be composed of _printable_ characters as per the spec.
|
||||
if ($LastHistoryEntry.CommandLine) {
|
||||
$CommandLine = $LastHistoryEntry.CommandLine
|
||||
} else {
|
||||
$CommandLine = ""
|
||||
}
|
||||
$Result += $(__VSCode-Escape-Value $CommandLine)
|
||||
$Result += "`a"
|
||||
# Command finished exit code
|
||||
# OSC 633 ; D [; <ExitCode>] ST
|
||||
$Result += "$([char]0x1b)]633;D;$FakeCode`a"
|
||||
}
|
||||
}
|
||||
# Prompt started
|
||||
# OSC 633 ; A ST
|
||||
$Result += "$([char]0x1b)]633;A`a"
|
||||
# Current working directory
|
||||
# OSC 633 ; <Property>=<Value> ST
|
||||
$Result += if($pwd.Provider.Name -eq 'FileSystem'){"$([char]0x1b)]633;P;Cwd=$(__VSCode-Escape-Value $pwd.ProviderPath)`a"}
|
||||
# Before running the original prompt, put $? back to what it was:
|
||||
if ($FakeCode -ne 0) {
|
||||
Write-Error "failure" -ea ignore
|
||||
}
|
||||
# Run the original prompt
|
||||
$Result += $Global:__VSCodeOriginalPrompt.Invoke()
|
||||
# Write command started
|
||||
$Result += "$([char]0x1b)]633;B`a"
|
||||
$Global:__LastHistoryId = $LastHistoryEntry.Id
|
||||
return $Result
|
||||
}
|
||||
|
||||
# Only send the command executed sequence when PSReadLine is loaded, if not shell integration should
|
||||
# still work thanks to the command line sequence
|
||||
if (Get-Module -Name PSReadLine) {
|
||||
$__VSCodeOriginalPSConsoleHostReadLine = $function:PSConsoleHostReadLine
|
||||
function Global:PSConsoleHostReadLine {
|
||||
$tmp = $__VSCodeOriginalPSConsoleHostReadLine.Invoke()
|
||||
# Write command executed sequence directly to Console to avoid the new line from Write-Host
|
||||
[Console]::Write("$([char]0x1b)]633;C`a")
|
||||
$tmp
|
||||
}
|
||||
}
|
||||
|
||||
# Set IsWindows property
|
||||
[Console]::Write("$([char]0x1b)]633;P;IsWindows=$($IsWindows)`a")
|
||||
|
||||
# Set always on key handlers which map to default VS Code keybindings
|
||||
function Set-MappedKeyHandler {
|
||||
param ([string[]] $Chord, [string[]]$Sequence)
|
||||
$Handler = $(Get-PSReadLineKeyHandler -Chord $Chord | Select-Object -First 1)
|
||||
if ($Handler) {
|
||||
Set-PSReadLineKeyHandler -Chord $Sequence -Function $Handler.Function
|
||||
}
|
||||
}
|
||||
|
||||
function Set-MappedKeyHandlers {
|
||||
Set-MappedKeyHandler -Chord Ctrl+Spacebar -Sequence 'F12,a'
|
||||
Set-MappedKeyHandler -Chord Alt+Spacebar -Sequence 'F12,b'
|
||||
Set-MappedKeyHandler -Chord Shift+Enter -Sequence 'F12,c'
|
||||
Set-MappedKeyHandler -Chord Shift+End -Sequence 'F12,d'
|
||||
}
|
||||
|
||||
Set-MappedKeyHandlers
|
||||
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Fake</title>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 7.1 KiB |