wesbos/cobalt2-vscode

Rust: type and parameter name annotations are highlited

Open

#209 建立於 2022年9月14日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人) (248 fork)github user discovery
good first issuehelp wanted

倉庫指標

Star
 (804 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南