【文件属性】:
文件名称:leetcode题库-LeetCode_LocalDebug_Cpp:在clion中本地调试LeetCode
文件大小:1.63MB
文件格式:ZIP
更新时间:2021-06-29 19:15:57
系统开源
leetcode题库
在Clion上调试LeetCode代码
Debug
LeetCode
local
in
clion
在leetcode上做题调试起来总有些不方便,所以查阅了一些资料后,按以下配置,自我感觉效率还行,分享给大家。祝大家刷题愉快。
参考:
源码:
依赖Clion插件
使用方法
1.安装上述插件
打开CLion设置,在Plugins
搜索
leetcode
即可找到插件
leetcode
editor,并安装。
搜索
Single
File
即可找到插件
C/C++
Single
File
Execution,并安装。
2.配置LeetCode插件
打开
首选项(Preferences)=>Tools=>leetcode
plugin
自行设置登录名与密码
Code
Type
:选择C++
LoginName
:
LeetCode用户名
Password
:
LeetCode密码
TempFilePath
:设置到项目根目录。
Cutstom
Temlate
:自定义模板,打开。
CodeFileName
:Leetcode文件名称,建议设置为$!{question
【文件预览】:
LeetCode_LocalDebug_Cpp-master
----.gitignore(325B)
----shotcuts()
--------plugin.png(578KB)
--------leetcode.png(1.1MB)
----README.md(3KB)
----.idea()
--------.gitignore(249B)
--------misc.xml(240B)
--------vcs.xml(180B)
--------LeetCode_LocalDebug.iml(97B)
--------.name(14B)
--------modules.xml(290B)
--------leetcode()
----.gitattributes(66B)
----CMakeLists.txt(337B)
----leetcode()
--------editor()