添加额外工具:
Tools -> External Tools...
1. 添加Git Console(安装Windows版Git可用)
                Title: Git Console
              Command: C:\Program Files\Git\bin\sh.exe
            Arguments: --login
    Initial directory: $(ItemDir)
2. 添加Win10的Bash(推荐,安装zsh、antigen或者on-my-zsh以及git后,可以用很多git的alias)
   注意:vs是x86程序,不能直接用%systemroot%\System32\bash.exe,需要用sysnative目录或者找它的源文件。
                Title: Bash
              Command: C:\Windows\sysnative\bash.exe
            Arguments: --login
    Initial directory: $(ItemDir)
3. Sublime Text
                Title: Sublime Text
              Command: "C:\Program Files\Sublime Text 3\sublime_text.exe"
            Arguments: $(ItemPath):$(CurLine):$(CurCol)
    Initial directory: $(ItemDir)
4. Notepad2
                Title: Notepad3
              Command: "C:\Program Files\Notepad3\Notepad3.exe"
            Arguments: /g $(CurLine),$(CurCol) $(ItemPath)
    Initial directory: $(ItemDir)
5. VSCode
                Title: VSCode
              Command: "C:\Program Files\Microsoft VS Code\Code.exe"
            Arguments: -g $(ItemPath):$(CurLine):$(CurCol)
    Initial directory: $(ItemDir)
6. Explorer
                Title: Explorer
              Command: C:\Windows\System32\explorer.exe
            Arguments: /Select,"$(ItemPath)"
    Initial directory: $(ItemDir)
7. Windows Terminal
                Title: Windows Terminal
              Command: C:\Windows\System32\cmd.exe
            Arguments: /d /c for /f "tokens=1" %i in ('dir /b "%userprofile%\AppData\Local\Microsoft\WindowsApps\Microsoft.WindowsTerminal*"') do start "" "%userprofile%\AppData\Local\Microsoft\WindowsApps\%~i\wt.exe"
    Initial directory: $(ItemDir)
                  [x]: Close on exit


关闭反馈
~~~~~~~
Help -> Send Feedback -> Settings
No, I would not lick to participate.

 

posted @ 2021-05-31 21:13 Bob-wei 阅读(608) 评论(0) 推荐(0) 编辑
摘要: DIRECTORY ├─include │ └─libofd ├─lib │ └─googletest ├─src ├─tst└─.clang-format .clang-format BasedOnStyle: Google CMakeList.txt cmake_minimum_required 阅读全文
posted @ 2021-03-30 07:52 Bob-wei 阅读(194) 评论(0) 推荐(0) 编辑
摘要: https://github.com/microsoft/terminal/releases 如果考虑离线安装,建议下载 PreinstallKit 包,安装文件是 *.msixbundle 文件。Microsoft.WindowsTerminal_1.2.2381.0_8wekyb3d8bbwe. 阅读全文
posted @ 2020-09-12 18:02 Bob-wei 阅读(1923) 评论(0) 推荐(0) 编辑
摘要: 结论:in参数的性能要优于普通参数非常多。 如下图所示,分别创建 40 和 10000 个结构体,进行下面的测试: - InParameters: 使用in参数调用方法 - InParameters2: 使用in参数调用方法(调用方没有使用in关键字,因为是可选的,因此和InParameters结果 阅读全文
posted @ 2020-07-29 21:31 Bob-wei 阅读(520) 评论(0) 推荐(0) 编辑
摘要: 从StackOverflow盗一张图: 阅读全文
posted @ 2020-07-13 20:35 Bob-wei 阅读(162) 评论(0) 推荐(0) 编辑
摘要: Windows Terminal 支持 UTF-8 输出内容,对 git-bash 和 cmd 自带的输出中文支持较好,而且支持 FiraCode 这种程序编码的连接字体。 准备 Windows Terminal 的下载页面:https://github.com/microsoft/terminal 阅读全文
posted @ 2020-05-29 12:06 Bob-wei 阅读(3049) 评论(0) 推荐(0) 编辑
摘要: Win10 2004版本安装后,原来在“用户账户”配置中的“要使用本计算机,用户必须输入用户名和密码”选项会被隐藏。 恢复的办法是,创建一个注册表文件,然后双击导入注册表即可,内容如下: RestoreUserAutoLoginOption.reg Windows Registry Editor V 阅读全文
posted @ 2020-05-28 21:36 Bob-wei 阅读(9654) 评论(0) 推荐(1) 编辑
摘要: 官方的 plantuml/plantuml-server 镜像中没有包含 plantuml-jlatexmath.zip 因此,不支持数学公式。 如果仅仅本地使用,将上面的压缩包下载后,解压到 plantuml.jar 相同目录就可以了。 下面是我们制作一个 plantuml-server,将 jl 阅读全文
posted @ 2020-05-17 21:43 Bob-wei 阅读(751) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2020-05-10 17:35 Bob-wei 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 安装 p7zip 然后将下面内容放到 ~/.zshrc 或者 ~/.bashrc function 7zz() { # compress a direcotry to directory.7z # usage: 7zz path/to/directory [7z options] # returns 阅读全文
posted @ 2020-05-07 11:19 Bob-wei 阅读(2517) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示