Skip to content

Commit 6f388e7

Browse files
authored
Merge branch 'master' into master
2 parents c4acf86 + e237589 commit 6f388e7

File tree

9 files changed

+254
-372
lines changed

9 files changed

+254
-372
lines changed

.github/ISSUE_TEMPLATE/config.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Question
4+
url: https://github.com/cdr/code-server/discussions/new?category_id=22503114
5+
about: Ask the community for help

.github/issue_template.md

-4
This file was deleted.

ci/dev/vscode.patch

+236-362
Large diffs are not rendered by default.

doc/FAQ.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@
3030

3131
## Questions?
3232

33-
Please file all questions and support requests at https://www.reddit.com/r/codeserver/.
34-
35-
The issue tracker is **only** for bugs and features.
33+
Please file all questions and support requests at https://github.com/cdr/code-server/discussions.
3634

3735
## How can I reuse my VS Code configuration?
3836

lib/vscode

Submodule vscode updated 976 files

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-server",
33
"license": "MIT",
4-
"version": "3.4.1",
4+
"version": "3.5.0",
55
"description": "Run VS Code on a remote server.",
66
"homepage": "https://github.com/cdr/code-server",
77
"bugs": {

src/browser/pages/vscode.html

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<!DOCTYPE html>
33
<html>
44
<head>
5+
<script>
6+
globalThis.MonacoPerformanceMarks = globalThis.MonacoPerformanceMarks || []
7+
globalThis.MonacoPerformanceMarks.push("renderer/started", Date.now())
8+
</script>
9+
510
<meta charset="utf-8" />
611

712
<meta
@@ -46,6 +51,9 @@
4651
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/dist/pages/vscode.js"></script>
4752
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/dist/register.js"></script>
4853
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/loader.js"></script>
54+
<script>
55+
globalThis.MonacoPerformanceMarks.push("willLoadWorkbenchMain", Date.now())
56+
</script>
4957
<!-- PROD_ONLY
5058
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/workbench/workbench.web.api.nls.js"></script>
5159
<script data-cfasync="false" src="{{CS_STATIC_BASE}}/lib/vscode/out/vs/workbench/workbench.web.api.js"></script>

src/browser/pages/vscode.ts

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ try {
3232

3333
;(self.require as any) = {
3434
baseUrl: `${options.csStaticBase}/lib/vscode/out`,
35+
recordStats: true,
3536
paths: {
3637
"vscode-textmate": `../node_modules/vscode-textmate/release/main`,
3738
"vscode-oniguruma": `../node_modules/vscode-oniguruma/release/main`,

src/node/entry.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { promises as fs } from "fs"
44
import http from "http"
55
import * as path from "path"
66
import { CliMessage, OpenCommandPipeArgs } from "../../lib/vscode/src/vs/server/ipc"
7+
import { plural } from "../common/util"
78
import { LoginHttpProvider } from "./app/login"
89
import { ProxyHttpProvider } from "./app/proxy"
910
import { StaticHttpProvider } from "./app/static"
@@ -14,7 +15,6 @@ import { AuthType, HttpServer, HttpServerOptions } from "./http"
1415
import { loadPlugins } from "./plugin"
1516
import { generateCertificate, hash, humanPath, open } from "./util"
1617
import { ipcMain, wrap } from "./wrapper"
17-
import { plural } from "../common/util"
1818

1919
process.on("uncaughtException", (error) => {
2020
logger.error(`Uncaught exception: ${error.message}`)

0 commit comments

Comments
 (0)