IntelliJ Idea; "new *"

Anyone know wtf this "new *" IntelliJ Idea randomly injects as a label (not actual text) into my Rust files is ?

i.e. my rust code will be something like:

mod a;
mod b;
mod c;
mod d;

but IntelliJ Idea plugin will display it randomly as:

new *
mod a;
new *
mod b;
new * 
mod c;
new *
mod d;

and I have no idea how to get rid of this new *

1 Like

Taking a guess, it could be their newly added "code vision" feature. It automatically annotates items (functions, structs, modules etc) with the name of the last person who modified it, as recorded in your version control system. If the changes aren't commited, I guess the relevant items are marked as "new".

Note that it doesn't modify your files in any way, it's purely an editor rendering hint, like inferred types. I don't know how you can disable it, but try searching for "code vision" in the settings.

3 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.