惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
H
Help Net Security
L
LangChain Blog
M
MIT News - Artificial intelligence
The GitHub Blog
The GitHub Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Check Point Blog
P
Proofpoint News Feed
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
I
InfoQ
月光博客
月光博客
爱范儿
爱范儿
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - Franky
D
Docker
B
Blog

博客园 - simadi

PostgreSQL安装设置 Avalonia程序部署在统信系统,内存一直增大 vue项目 重装依赖包 cursor 更改项目typescript版本 nodejs项目,新建表步骤 Zig 语言 使用NVM安装node 我的iis10里有很多网站,现在要迁移到另一个服务器,怎么做最简单方便 Browser Harness MQTT测试工具 从华为手机导出照片到Win11 emoji大全 Sqlite“无法加载 DLL“e_sqlite3”: 找不到指定的模块”解决方法 c# 请求https网站失败 Edge安装EPUB阅读器 curl,wget,HTTPie PowerShell Winget Windows 包管理器 Windows11 升级到25H2 ai+.net postgresql System.Text.Json windows 精简版 Windows X-Lite Visual Studio 2026 新建Avalonia项目选这个,第一个会新建两个项目 隆重推出免费工具FdyRegulator1.0 ffmpeg 下载地址 elasticsearch + .net 开发使用的第三方库 Avalonia 开源项目,学习用 吉他自学笔记
Visual Studio 2026 新建axaml编码是gbk 中文运行乱码
simadi · 2025-12-19 · via 博客园 - simadi

在解决方案目录下 新建.editorconfig文件

内容如下

# 让 Visual Studio 所有文件都默认使用 UTF-8(带 BOM)
root = true

[*]
charset = utf-8 # 强制所有文件保存为 UTF-8 带签名
end_of_line = crlf # Windows 换行
insert_final_newline = true # 文件末尾自动加换行
trim_trailing_whitespace = true

# C# 文件
[*.cs]
charset = utf-8
indent_style = space
indent_size = 4

# XAML 文件
[*.xaml]
charset = utf-8
indent_style = space
indent_size = 4

# JSON / XML 配置文件
[*.json]
charset = utf-8
[*.xml]
charset = utf-8