Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
demarq
on Aug 18, 2017
|
parent
|
context
|
favorite
| on:
Try Out Rust IDE Support in Visual Studio Code
Autofix doesn't seem to trigger for me, would someone confirm it's not just me?
try this in your editor
let x = 4; if x = 5 {}
it should figure out you wanted x == 5.
nrc
on Aug 19, 2017
[–]
This should work (it's my goto test case). You have to put the cursor in the erroring code to see the possible fix icon in the margin. If you don't see it please file an issue with the project you're trying this in and I'll investigate.
demarq
on Aug 21, 2017
|
parent
[–]
my bad, in a new project it works just fine. I'll keep investigating.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
try this in your editor
it should figure out you wanted x == 5.