简体   繁体   中英

Rider styling not working with a C# file that has 6000+ lines

Recently I've started using JetBrains' Rider. Problem is I can't seem to get stylings work with C# files that have too many lines. In my case, it was 6000. I reproduced this issue with another file with similar size. After removing some lines, it seemed to work perfectly fine. Here's an example to set an image. 不工作

And after removing some lines: 在此处输入图片说明

You just have to enable it, because IDE disable analysis in big files because most of the time they are generated and it just cause unnecessary performance hit.

See the next article: https://rider-support.jetbrains.com/hc/en-us/articles/360010996600-Rider-Cannot-Analyze-a-Source-File-Because-It-s-Too-Large

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM