deploy: current vibn theia state
Made-with: Cursor
This commit is contained in:
26
.vscode/c_cpp_properties.json
vendored
Normal file
26
.vscode/c_cpp_properties.json
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "@theia/electron (Linux)",
|
||||
"compileCommands": "${workspaceFolder}/dev-packages/electron/compile_commands.json",
|
||||
"defines": [],
|
||||
"cStandard": "c89",
|
||||
"intelliSenseMode": "${default}"
|
||||
},
|
||||
{
|
||||
"name": "@theia/electron Debug (Windows)",
|
||||
"compileCommands": "${workspaceFolder}\\dev-packages\\electron\\Debug\\compile_commands.json",
|
||||
"defines": [],
|
||||
"cStandard": "c89",
|
||||
"intelliSenseMode": "${default}"
|
||||
},
|
||||
{
|
||||
"name": "@theia/electron Release (Windows)",
|
||||
"compileCommands": "${workspaceFolder}\\dev-packages\\electron\\Release\\compile_commands.json",
|
||||
"defines": [],
|
||||
"cStandard": "c89",
|
||||
"intelliSenseMode": "${default}"
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
||||
11
.vscode/extensions.json
vendored
Normal file
11
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||
// List of extensions which should be recommended for users of this workspace.
|
||||
"recommendations": [
|
||||
"dbaeumer.vscode-eslint",
|
||||
"DavidAnson.vscode-markdownlint"
|
||||
],
|
||||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
|
||||
"unwantedRecommendations": []
|
||||
}
|
||||
191
.vscode/launch.json
vendored
Normal file
191
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,191 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible Node.js debug attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Playwright Tests",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/node_modules/@playwright/test/cli.js",
|
||||
"cwd": "${workspaceFolder}/examples/playwright",
|
||||
"args": [
|
||||
"test",
|
||||
"--config=./configs/playwright.config.ts"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Attach by Process ID",
|
||||
"processId": "${command:PickProcess}"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch with Node.js",
|
||||
"program": "${file}"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch Electron Backend",
|
||||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
||||
"windows": {
|
||||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
||||
},
|
||||
"cwd": "${workspaceFolder}/examples/electron",
|
||||
"protocol": "inspector",
|
||||
"args": [
|
||||
".",
|
||||
"--log-level=debug",
|
||||
"--hostname=localhost",
|
||||
"--no-cluster",
|
||||
"--app-project-path=${workspaceFolder}/examples/electron",
|
||||
"--remote-debugging-port=9222",
|
||||
"--no-app-auto-install",
|
||||
"--plugins=local-dir:../../plugins",
|
||||
"--ovsx-router-config=${workspaceFolder}/examples/ovsx-router-config.json"
|
||||
],
|
||||
"env": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/examples/electron/lib/backend/electron-main.js",
|
||||
"${workspaceFolder}/examples/electron/lib/backend/main.js",
|
||||
"${workspaceFolder}/examples/electron/lib/**/*.js",
|
||||
"${workspaceFolder}/examples/api-samples/lib/**/*.js",
|
||||
"${workspaceFolder}/packages/*/lib/**/*.js",
|
||||
"${workspaceFolder}/dev-packages/*/lib/**/*.js"
|
||||
],
|
||||
"smartStep": true,
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"outputCapture": "std"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch Browser Backend",
|
||||
"program": "${workspaceFolder}/examples/browser/lib/backend/main.js",
|
||||
"cwd": "${workspaceFolder}/examples/browser",
|
||||
"args": [
|
||||
"--hostname=0.0.0.0",
|
||||
"--port=3000",
|
||||
"--no-cluster",
|
||||
"--app-project-path=${workspaceFolder}/examples/browser",
|
||||
"--plugins=local-dir:../../plugins",
|
||||
"--hosted-plugin-inspect=9339",
|
||||
"--ovsx-router-config=${workspaceFolder}/examples/ovsx-router-config.json"
|
||||
],
|
||||
"env": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/examples/browser/src-gen/backend/*.js",
|
||||
"${workspaceFolder}/examples/browser/lib/**/*.js",
|
||||
"${workspaceFolder}/examples/api-samples/lib/**/*.js",
|
||||
"${workspaceFolder}/packages/*/lib/**/*.js",
|
||||
"${workspaceFolder}/dev-packages/*/lib/**/*.js"
|
||||
],
|
||||
"smartStep": true,
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"outputCapture": "std"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Attach to Plugin Host",
|
||||
"port": 9339,
|
||||
"timeout": 60000,
|
||||
"stopOnEntry": false,
|
||||
"smartStep": true,
|
||||
"sourceMaps": true,
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/packages/plugin-ext/lib/**/*.js",
|
||||
"${workspaceFolder}/plugins/**/*.js"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"protocol": "inspector",
|
||||
"name": "Run Mocha Tests",
|
||||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
|
||||
"args": [
|
||||
"--no-timeouts",
|
||||
"--colors",
|
||||
"--config",
|
||||
"${workspaceFolder}/configs/mocharc.yml",
|
||||
"**/${fileBasenameNoExtension}.js"
|
||||
],
|
||||
"env": {
|
||||
"TS_NODE_PROJECT": "${workspaceFolder}/tsconfig.json"
|
||||
},
|
||||
"sourceMaps": true,
|
||||
"smartStep": true,
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"outputCapture": "std"
|
||||
},
|
||||
{
|
||||
"name": "Launch Browser Frontend",
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"url": "http://localhost:3000/",
|
||||
"webRoot": "${workspaceFolder}/examples/browser"
|
||||
},
|
||||
{
|
||||
"type": "chrome",
|
||||
"request": "attach",
|
||||
"name": "Attach to Electron Frontend",
|
||||
"port": 9222,
|
||||
"webRoot": "${workspaceFolder}/examples/electron"
|
||||
},
|
||||
{
|
||||
"name": "Launch VS Code Tests",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"args": [
|
||||
"${workspaceFolder}/examples/browser/lib/backend/main.js",
|
||||
"${workspaceFolder}/plugins/vscode-api-tests/testWorkspace",
|
||||
"--port",
|
||||
"3030",
|
||||
"--hostname",
|
||||
"0.0.0.0",
|
||||
"--extensionTestsPath=${workspaceFolder}/plugins/vscode-api-tests/out/singlefolder-tests",
|
||||
"--hosted-plugin-inspect=9339"
|
||||
],
|
||||
"env": {
|
||||
"THEIA_DEFAULT_PLUGINS": "local-dir:${workspaceFolder}/plugins"
|
||||
},
|
||||
"stopOnEntry": false,
|
||||
"sourceMaps": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/../.js"
|
||||
]
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Launch Electron Backend & Frontend",
|
||||
"configurations": [
|
||||
"Launch Electron Backend",
|
||||
"Attach to Plugin Host",
|
||||
"Attach to Electron Frontend"
|
||||
],
|
||||
"stopAll": true
|
||||
},
|
||||
{
|
||||
"name": "Launch Browser Backend & Frontend",
|
||||
"configurations": [
|
||||
"Launch Browser Backend",
|
||||
"Attach to Plugin Host",
|
||||
"Launch Browser Frontend"
|
||||
],
|
||||
"stopAll": true
|
||||
}
|
||||
]
|
||||
}
|
||||
75
.vscode/settings.json
vendored
Normal file
75
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,75 @@
|
||||
// If one would like to add/remove/modify user preferences without modifying the content of the
|
||||
// workspace settings file, then one would need to modify the `settings.json` under here:
|
||||
// - Windows: %APPDATA%\Code\User\settings.json
|
||||
// - Linux: $HOME/.config/Code/User/settings.json
|
||||
// - Mac: $HOME/Library/Application Support/Code/User/settings.json
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"search.exclude": {
|
||||
"**/node_modules": true,
|
||||
"**/lib": true,
|
||||
"**/coverage": true
|
||||
},
|
||||
"lcov.path": [
|
||||
"packages/core/coverage/lcov.info",
|
||||
"packages/editor/coverage/lcov.info",
|
||||
"packages/filesystem/coverage/lcov.info",
|
||||
"packages/go/coverage/lcov.info",
|
||||
"packages/java/coverage/lcov.info",
|
||||
"packages/languages/coverage/lcov.info",
|
||||
"packages/monaco/coverage/lcov.info",
|
||||
"packages/navigator/coverage/lcov.info",
|
||||
"packages/keymaps/coverage/lcov.info",
|
||||
"packages/preferences/coverage/lcov.info",
|
||||
"packages/process/coverage/lcov.info",
|
||||
"packages/python/coverage/lcov.info",
|
||||
"packages/terminal/coverage/lcov.info",
|
||||
"packages/workspace/coverage/lcov.info",
|
||||
"packages/task/coverage/lcov.info",
|
||||
"packages/monaco-textmate/coverage/lcov.info"
|
||||
],
|
||||
"lcov.watch": [
|
||||
{
|
||||
"pattern": "**/*.spec.ts",
|
||||
"command": "npm run test:theia"
|
||||
}
|
||||
],
|
||||
"editor.insertSpaces": true,
|
||||
"[typescript]": {
|
||||
"editor.tabSize": 4,
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||
},
|
||||
"[javascript]": {
|
||||
"editor.tabSize": 4,
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.tabSize": 2,
|
||||
"editor.defaultFormatter": "vscode.json-language-features",
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.tabSize": 2,
|
||||
"editor.defaultFormatter": "vscode.json-language-features",
|
||||
},
|
||||
"[markdown]": {
|
||||
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
|
||||
},
|
||||
"typescript.tsdk": "node_modules/typescript/lib",
|
||||
"files.insertFinalNewline": true,
|
||||
"clang-format.language.typescript.enable": false,
|
||||
// ESLint `max-len` rule.
|
||||
"editor.rulers": [
|
||||
180
|
||||
],
|
||||
"typescript.preferences.quoteStyle": "single",
|
||||
"[typescriptreact]": {
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||
"typescript.preferences.quoteStyle": "single",
|
||||
"editor.tabSize": 4,
|
||||
},
|
||||
"markdownlint.config": {
|
||||
"MD032": false, // don't require blank line around lists
|
||||
"MD033": false, // allow inline html
|
||||
"MD041": false // don't require h1 in first line
|
||||
},
|
||||
}
|
||||
20
.vscode/theia.code-snippets
vendored
Normal file
20
.vscode/theia.code-snippets
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"Copyright-JS/JSX/TS/TSX": {
|
||||
"prefix": [
|
||||
"header",
|
||||
"copyright"
|
||||
],
|
||||
"body": "// *****************************************************************************\n// Copyright (C) $CURRENT_YEAR ${YourCompany} and others.\n//\n// This program and the accompanying materials are made available under the\n// terms of the Eclipse Public License v. 2.0 which is available at\n// http://www.eclipse.org/legal/epl-2.0.\n//\n// This Source Code may also be made available under the following Secondary\n// Licenses when the conditions for such availability set forth in the Eclipse\n// Public License v. 2.0 are satisfied: GNU General Public License, version 2\n// with the GNU Classpath Exception which is available at\n// https://www.gnu.org/software/classpath/license.html.\n//\n// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0\n// *****************************************************************************\n$0",
|
||||
"description": "Adds the copyright...",
|
||||
"scope": "javascript,javascriptreact,typescript,typescriptreact"
|
||||
},
|
||||
"Copyright-CSS": {
|
||||
"prefix": [
|
||||
"header",
|
||||
"copyright"
|
||||
],
|
||||
"body": "/********************************************************************************\n * Copyright (C) $CURRENT_YEAR ${YourCompany} and others.\n *\n * This program and the accompanying materials are made available under the\n * terms of the Eclipse Public License v. 2.0 which is available at\n * http://www.eclipse.org/legal/epl-2.0.\n *\n * This Source Code may also be made available under the following Secondary\n * Licenses when the conditions for such availability set forth in the Eclipse\n * Public License v. 2.0 are satisfied: GNU General Public License, version 2\n * with the GNU Classpath Exception which is available at\n * https://www.gnu.org/software/classpath/license.html.\n *\n * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0\n ********************************************************************************/\n\n$0",
|
||||
"description": "Adds the copyright...",
|
||||
"scope": "css"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user