mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
* Fix two-axis scrollbars in scrollable regions on Firefox * Move Document Mode dropdown to the backend; and related code cleanup * Port the Layer Tree options bar layout to the backend * Port the tool shelf to the backend * Clean up initialization and wasm wrapper * Fix crash * Fix missing document bar * Remove unused functions in api.rs * Code review * Tool initalisation * Remove some frontend functions * Initalise -> Init so en-US/GB doesn't have to matter :) * Remove blend_mode and opacity from LayerPanelEntry Co-authored-by: 0hypercube <0hypercube@gmail.com>
36 lines
900 B
JSON
36 lines
900 B
JSON
{
|
|
// Rust: save on format
|
|
"[rust]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnPaste": true,
|
|
"editor.defaultFormatter": "matklad.rust-analyzer",
|
|
},
|
|
// Web: save on format
|
|
"[typescript][javascript][vue]": {
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": true,
|
|
},
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
},
|
|
// Rust Analyzer config
|
|
"rust-analyzer.cargo.target": "wasm32-unknown-unknown",
|
|
"rust-analyzer.checkOnSave.command": "clippy",
|
|
// ESLint config
|
|
"eslint.format.enable": true,
|
|
"eslint.workingDirectories": [
|
|
"./frontend"
|
|
],
|
|
"eslint.validate": [
|
|
"javascript",
|
|
"typescript",
|
|
],
|
|
// Vue config
|
|
"volar.completion.preferredAttrNameCase": "camel",
|
|
"volar.completion.preferredTagNameCase": "pascal",
|
|
// VS Code config
|
|
"html.format.wrapLineLength": 200,
|
|
"files.eol": "\n",
|
|
"files.insertFinalNewline": true,
|
|
}
|