IDE & Framework之VS Code使用记录

高亮颜色说明:突出重点
个人觉得,:待核准个人观点是否有误
高亮颜色超链接

VS Code for C++

VS Code + MinGW: Buildcpp, tasks.json

VSCode_MinGW_Buildcpp_tasks_json001_20200310.jpg

VS Code + MinGW: Debugcpp, launch.json

VSCode_MinGW_Debugcpp_launch_json002_20200310.jpg
VSCode_MinGW_Debugcpp_launch_json003_20200310.jpg
VSCode_MinGW_Debugcpp004_20200310.jpg
VSCode_MinGW_Debugcpp005_20200310.jpg

VS Code + MinGW: c_cpp_properties.json

VSCode_MinGW_c_cpp_properties_json006_20200310.jpg
VSCode_MinGW_c_cpp_properties_json007_20200310.jpg

经由ssh连接远程服务器

to set up an SSH server on Linux

  With SSH enabled on your Linux device, you can send data via the command line from one computer to another. For this to work, however, you will need to set up an SSH server on your Linux machine.

  • Start by opening a terminal and updating and upgrading the OS.
    sudo apt update
    sudo apt upgrade
    
  • Once complete, install the SSH server. The OpenSSH server is a good option.
    sudo apt install openssh-server
    
  • Wait while it installs. To check at any time if the OpenSSH server is running, use
    sudo service ssh status
    

VS Code 使用Remote-SSH远程开发

VS Code首次连接远程服务器时提示"An SSH installation couldn’t be found"

问题描述
  VS Code首次连接远程服务器时提示"An SSH installation couldn’t be found"
原因分析:
  略
解决方案:
  Local: A supported OpenSSH compatible SSH client must also be installed. 对于Earlier Windows (例如Win8.1), after installing Git for Windows, VS Code will look for the ssh command in the PATH. Failing that, on Windows it will attempt to find ssh.exe in the default Git for Windows install path. You can also specifically tell VS Code where to find the SSH client by adding the remote.SSH.path property to settings.json, 具体地, 打开"Remote - SSH"的扩展设置, 指定"Remote.SSH: path"为"D:/Program Files/Git/usr/bin/ssh.exe"即可.

VS Code 使用

VS Code 添加命令行参数进行调试

VS Code 比较文件之间的差异

问题记录

VS Code调试Python程序时报错’The PyDev.Debugger requires Python 3.6 onwards to be run. If you need to use an older Python version, use an older version of the debugger.’

问题描述and原因分析
  VS Code调试Python程序时报错’The PyDev.Debugger requires Python 3.6 onwards to be run. If you need to use an older Python version, use an older version of the debugger.’

解决方案
  VS Code的扩展Python版本不合适,回退到以前的版本试试。

VS Code中代码提示"Format string literals (f-strings) require Python 3.6 or newer Pylance"

问题描述and原因分析
  VS Code中代码提示"Format string literals (f-strings) require Python 3.6 or newer Pylance"

解决方案
  待解决。

二级标题

  

待补充

  

待补充

  

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值