-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancing the vscode development experience #1219
Conversation
cyshallchan
commented
Nov 6, 2023
•
edited
Loading
edited
- Development containers add additional plugins for using vscode GUI debugging functionality;
- Upgrade the glibc version for using the relevant vscode plugins.
Upgrade glibc version for using the vadimcn.vscode-lldb plugin in vscode
Add additional plugins to enable the GUI debugging feature in vscode
.devcontainer/devcontainer.json
Outdated
"bmalehorn.shell-syntax", | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"vadimcn.vscode-lldb", | ||
"ms-vscode.cpptools" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是不是包括在 "ms-vscode.cpptools-extension-pack", 里面了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
确实是的,没注意,我改一下。
.devcontainer/devcontainer.json
Outdated
"bmalehorn.shell-syntax" | ||
"bmalehorn.shell-syntax", | ||
"llvm-vs-code-extensions.vscode-clangd", | ||
"vadimcn.vscode-lldb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个工具比vscode自带的debug功能更强吗?我感觉内置的就可以用GUI debug了。lldb这个东西的问题是好像国内下载不下来,会报错
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个工具比vscode自带的debug功能更强吗?我感觉内置的就可以用GUI debug了。lldb这个东西的问题是好像国内下载不下来,会报错
你是说llvm-vs-code-extensions.vscode-clangd
这个插件吗?这个插件主要用于语法解析,跳转等,配合compile_commands.json
文件比微软的那个强太多。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeLLDB我感觉也很吃力,都是单独下载.vsix才安装成功的。
这样吧,因为这个操作相对比较复杂,也不是每个人都需要的,是不是可以考虑把文件提交到.devcontainer/devcontainer.json.lldb,配套一个说明放到开发指南里? |
你的意思是把相关插件的离线文件包以及所需的二进制放到 |
意思是先不弄成默认的。需要的可以copy .devcontainer/devcontainer.json.lldb .devcontainer/devcontainer.json |
…ironment - Restore the original devcontainer.json file and place the modified content in a separate file named devcontainer.json.lldb.
@yyuuttaaoo 我这边文档是在原来开发文档中新增段落,还是另外写一个文档呢? |
不长的话新增一段就好了 |