linux - 在使用 PhpStorm 进行更改后删除了文件末尾的 HTML 和 Blade-Tags
问题描述
我正在使用带有 Kubuntu 20.10 的 Lenovo ThinkPad L590。对于开发,我正在使用 PhpStorm 并发现了一个我无法识别的问题。在刀片文件(布局或文本)中进行一些 UI 更改后,最后 5 行代码消失了。结果是网站布局不正常。回到文件,修复它,一切都很好。两天后我又遇到了同样的问题。
我们为测试目的创建了一个分支,发现 git checkout、git pull 或 git push 没有问题。所以它可能与我的笔记本电脑有关,但我无法重新创建它。
我做了一个测试,smartmontools
结果如下:
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: UMIS LENSE40512GMSP34MESTB3A
Serial Number: SS0L25153X3LC0170EBE
Firmware Version: 2.3.7182
PCI Vendor/Subsystem ID: 0x1cc4
IEEE OUI Identifier: 0x044a50
Total NVM Capacity: 512.110.190.592 [512 GB]
Unallocated NVM Capacity: 0
Controller ID: 6058
Number of Namespaces: 1
Namespace 1 Size/Capacity: 512.110.190.592 [512 GB]
Namespace 1 Utilization: 0
Namespace 1 Formatted LBA Size: 512
Namespace 1 IEEE EUI-64: 504a04 dd00000000
Local Time is: Mon Jun 28 10:47:35 2021 CEST
Firmware Updates (0x12): 1 Slot, no Reset required
Optional Admin Commands (0x0017): Security Format Frmw_DL Self_Test
Optional NVM Commands (0x0016): Wr_Unc DS_Mngmt Sav/Sel_Feat
Maximum Data Transfer Size: 32 Pages
Warning Comp. Temp. Threshold: 80 Celsius
Critical Comp. Temp. Threshold: 84 Celsius
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 6.50W 6.50W - 0 0 0 0 0 0
1 + 4.60W 4.60W - 1 1 1 1 5 5
2 + 3.90W 3.90W - 2 2 2 2 5 5
3 - 1.50W 1.50W - 3 3 3 3 4000 4000
4 - 0.0050W 0.50W - 4 4 4 4 20000 30000
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 1
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 34 Celsius
Available Spare: 100%
Available Spare Threshold: 3%
Percentage Used: 0%
Data Units Read: 8.471.227 [4,33 TB]
Data Units Written: 11.246.530 [5,75 TB]
Host Read Commands: 189.422.053
Host Write Commands: 164.508.932
Controller Busy Time: 46.444
Power Cycles: 513
Power On Hours: 1.513
Unsafe Shutdowns: 100
Media and Data Integrity Errors: 61
Error Information Log Entries: 616
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 34 Celsius
Error Information (NVMe Log 0x01, max 64 entries)
No Errors Logged
我使用默认插件重新安装了 PhpStorm,将键盘映射从 KDE 更改为 Windows,并将内存堆从 2048 MB 增加到 4096 MB。
有人经历过这样的事情吗?
解决方案
推荐阅读
- git - Visual Studio 2019 中的 Git 同步
- git - 获取远程 git repo 上的文件/文件树列表
- php - 如何解决:“无法返回值”
- regex - 如何在python3中使用正则表达式在字符串中的每个字符后添加'-'?
- webgl - 如何在 ANGLE_instanced_arrays 中使用 gl_InstanceID?
- azure - 在 Azure 中聚合多个列(Kusto 查询语言)
- excel - 基于先前用户表单中所做选择的 VBA 用户表单
- php - 第二次登录失败后如何启动 Laravel 锁定计数器
- c - 在 AIX 上编译 c 程序时出错 - “ld: 0711-317 ERROR: Undefined symbol: .iconv_open”
- cqrs - 应如何在使用 CQRS 的事件溯源中实现使用标准的搜索