edubkendo / atom-racer

Intelligent code completion for Rust in the Atom Editor. Requires Racer.
MIT License
115 stars 24 forks source link

Emit notifications instead of logging to console. #47

Closed HybridEidolon closed 8 years ago

HybridEidolon commented 8 years ago

This will emit Atom notifications on various error conditions instead of printing to the console, to make it clearer when racer fails for any reason.

An additional notification is added in the situation where exit code 3221225781 is yielded by racer -- on Windows, this means a DLL file is missing (usually libgcc). This happens most often when racer is run right out of its target directory. This issue tripped me up for months.

edubkendo commented 8 years ago

This looks great. Thanks for your contribution.