Initial public release of Warp.
Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"GraphQL.vscode-graphql",
|
||||
"GraphQL.vscode-graphql-syntax",
|
||||
"ms-vscode.PowerShell",
|
||||
"rust-lang.rust-analyzer",
|
||||
"tamasfe.even-better-toml",
|
||||
"vadimcn.vscode-lldb",
|
||||
],
|
||||
}
|
||||
Vendored
+151
@@ -0,0 +1,151 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "attach",
|
||||
"name": "Debug already-running process",
|
||||
"pid": "${command:pickMyProcess}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable 'warp'",
|
||||
"cargo": {
|
||||
"args": ["build", "--bin=warp"],
|
||||
"filter": {
|
||||
"name": "warp",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug MacOS executable",
|
||||
"preLaunchTask": "build_warplocal",
|
||||
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable 'warp' with fast_dev",
|
||||
"cargo": {
|
||||
"args": ["build", "--bin=warp", "--features=fast_dev"],
|
||||
"filter": {
|
||||
"name": "warp",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug executable 'warp' with with_local_server",
|
||||
"cargo": {
|
||||
"args": ["build", "--bin=warp", "--features=with_local_server"],
|
||||
"filter": {
|
||||
"name": "warp",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug MacOS executable local session sharing server",
|
||||
"preLaunchTask": "build_warplocal_localsessionsharing",
|
||||
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug MacOS executable with fast_dev",
|
||||
"env": {
|
||||
"RUST_BACKTRACE": "1"
|
||||
},
|
||||
"preLaunchTask": "build_warplocal_fastdev",
|
||||
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug MacOS executable with fast_dev + local session sharing server",
|
||||
"preLaunchTask": "build_warplocal_fastdev_localsessionsharing",
|
||||
"program": "${workspaceFolder}/target/debug/bundle/osx/WarpLocal.app/Contents/MacOS/warp",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug unit tests in executable 'warp'",
|
||||
"cargo": {
|
||||
"args": ["test", "--no-run", "--bin=warp", "--package=warp"],
|
||||
"filter": {
|
||||
"name": "warp",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug integration tests in executable 'integration'",
|
||||
"cargo": {
|
||||
"args": ["build", "--bin=integration", "--package=warp"],
|
||||
"env": {
|
||||
"WARPUI_USE_REAL_DISPLAY_IN_INTEGRATION_TESTS": "1"
|
||||
},
|
||||
"filter": {
|
||||
"name": "integration",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
"args": ["test_waterfall_input"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug unit tests in library 'warpui'",
|
||||
"cargo": {
|
||||
"args": ["test", "--no-run", "--lib", "--package=warpui"],
|
||||
"filter": {
|
||||
"name": "warpui",
|
||||
"kind": "lib"
|
||||
}
|
||||
},
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["rust"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Vendored
+35
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"[markdown]": {
|
||||
"editor.wordWrap": "wordWrapColumn",
|
||||
"editor.wordWrapColumn": 80,
|
||||
"editor.quickSuggestions": {
|
||||
"comments": "off",
|
||||
"strings": "off",
|
||||
"other": "off"
|
||||
}
|
||||
},
|
||||
"[powershell]": {
|
||||
"editor.semanticHighlighting.enabled": true,
|
||||
"editor.formatOnSave": true
|
||||
},
|
||||
"files.insertFinalNewline": true,
|
||||
"files.trimFinalNewlines": true,
|
||||
"files.associations": {
|
||||
"**/ui/src/platform/mac/**/*.h": "objective-c"
|
||||
},
|
||||
"graphql-config.load.rootDir": "graphql/",
|
||||
"rust-analyzer.cargo.targetDir": true,
|
||||
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
|
||||
"powershell.codeFormatting.alignPropertyValuePairs": false,
|
||||
"powershell.codeFormatting.newLineAfterCloseBrace": false,
|
||||
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
|
||||
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
|
||||
"powershell.codeFormatting.useConstantStrings": true,
|
||||
"powershell.codeFormatting.whitespaceAfterSeparator": true,
|
||||
"powershell.codeFormatting.whitespaceAroundOperator": true,
|
||||
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
|
||||
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
|
||||
"powershell.codeFormatting.whitespaceInsideBrace": true,
|
||||
"powershell.scriptAnalysis.enable": true,
|
||||
"powershell.scriptAnalysis.settingsPath": "./.PSScriptAnalyzerSettings.psd1",
|
||||
}
|
||||
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Watch",
|
||||
"group": "build",
|
||||
"type": "shell",
|
||||
"command": "cargo watch",
|
||||
"problemMatcher": "$rustc-watch",
|
||||
"isBackground": true
|
||||
},
|
||||
{
|
||||
"type": "cargo",
|
||||
"command": "build",
|
||||
"problemMatcher": [
|
||||
"$rustc"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"label": "rust: cargo build"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "./script/run --dont-open",
|
||||
"label": "build_warplocal"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "./script/run --dont-open --features fast_dev",
|
||||
"label": "build_warplocal_fastdev"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "./script/run --dont-open --features fast_dev,with_local_session_sharing_server",
|
||||
"label": "build_warplocal_fastdev_localsessionsharing"
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"command": "./script/run --dont-open --features with_local_session_sharing_server",
|
||||
"label": "build_warplocal_localsessionsharing"
|
||||
}
|
||||
// TODO: If adding more configs that just add feature flags, consider argument passing from launch.json to tasks.json
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user