visual-studio-code - Visual Studio Code automatically removes the latest empty lines when I'm changing windows/tabs. How to fix this?
问题描述
For example the code is this:
void main() {
String msg = "Hi";
Function say = () {
msg = "Hello";
print(msg);
};
}
Every time I change tabs and come back to VSCode, the code would end up looking like this
void main() {
String msg = "Hi";
Function say = () {
msg = "Hello";
print(msg);
};
}
As you can see, it automatically deleted the empty line that I wanted to use after researching stuff on the other windows. Is there any VSCode setting to change this?
解决方案
推荐阅读
- sql - 从最终结果中过滤掉行,同时仍然使用它们的一些值?
- c# - 使用 Google OR-Tools 解决车辆路径问题中的时间窗口约束 - 解决方案为空
- git - gitlab - 试图克隆一个 repo 给出网络不可用的错误
- javascript - 检查 `UserActionApp` 的渲染方法
- javascript - 热图的数据操作
- java - Google -java-format java Intellij 的代码格式化程序
- python-3.x - 在 Conda 环境中升级 python
- javascript - 如何防止地址栏在 Firefox Mobile 上取消隐藏和移动元素
- elasticsearch - 弹性搜索结果中的错误分数
- listview - listview 中动态创建的条目的边框颜色在 xamarin 中未按预期工作