Skip to content

Commit 5b04033

Browse files
misc: enable all cargo features in editors (#1387)
## 📔 Objective Ensure that all features are enabled in Helix and the other editor. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes
1 parent 82c75b8 commit 5b04033

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.helix/languages.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[language-server.rust-analyzer.config]
2+
checkOnSave = { command = "clippy" }
3+
cargo = { allFeatures = true }
4+
rustfmt = { extraArgs = [ "+nightly" ] }

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
"Zeroizing",
2727
"zxcvbn"
2828
],
29-
"rust-analyzer.cargo.targetDir": true
29+
"rust-analyzer.cargo.targetDir": true,
30+
"rust-analyzer.cargo.features": [
31+
"all"
32+
]
3033
}

0 commit comments

Comments
 (0)