wesbos/cobalt2-vscode

Rust: type and parameter name annotations are highlited

Open

#209 opened on Sep 14, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees) (248 forks)github user discovery
good first issuehelp wanted

Repository metrics

Stars
 (804 stars)
PR merge metrics
 (PR metrics pending)

Description

When coding in Rust, the editor adds parameter names and annotations (i.e. types are inferred but the editor adds them to make the code more explicit). In Cobal2 those annotations are bright yellow, which is really distracting.

For instance, the Dark+ theme greys it out (which makes it less aggressive and helps understand it's secondary information added by the editor):

IntelliJ does an even better job (IMO) since it greys out the font, dimming out the annotations and making them even more subtle.

Contributor guide