在leetcode网页上刷题时,总认为网页写代码有诸多不便,因为到底程序员还是用编译器写代码,编译器有强大的提示功能等等。所以,用编辑器来在leetCode上刷题是很方便的,我就在google上搜索了一通,知名度教高的就属LeetCode for VS Code。下面就介绍如何配置LeetCode for VS Code插件。
1,如何下载LeetCode for VS Code插件。
(1)网页下载:https://marketplace.visualstudio.com/itemdetails?itemName=shengchen.vscode-leetcode
(2)在VS Code上下载:
教程:
https://github.com/jdneo/vscode-leetcode/blob/master/docs/README_zh-CN.md
1,登录遇到的问题:
https://github.com/jdneo/vscode-leetcode/issues/44
英文版的leetcode(总官网)和中国地区的leetcode登录账户不一样,我搞混了,希望大家不要踩这个坑。
2,使用中文版的leetcode:
vscode-leetcode 的github有此教程: