Skip to content

Do Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio

License

Notifications You must be signed in to change notification settings

shuzijun/leetcode-editor

Repository files navigation

Leetcode Editor Leetcode Editor

Release Snapshot License Plugin Homepage Version Pro Plugin Homepage Version Downloads English Document 中文文档 捐赠 内推

demo


Introduction

Do Leetcode exercises in IDE, support leetcode.com and leetcode.cn, meet the needs of problem solving and debugging. Support theoretically: IntelliJ IDEA,PhpStorm,WebStorm,PyCharm,RubyMine,AppCode,CLion,GoLand,DataGrip,Rider MPS,Android Studio.

Getting Started

start

Local debugging

loacl

Installation(help)

Configuration (configuration for first installation)

config

  • Configuration path: File -> settings->tools->leetcode plugin
    • URL options: leetcode.comORleetcode.cn
    • Code Type: Java,Python,C++,Python3,C,C#,JavaScript,Ruby,Swift,Go ,Scala,Kotlin,Rust,PHP,Bash,SQL
    • LoginName: Login Username
    • Password: Login password
    • Temp File Path: Temporary file storage catalogue
    • proxy(HTTP Proxy): HTTP Proxy,config path:File -> settings->Appearance & Behavior->System Settings->HTTP Proxy
    • Custom code template: Custom code template (details) (demo)
    • LevelColour: Customize the difficulty color of the question, it will take effect after restart

Window

window

  • Toolbar:
    • loginSign in:The login accounts of the two websites are not interoperable and the corresponding users need to be configured when switching websites.
    • logoutSign out:Exit the current account, if you encounter a login error, try to exit first.
    • refreshRefresh:You can also refresh and load questions if you are not logged in, but you cannot submit it.
    • pickpick:Open a problem randomly.
    • findFind:Open filter panel. You can search, filter and sort.
    • progressSession:Open the Session panel. You can view or switch sessions.
    • toggleToggle List:Switch to other list windows, including "All Problem List" , "Paginated Problem List" , "CodeTop Problem List".
    • configSettings:Quick jump to the configuration page.
    • clearClear:Clean up the files in the configured cache directories. The cache directories of the two websites are different and only the current configured websites are cleaned up. Carefully clean up cases without submitting.

Menu

menu

  • Menu (right-click on the questions):
    • open question:Open the question or double click on the question
    • open content:Show content(Rely on Markdown)
    • Submit:Submit the question
    • Submissions:View the submission record, select the record details in the pop-up window(Show detail)
    • Run Code:Run the code, the test case for the question is used by default
    • Testcase:Customize test cases
    • favorite:Add or remove favorite
    • Clear cache:Clean up the current question
    • Timer:Timer, when it is turned on, it will prompt the problem solving time in the status bar in the lower right corner

  • Editor Menu(Right-click on Editor to appear):
    Function as above

  • Question Editor:
    • Content:Show content(Rely on Markdown)
    • Solution:show solution
    • Submissions:View the submission record
    • Note:Show note

Support and Donations

About

Do Leetcode exercises in IDE, support leetcode.com and leetcode-cn.com, to meet the basic needs of doing exercises.Support theoretically: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand DataGrip Rider MPS Android Studio

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages