You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have a :RustAnalyzer features x,y,z command to select a set of features to activate.
and :RustAnalyzer all-features to enable all-features of a crate as it is currently done by :RustAnalyzer target xxx
The text was updated successfully, but these errors were encountered:
thanks for the suggestion. I fear that adding too many commands to change various rust-analyzer options at runtime could add more complexity/bloat than I'm comfortable with.
I don't think this is possible in VSCode, is it?
What are some alternative options to this (e.g. using :h .exrc, ...)?
Perhaps a more general way to change config options would be a more flexible solution?
Something like :RustAnalyzer config {path} {value} , for example, :RustAnalyzer config cargo.features = { "list", "of", "features" }
(folke/trouble.nvim has a nice parser that uses tree-sitter to parse Lua from command arguments using tree-sitter).
I'm going to add a triage label and keep this open.
PRs are welcome, but depending on the complexity, I might end up choosing not to merge.
Feature description
Would be nice to have a
:RustAnalyzer features x,y,z
command to select a set of features to activate.and
:RustAnalyzer all-features
to enable all-features of a crate as it is currently done by:RustAnalyzer target xxx
The text was updated successfully, but these errors were encountered: