|
| 1 | +<div> |
| 2 | + <p>Support for leetcode.com and leetcode.cn, can test and submit questions. |
| 3 | + More tutorial please visit: <a href="https://github.com/shuzijun/leetcode-editor">here</a></p> |
| 4 | +</div> |
| 5 | +<br> |
| 6 | +<div> |
| 7 | + <h2>Introduction</h2> |
| 8 | + <br> |
| 9 | + <ul> |
| 10 | + <li>Support for leetcode.com and leetcode.cn, can test and submit questions</li> |
| 11 | + <li>More tutorial please visit: <a href="https://github.com/shuzijun/leetcode-editor">here</a></li> |
| 12 | + </ul> |
| 13 | + <ul> |
| 14 | + <li>支持leetcode.com和leetcode.cn,可测试与提交问题</li> |
| 15 | + <li>更多的插件使用教程: <a href="https://github.com/shuzijun/leetcode-editor">插件使用介绍</a></li> |
| 16 | + </ul> |
| 17 | +</div> |
| 18 | +<br> |
| 19 | +<h2 >Getting Started</h2> |
| 20 | +<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/17/leetcode-editor-3.0.gif" |
| 21 | + alt="start" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p> |
| 22 | + |
| 23 | +<h2 >Local debugging</h2> |
| 24 | +<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/17/customConfig-100.gif" |
| 25 | + alt="loacl" style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p> |
| 26 | + |
| 27 | +<h3 >Configuration (configuration for first installation)</h3> |
| 28 | +<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/17/config-3.0.jpg" alt="config" |
| 29 | + style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p> |
| 30 | + |
| 31 | +<ul> |
| 32 | + <li><strong>Configuration path</strong>: <code>File</code> -> |
| 33 | + <code>settings</code>-><code>tools</code>-><code>leetcode plugin</code> |
| 34 | + <ul> |
| 35 | + <li><strong><code>URL options</code></strong>: <code>leetcode.com</code>OR<code>leetcode.cn</code></li> |
| 36 | + <li><strong><code>Code Type</code></strong>: <code>Java</code>,<code>Python</code>,<code>C++</code>,<code>Python3</code>,<code>C</code>,<code>C#</code>,<code>JavaScript</code>,<code>Ruby</code>,<code>Swift</code>,<code>Go</code> |
| 37 | + ,<code>Scala</code>,<code>Kotlin</code>,<code>Rust</code>,<code>PHP</code>,<code>Bash</code>,<code>SQL</code> |
| 38 | + </li> |
| 39 | + <li><strong><code>LoginName</code></strong>: Login Username</li> |
| 40 | + <li><strong><code>Password</code></strong>: Login password</li> |
| 41 | + <li><strong><code>Temp File Path</code></strong>: Temporary file storage catalogue</li> |
| 42 | + <li><strong><code>proxy(HTTP Proxy)</code></strong>: HTTP Proxy,config path:<code>File</code> -> <code>settings</code>-><code>Appearance |
| 43 | + & Behavior</code>-><code>System Settings</code>-><code>HTTP Proxy</code></li> |
| 44 | + <li><strong><code>Custom code template</code></strong>: Custom code template (<a |
| 45 | + href="https://github.com/shuzijun/leetcode-editor/blob/master/doc/CustomCode.md">details</a>) (<a |
| 46 | + href="https://github.com/shuzijun/leetcode-question">demo</a>) |
| 47 | + </li> |
| 48 | + <li><strong><code>LevelColour</code></strong>: Customize the difficulty color of the question, it will take |
| 49 | + effect after restart |
| 50 | + </li> |
| 51 | + </ul> |
| 52 | + </li> |
| 53 | +</ul> |
| 54 | +<h3 >Window</h3> |
| 55 | +<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/17/window-3.0.jpg" alt="window" |
| 56 | + style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p> |
| 57 | + |
| 58 | +<ul> |
| 59 | + <li><strong>Toolbar</strong>: |
| 60 | + <ul> |
| 61 | + <li><strong><code>Sign in</code></strong>:The login accounts of the two websites are not |
| 62 | + interoperable and the corresponding users need to be configured when switching websites. |
| 63 | + </li> |
| 64 | + <li><strong><code>Sign out</code></strong>:Exit the current account, if you encounter a |
| 65 | + login error, try to exit first. |
| 66 | + </li> |
| 67 | + <li><strong><code>Refresh</code></strong>:You can also refresh and load questions if you |
| 68 | + are not logged in, but you cannot submit it. |
| 69 | + </li> |
| 70 | + <li><strong><code>pick</code></strong>:Open a problem randomly. |
| 71 | + </li> |
| 72 | + <li><<strong><code>Find</code></strong>:Open filter panel. You can search, filter and sort. |
| 73 | + </li> |
| 74 | + <li><strong><code>Session</code></strong>:Open the Session panel. You can view or switch |
| 75 | + sessions. |
| 76 | + </li> |
| 77 | + <li><strong><code>Toggle List</code></strong>:Switch to other list windows, including "All |
| 78 | + Problem List" , "Paginated Problem List" , "CodeTop Problem List". |
| 79 | + </li> |
| 80 | + <li><strong><code>Settings</code></strong>:Quick jump to the configuration page. |
| 81 | + </li> |
| 82 | + <li><strong><code>Clear</code></strong>:Clean up the files in the configured cache |
| 83 | + directories. The cache directories of the two websites are different and only the current configured |
| 84 | + websites are cleaned up. Carefully clean up cases without submitting. |
| 85 | + </li> |
| 86 | + </ul> |
| 87 | + </li> |
| 88 | +</ul> |
| 89 | +<h3 >Menu</h3> |
| 90 | +<p align="center"><img src="https://s1.imagehub.cc/images/2022/07/17/menu-3.0.jpg" alt="menu" |
| 91 | + style="width: auto;height: auto;max-width: 90%; max-height: 90%;"></p> |
| 92 | + |
| 93 | + |
| 94 | +<ul> |
| 95 | + <li><strong>Menu (right-click on the questions)</strong>: |
| 96 | + <ul> |
| 97 | + <li><strong><code>open question</code></strong>:Open the question or double click on the question</li> |
| 98 | + <li><strong><code>open content</code></strong>:Show content(Rely on Markdown)</li> |
| 99 | + <li><strong><code>Submit</code></strong>:Submit the question</li> |
| 100 | + <li><strong><code>Submissions</code></strong>:View the submission record, select the record details in the |
| 101 | + pop-up window(<code>Show detail</code>) |
| 102 | + </li> |
| 103 | + <li><strong><code>Run Code</code></strong>:Run the code, the test case for the question is used by default |
| 104 | + </li> |
| 105 | + <li><strong><code>Testcase</code></strong>:Customize test cases</li> |
| 106 | + <li><strong><code>favorite</code></strong>:Add or remove favorite</li> |
| 107 | + <li><strong><code>Clear cache</code></strong>:Clean up the current question</li> |
| 108 | + <li><strong><code>Timer</code></strong>:Timer, when it is turned on, it will prompt the problem solving time |
| 109 | + in the status bar in the lower right corner |
| 110 | + </li> |
| 111 | + </ul> |
| 112 | + </li> |
| 113 | +</ul> |
| 114 | +<p><br></p> |
| 115 | +<ul> |
| 116 | + <li><strong>Editor Menu(Right-click on Editor to appear)</strong>:<br>Function as above</li> |
| 117 | +</ul> |
| 118 | +<p><br></p> |
| 119 | +<ul> |
| 120 | + <li><strong>Question Editor</strong>: |
| 121 | + <ul> |
| 122 | + <li><strong><code>Content</code></strong>:Show content(Rely on Markdown)</li> |
| 123 | + <li><strong><code>Solution</code></strong>:show solution</li> |
| 124 | + <li><strong><code>Submissions</code></strong>:View the submission record</li> |
| 125 | + <li><strong><code>Note</code></strong>:Show note</li> |
| 126 | + </ul> |
| 127 | + </li> |
| 128 | +</ul> |
0 commit comments