Code Monkey home page Code Monkey logo

shuzijun / leetcode-editor Goto Github PK

View Code? Open in Web Editor NEW
3.6K 3.6K 399.0 30.2 MB

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

Home Page: https://plugins.jetbrains.com/plugin/12132-leetcode-editor

License: Apache License 2.0

Java 99.16% CSS 0.49% HTML 0.35%
algorithm idea intellij-plugin leetcode

leetcode-editor's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.