
VSCode
文章平均质量分 59
Tips on usage of VSCode
ikeepo
https://ikeepo.github.io/
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
(20210216未解决)VSCode如何设置自动刷新文件夹
Overview目前似乎还没有办法实现ReferencesVisual Studio Code: Auto-refresh file changesvs code 左侧资源管理器如何配置自动刷新?原创 2021-02-21 10:02:23 · 3251 阅读 · 2 评论 -
(20210204已解决)VSCode中如何一次替换类名,函数名||refactoring
OverviewSometimes we want change the name of a class or function, but don’t want replace it one by one, any good method?PrerequisiteWhat I want to do is acctually the concept source code refactor.Source code refactorRefactoring is the process of..原创 2021-02-07 10:00:33 · 1309 阅读 · 0 评论 -
理解IntelliCode Python support requires you to use the Microsoft Python Language Server (preview)
起源打开VSCode出现IntelliCode Python support requires you to use the Microsoft Python Language Server (preview)解决方案卸载Visual Studio IntelliCode 插件后续研究ReferenceVisual Studio Code | 问题解决Problems with Visual Studio IntelliCode - Preview & Pytho..原创 2020-12-04 22:14:29 · 1059 阅读 · 0 评论 -
(20201024Solved)vsCode debug出现no such file or directory:‘/home/user/.local/lib‘
问题描述python file.py可以正常运行,对其进行debug就出现如题问题:no such file or directory: '/home/user/.local/lib'看运行路径,应该是python在进行os路径检查.思路梳理关键字debug一个文件的实际内容之前,vscode会先进行检查,出问题的函数是:home/user/anaconda3/lib/python3.8/posixpath.py中# This will always return fals..原创 2020-10-25 18:46:23 · 2106 阅读 · 1 评论 -
vscode 如何debug第三方模块源码
问题描述如题解决方案在launch.json中添加"justMyCode":falsedebug – create a launch.json fileReferencesVScode如何Debug(调试)进入标准库文件/第三方包源码原创 2020-10-18 21:56:52 · 1878 阅读 · 0 评论 -
(20200915Solved)Vscode出现Unable to open ‘hashtable_class_helper.pxi‘
问题描述Unable to open ‘hashtable_class_helper.pxi’: Unable to read file ‘vscode-remote://ssh-remote+data1/home/data/anaconda3/lib/python3.7/site-packages/pandas/_libs/hashtable_class_helper.pxi’ (Error: Unable to resolve non-existing file ‘vscode-remote:/..原创 2020-10-18 21:54:38 · 1187 阅读 · 0 评论 -
VSCode Debug Failure: -bash: C:/Anaconda3/Scripts/activate: No such file or directory||conda: comman
问题描述在Windows使用VSCode进行debug出现如题错误。解决方案windows中安装了WSL。因为VScode Terminal中使用的default shell 是wsl,而wsl中并没有安装Anaconda,Anaconda是安装在windows中的。将terminal中default shell设置为cmd.exe,问题解决...原创 2020-08-15 08:49:11 · 704 阅读 · 0 评论 -
Vscode如何设置terminal 不自动换行
问题描述terminal输出dataframe自动换行,显示混乱解决方案refer1 said, it is not supported now, but is on the way.ReferencesDisable line wrap in Visual Studio Code integrated Terminal?Support fixed width terminal windows #74501...原创 2020-06-30 21:19:35 · 5028 阅读 · 0 评论 -
VSCode通过跳板机远程连接服务器
vscode remote关于vscode 的远程连接参见《VS Code Remote Development》通过跳板机上述提到的方式是直接连接,如果需要使用跳板机,其他方面都一样,除了配置文件需要多加一行。参见:ProxyCommand "OpenSSH安装路径"\ssh.exe -q -W %h:%p "跳板机"which means run ssh in quiet mode (using -q) and in stdio forwarding(using -w) mode, ..原创 2020-05-24 10:09:33 · 1981 阅读 · 0 评论 -
VSCode Debug设置create a launch.json file
问题描述VSCode没法Debug,对应位置是灰色的,如下图:解决方案First you need know what is the launch.json in VSCode:The launch.json file is used to configure the debugger in Visual Studio Code. VSCode generates a launch.json with almost all of the required information. Th..原创 2020-05-10 16:45:54 · 2744 阅读 · 0 评论 -
VSCode Remote SSH远程连接失败过程试图写入的管道不存在
问题描述[15:48:47.286] > user@ip: Permission denied (publickey).> [15:48:47.292] > 过程试图写入的管道不存在。> [15:48:47.578] "install" terminal command done[15:48:47.578] Install terminal quit wit...原创 2020-04-07 21:56:37 · 54401 阅读 · 20 评论 -
VSCode运行Python出现ImportError: Missing required dependencies ['numpy']
问题描述如题,在VSCode中运行Python文件,以前是可以正常运行的一个文件,出现题中错误。解决方案步骤一:参考3.在lauch.json中,修改“env”。"env": {"PYTHONPATH":"${workspaceRoot}"}这里就涉及到如何打开lauch.json这个问题。《如何打开VSCode的lauch.json文件》步骤二:如上设置后,...原创 2020-04-03 22:17:53 · 2005 阅读 · 0 评论 -
如何打开VSCode的lauch.json文件
问题描述新手初学VSCode,经常见到一些问题的解决方案是修改lauch.json配置文件。但是又不知道怎么打开这个lauch.json文件。方案一进入调试界面,点击配置按钮。方案二在文件浏览界面,进入工作目录–>.vscode目录下面Referencesvscode如何生成launch.json配置文件...原创 2020-04-03 22:15:08 · 28636 阅读 · 5 评论 -
VSCode使用须知1:历史、教程汇总、基础用法
VSCodeVisual Studio Code(VSCode维基百科 官网),是由微软开发支持各平台且开源的代码编辑器。2014.4.29微软发布第一个预览版本;2015.11.18在GitHub上开源;2016.4.14正式版1.0.0发布;2019年Stack Overflow调研发现VS Code已经是最受开发者欢迎的开发环境。教程教程,永远是官方文档最好,不过官网上...原创 2020-03-29 19:47:45 · 438 阅读 · 0 评论