News for hackers. Stuff that matters.
Re:Try Out Rust IDE Support in Visual Studio Code by RussianCow on Friday August 18, 2017 @03:34PM (#15049088)
Does this support macro expansion of any kind? I'm currently using the plugin for IntelliJ IDEA, and it works really well aside from completely lacking support for macros, which makes its type annotations and similar features nearly useless for the project I'm working on.
Re:Try Out Rust IDE Support in Visual Studio Code by muizelaar on Friday August 18, 2017 @03:48PM (#15049185)
It does support macro expansion for some things. i.e. all of the type information is gathered post macro expansion.
Re:Try Out Rust IDE Support in Visual Studio Code by saghm on Friday August 18, 2017 @11:03PM (#15051418)
At least the last time I tried it, RLS wasn't able to handle inference for values coming from macros (e.g. completing methods on a variable initialized with `vec![...]`. None of the Rust tooling/editors I've tried thus far have been able to handle that, so I'm hoping that either RLS or Intellij's Rust plugin add it soon.
Re:Try Out Rust IDE Support in Visual Studio Code by muizelaar on Saturday August 19, 2017 @12:40PM (#15054268)
I'm not sure when you last tried, but IntelliJ Rust handles completing methods on a variable initialized with vec![] for me just fine.