Latest version of Rider does not clean up JS files (C# file cleanup working fine), such as removing extra spaces, extra lines, or fixing lines greater than defined acceptable length.(最新版本的Rider无法清理JS文件(C#文件清理工作正常),例如删除多余的空格,多余的行或固定大于定义的可接受长度的行。)
However, Resharper cleans up the files correctly.(但是,Resharper会正确清理文件。) NET Core 3.0 web project.(NET Core 3.0 Web项目。) All JS files located in the wwwroot/js directory.(位于wwwroot / js目录中的所有JS文件。) Has anyone experienced this?(有人经历过吗?) If yes, how did you fix it.(如果是,您如何解决它。)
To be explicit: cleanup using Ctrl+E, C(明确地说:使用Ctrl + E,C进行清理)
Tried:(尝试过:)
- Restarting IDE(重新启动IDE)
- Invalidating cache(使缓存无效)
- Moving files to different folder(将文件移动到其他文件夹)
ask by JJJulien translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…