forked from Orchid/orchid
146 lines
4.0 KiB
Plaintext
146 lines
4.0 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": "."
|
|
}
|
|
],
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build All",
|
|
"command": "cargo",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"type": "shell",
|
|
"args": ["build"],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"group": "build"
|
|
}
|
|
]
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "(LLDB) Launch",
|
|
"type": "lldb",
|
|
"request": "launch",
|
|
"preLaunchTask": "Build All",
|
|
"env": {
|
|
"ORCHID_EXTENSIONS": "target/debug/orchid_std",
|
|
"ORCHID_DEFAULT_SYSTEMS": "orchid::std;orchid::macros",
|
|
},
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${workspaceRoot}/target/debug/orcx.exe",
|
|
"args": [
|
|
"--logs=stderr",
|
|
"--logs=debug>stderr",
|
|
"--logs=msg>stderr",
|
|
"exec",
|
|
"1 + 1"
|
|
]
|
|
},
|
|
{
|
|
"name": "(Windows) Launch",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"requireExactSource": true,
|
|
"preLaunchTask": "Build All",
|
|
"environment": [
|
|
{ "name": "ORCHID_EXTENSIONS", "value": "target/debug/orchid_std" },
|
|
{ "name": "ORCHID_DEFAULT_SYSTEMS", "value": "orchid::std;orchid::macros" },
|
|
],
|
|
"cwd": "${workspaceRoot}",
|
|
"program": "${workspaceRoot}/target/debug/orcx.exe",
|
|
"args": [
|
|
"--logs=stderr",
|
|
"--logs=debug>stderr",
|
|
"--logs=msg>stderr",
|
|
"exec",
|
|
"1 + 1"
|
|
]
|
|
}
|
|
],
|
|
"compounds": []
|
|
},
|
|
"settings": {
|
|
"[markdown]": {
|
|
// markdown denotes line breaks with trailing space
|
|
"diffEditor.ignoreTrimWhitespace": false,
|
|
// Disable editor gadgets in markdown
|
|
"editor.unicodeHighlight.ambiguousCharacters": false,
|
|
"editor.unicodeHighlight.invisibleCharacters": false,
|
|
"editor.glyphMargin": false,
|
|
"editor.guides.indentation": false,
|
|
"editor.lineNumbers": "off",
|
|
"editor.quickSuggestions": {
|
|
"comments": "off",
|
|
"strings": "off",
|
|
"other": "off",
|
|
},
|
|
"editor.rulers": [],
|
|
"editor.wordWrap": "bounded",
|
|
"editor.wordWrapColumn": 80,
|
|
// wrap lines as we go
|
|
"editor.formatOnType": true,
|
|
"editor.detectIndentation": false,
|
|
"editor.insertSpaces": false,
|
|
},
|
|
// Orchid is a human-made project
|
|
"chat.commandCenter.enabled": false,
|
|
// use spaces for indentation for Rust for now due to a rustfmt bug
|
|
"editor.tabSize": 2,
|
|
"editor.stickyTabStops": true,
|
|
"editor.detectIndentation": false,
|
|
"editor.insertSpaces": true,
|
|
// Important; for accessibility reasons, code cannot be wider than 100ch
|
|
"editor.rulers": [ 100 ],
|
|
"editor.formatOnSave": true,
|
|
"files.watcherExclude": {
|
|
"**/.git/objects/**": true,
|
|
"**/.git/subtree-cache/**": true,
|
|
"**/.hg/store/**": true,
|
|
"target": true,
|
|
},
|
|
"git.confirmSync": false,
|
|
"git.enableSmartCommit": true,
|
|
"git.autofetch": true,
|
|
"rust-analyzer.assist.emitMustUse": true,
|
|
"rust-analyzer.assist.preferSelf": true,
|
|
"rust-analyzer.cargo.features": "all",
|
|
"rust-analyzer.check.command": "clippy",
|
|
"rust-analyzer.check.features": "all",
|
|
"rust-analyzer.checkOnSave": true,
|
|
"rust-analyzer.completion.fullFunctionSignatures.enable": true,
|
|
"rust-analyzer.completion.termSearch.enable": true,
|
|
"rust-analyzer.inlayHints.parameterHints.enable": false,
|
|
"rust-analyzer.inlayHints.typeHints.enable": false,
|
|
"rust-analyzer.rustfmt.extraArgs": [
|
|
"+nightly",
|
|
],
|
|
"rust-analyzer.showUnlinkedFileNotification": false,
|
|
"swissknife.notesEnabled": false,
|
|
"todo-tree.filtering.excludeGlobs": [
|
|
"**/node_modules/*/**",
|
|
"orchidlang/**"
|
|
]
|
|
},
|
|
"extensions": {
|
|
"recommendations": [
|
|
"fill-labs.dependi",
|
|
"gruntfuggly.todo-tree",
|
|
"maptz.regionfolder",
|
|
"rust-lang.rust-analyzer",
|
|
"tamasfe.even-better-toml",
|
|
"vadimcn.vscode-lldb",
|
|
"yzhang.markdown-all-in-one",
|
|
]
|
|
},
|
|
} |