随笔分类 -  实用技术

Git,GitHub,Sublime等实用的技术
摘要:1. 打开设置2. 设置`"git.rebaseWhenSync": true` 阅读全文
posted @ 2019-01-06 18:01 zjffun 阅读(441) 评论(0) 推荐(0)
摘要:步骤:1. 在构建工具(webpack、gulp 等)的配置中开启生成 source map2. 将 VSCode 配置中的`debug.allowBreakpointsEverywhere`设置为`true`(重要!这个选项默认是`false`)现在就可以愉快得在源码上下断点了。参见:[Can set break points in the Visual Studio Code debugg... 阅读全文
posted @ 2019-01-06 18:00 zjffun 阅读(333) 评论(0) 推荐(0)
摘要:# 默认快捷键[Visual Studio Code 默认快捷键](https://code.visualstudio.com/docs/getstarted/keybindings#_default-keyboard-shortcuts)# 代码提示(自动补全,自动完成)默认是快捷键是`Ctrl+Space`,与搜狗输入法切换中英文的快捷键冲突了。。可以改搜狗输入法的快捷键(`Shift`切换中... 阅读全文
posted @ 2019-01-06 17:59 zjffun 阅读(404) 评论(0) 推荐(0)
摘要:# Intellisense(代码提示、智能感应)## Path Intellisense:路径别名(alias)代码提示例如:在模块打包配置中配置`@`代替了`src`,可以使用下面的配置让`@`智能感应```json "path-intellisense.mappings": { "@": "${workspaceRoot}/src" }``` 阅读全文
posted @ 2019-01-06 17:58 zjffun 阅读(160) 评论(0) 推荐(0)
摘要:官方的文档写的太好了!大家还是看参考资料吧。# 参考资料- [Debugging in Visual Studio Code](https://code.visualstudio.com/docs/editor/debugging)- [Debug Node.js Apps using Visual Studio Code](https://code.visualstudio.com/do... 阅读全文
posted @ 2019-01-06 17:57 zjffun 阅读(249) 评论(0) 推荐(0)
摘要:# 默认快捷键[VS Shortcuts | Shortcut keys for Visual Studio](https://www.dofactory.com/reference/visual-studio-shortcuts)VS 的快捷键真是好独特。。## 编辑- 代码提示:`Ctrl+J`- 注释: `CTRL+E,C` 或 `CTRL+K,C`- 取消注释: ... 阅读全文
posted @ 2019-01-06 17:56 zjffun 阅读(96) 评论(0) 推荐(0)
摘要:一开始我是只将 VSCode 集成的终端改成 WSL 的 Bash,结果发现内置的 GIt 用的还是 Windows 的 Git,Git Hooks 用的 Windows 的环境,上网搜了一下发现有很复杂的方式,继续翻了翻发现官方居然有超好用的方式 [Developing in the Windows Subsystem for Linux with Visual Studio Code](htt... 阅读全文
posted @ 2019-01-06 17:52 zjffun 阅读(336) 评论(0) 推荐(0)
摘要:# 软件设置```json{ "workbench.colorTheme": "Solarized Dark", "editor.fontSize": 15, // terminal // WSL 用 Remote Development 更好 // "terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\bash.ex... 阅读全文
posted @ 2019-01-06 17:51 zjffun 阅读(249) 评论(0) 推荐(0)
摘要:# 1 起步## [Git 配置](https://gitee.com/progit/1-%E8%B5%B7%E6%AD%A5.html#1.5-%E5%88%9D%E6%AC%A1%E8%BF%90%E8%A1%8C-Git-%E5%89%8D%E7%9A%84%E9%85%8D%E7%BD%AE)- `/etc/gitconfig` 文件:系统中对所有用户都普遍适用的配置。若使用 `git... 阅读全文
posted @ 2019-01-06 17:50 zjffun 阅读(3618) 评论(0) 推荐(0)
摘要:作为一个程序员很重要的一项技能就是装系统 @\_@,以前我都是随便用网上的工具做个系统盘,每次要用直接随手就搞好了,节省大家时间。但最近同事装了个贼小的固态,然后我启动盘里的系统果断识别不出来他的固态了。装了驱动也是识别不出来,直接把系统拷到 U 盘,U 盘启动了直接装也识别不出来(因为是网上随便下的系统可能太老或者驱动被删掉了),之后试过使用 Intel RST 驱动 也是不行。。最后直接上官网... 阅读全文
posted @ 2019-01-06 17:49 zjffun 阅读(4051) 评论(0) 推荐(0)