mre/cargo-inspect-vscode

Only run on Rust files

Open

#2 opened on Dec 27, 2018

 (0 comments) (0 reactions) (0 assignees)TypeScript (0 forks)github user discovery
buggood first issuehelp wanted

Repository metrics

Stars
 (5 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Right now, the extension throws an ugly syntax error when executed on a non-Rust source file. It would be better if it showed a more useful error message that indicates, that only Rust files are supported. Alternatively, the extension could be context-sensitive and only be executable when a Rust files is selected.

Contributor guide