最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c# - My solution files are marked as red but have 0 errors. Why this is happenning and how can i fix - Stack Overflow

programmeradmin3浏览0评论

I tried to look at CTRL ALT S shortcut to see possible color schemes but I didn't find nothing. My code does not have errors or anything that could put this color on my files, I reviewed and didn't find any error. I am new to Rider IDE and don't know some basic things yet.

red files an error

EDIT: I commited to git and the majority of the files got back to normal, but one not, its the "Carroto" class, its in dark yellow but i can work. Still don't know what happened, I've never used git.

I tried to look at CTRL ALT S shortcut to see possible color schemes but I didn't find nothing. My code does not have errors or anything that could put this color on my files, I reviewed and didn't find any error. I am new to Rider IDE and don't know some basic things yet.

red files an error

EDIT: I commited to git and the majority of the files got back to normal, but one not, its the "Carroto" class, its in dark yellow but i can work. Still don't know what happened, I've never used git.

Share Improve this question edited 15 hours ago Frogguzzz asked 16 hours ago FrogguzzzFrogguzzz 12 bronze badges New contributor Frogguzzz is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. 1
  • 2 Mostly a guess, but perhaps the color is referring to source control status and not an error? Are you using source control? If so, are the files being tracked by it? If not, is there a setting to disable it in the IDE? – David Commented 16 hours ago
Add a comment  | 

2 Answers 2

Reset to default 0

If the color persists incorrectly, try File > Invalidate caches / Restart

That is from the files not being part of source control. Errors will show a squiggle line under the project / sln. Add them to your source control and they will be green / white.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论