1.vs面板左下角设置-配置用户代码片段 2. 弹出搜索框中输入typescript会出来2个选项,选择第二个react 3.在代码片段中添加自己的快捷键设置片段(用$TM_FILENAME_BASE$1可以获取当前文件的名称)
{// Place your snippets for typescriptreact…
ADB不能连接:
D:\adb\platform-tools>adb.exe devices
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
adb.exe: failed to check server version: cannot connect to daemon关闭防火墙可以解决。…