随笔分类 -  IDE

摘要:使用commit命令将容器保持为一个新的镜像 docker commit -a "作者(-a可以不要)" -m "提交信息" 容器名称或ID 新镜像名称:版本 docker commit -a "penuel" -m "new commit" old_docker new_image:v0 使用do 阅读全文
posted @ 2024-05-30 15:20 penuel 阅读(46) 评论(0) 推荐(0)
摘要:gdb /home/xu/ZME/obstacle_map/install/obstacle_map/lib/obstacle_map/obstacle_map_node set args --ros-args --ros-args --params-file /home/xu/ZME/Chargi 阅读全文
posted @ 2024-01-06 14:19 penuel 阅读(29) 评论(0) 推荐(0)
摘要:新建一个文件夹,vim docker.sh 自动共享该文件夹 #!/bin/bash XSOCK=/tmp/.X11-unix xhost +local:root docker run -it \ -e DISPLAY=$DISPLAY \ -w /humble_ws \ -v $PWD:/humb 阅读全文
posted @ 2023-10-25 10:08 penuel 阅读(42) 评论(0) 推荐(0)
摘要:1. 跳转缓慢,跳转函数,一直转圈圈,比较慢 关闭vscode 删除索引文件 cd ~/.config/Code/User/workspaceStorage rm -rf * 2.重新打开vscode即可 2. 波浪线报错 在确认c_cpp_properties.json没有问题的前提下,考虑有重复 阅读全文
posted @ 2023-07-04 11:28 penuel 阅读(448) 评论(0) 推荐(0)
摘要:1. bookmarks 2. c/c++ 3. c/c++ extension pack 4. CMake 5. CMake Tools 6. Dev Containers 7. Docker 8. Git History 9. GitLens 10. highlight-words 11. Ma 阅读全文
posted @ 2023-06-28 11:02 penuel 阅读(14) 评论(0) 推荐(0)
摘要:1. 下载highlight-words插件 2. 在settings.json文件中添加以下代码 路径:(文件>首选项>设置>打开设置(json) 图标在右上角) ``` "highlightwords.colors": [ { "light": "#b3d9ff", "dark": "cyan" 阅读全文
posted @ 2023-05-30 11:47 penuel 阅读(6172) 评论(0) 推荐(1)
摘要:https://blog.csdn.net/u012254599/article/details/106143540/ CMakeLists.txt set(CMAKE_BUILD_TYPE "RelWithDebInfo") 单独文件调试 launch.json { "version": "0.2 阅读全文
posted @ 2022-05-16 22:15 penuel 阅读(162) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_42066185/article/details/88841952 https://blog.csdn.net/janeqi1987/article/details/103300126 阅读全文
posted @ 2021-08-25 11:21 penuel 阅读(585) 评论(0) 推荐(0)
摘要:多行编辑 按V选中行,按大写I即可进入编辑模式 撤销恢复 CTRL + z 撤销 CTRL + shift + z 恢复 代码自动对齐 Alt + shift + f 阅读全文
posted @ 2021-03-26 14:28 penuel 阅读(514) 评论(0) 推荐(0)
摘要:1.打开vscode安装插件 主要用到IAR for visual studio code,没有使用IAR Embedded workbench,在编译的时候卡住,目前不知道什么原因,可能是IAR的版本过低,7.0版本。 2.打开工程文件夹 会由IAR for visual studio code 阅读全文
posted @ 2021-03-03 09:51 penuel 阅读(3011) 评论(0) 推荐(1)
摘要:打开一个含有CMakeLists.txt的文件夹 在.vscode要建立三个json文件才能对Cmake工程进行编译和调试,分别是c_cpp_properties.json,launch.json和tasks.json c_cpp_properties.json文件 Ctrl+Shift+P,输入C 阅读全文
posted @ 2020-11-26 17:49 penuel 阅读(1417) 评论(0) 推荐(0)
摘要:1.安装cygwin 2.配置VS Code 按ctrl + shift + p ,选择 c/c++:Edit configuration(json) { "configurations": [ { "name": "Win32", "includePath": [ "${default}", "$ 阅读全文
posted @ 2020-11-05 15:54 penuel 阅读(1724) 评论(0) 推荐(0)
摘要:cygwin是一个在windows平台上运行的unix模拟环境,是cygnus solutions公司开发的自由软件 Cygwin就是一个windows软件,该软件就是在windows上仿真linux操作系统 简言之,cygwin是一个在windows平台上运行的 linux模拟环境,使用一个Dll 阅读全文
posted @ 2020-11-05 15:20 penuel 阅读(1832) 评论(0) 推荐(0)
摘要:出现这个原因是 J-link和J-link的驱动不匹配,比如J-link的固件太老,J-link驱动太新。因此要解决的话,要不就是换不同版本的J-link驱动,要不就是换J-Link或升级J-link固件。 换J-link驱动,一般都是换更低版本的驱动。去https://www.segger.com 阅读全文
posted @ 2020-08-17 14:45 penuel 阅读(3220) 评论(0) 推荐(0)
摘要:gedit ~/.local/share/applications/jetbrains-clion.desktop 修改 Exec="/home/cjn/soft-pack/clion-2020.1/bin/clion.sh" %f 为 Exec=bash -i -c "/home/cjn/soft 阅读全文
posted @ 2020-06-19 17:40 penuel 阅读(718) 评论(0) 推荐(0)
摘要:1.快捷键 F8 高亮 ctrl + 左击 进入函数定义或变量声明处 Alt + , 后退 Alt + . 前进 ctrl + g 跳到固定行 shift + F3 选中一个单词按下后,可按F3,F4查询上一个、下一个 2.关联窗口 这个窗口用来显示文档中的符号在哪些地方进行了引用。如哪些地方调用了 阅读全文
posted @ 2020-06-18 10:02 penuel 阅读(209) 评论(0) 推荐(0)