logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vscode remote-ssh 连接后打开终端,git 不能补全 问题解决

根本原因是 remote-ssh 连接后打开的终端只执行了 ~/.bashrc,没有执行 /etc/profile, 导致 /etc/profile.d/bash_completion.sh 没有执行。参考:remote-ssh: .profile not sourced for bash shells, only .bashrc? · Issue #83 · microsoft/vscode-r

#vscode#ssh#git
vscode remote-ssh 连接后打开终端,git 不能补全 问题解决

根本原因是 remote-ssh 连接后打开的终端只执行了 ~/.bashrc,没有执行 /etc/profile, 导致 /etc/profile.d/bash_completion.sh 没有执行。参考:remote-ssh: .profile not sourced for bash shells, only .bashrc? · Issue #83 · microsoft/vscode-r

#vscode#ssh#git
Clion 编辑器里出现头文件找不到,补全失败的问题解决方案

环境 Windows10+WSL用Clion创建一个工程,当时正常。以后打开,可能出现头文件找不到,include头文件部分用红色波浪线提示,补全失败的问题。解决方案:在 CMakeList.txt 里添加一行include_directories(SYSTEM "/foo/bar")如果第一次设置该文件,编辑器在右上角会提示 重新解析CMakeList.txt 和 自动解...

到底了