leetcode-editor icon indicating copy to clipboard operation
leetcode-editor copied to clipboard

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...

Results 155 leetcode-editor issues
Sort by recently updated
recently updated
newest added

**Desc** 请问如何将题目按照类型进行分类?我试过在leetcode.editor.cn包下建立不同类型的子包,但是在将.java文件从leetcode.editor.cn包下移动到leetcode.editor.cn包中的子包后,该文件就成了一个普通的.java文件,无法Run Code 或者Submit

判断题目搜索框输入的是否为url,如果是url则直接打开题目编辑框 我之前提过一个周赛不能显示的issue,如果添加这个功能可以直接复制url进来打开,[issues](https://github.com/shuzijun/leetcode-editor/issues/696) 对我个人而言是非常需要此功能的!

**点击登录之后提示请求错误 IDEA提示堆栈如下** HttpRequestUtils request error: java.net.MalformedURLException: no protocol: /problemset/ at java.base/java.net.URL.(URL.java:674) at java.base/java.net.URL.(URL.java:569) at java.base/java.net.URL.(URL.java:516) at com.intellij.util.net.HttpConfigurable.openConnection(HttpConfigurable.java:375) at com.intellij.openapi.fileEditor.impl.IdeUiServiceImpl.openHttpConnection(IdeUiServiceImpl.java:138) at com.intellij.util.io.HttpRequests.openConnection(HttpRequests.java:558) at com.intellij.util.io.HttpRequests$RequestImpl.getConnection(HttpRequests.java:361) at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils$HttpResponseProcessor.process(HttpRequestUtils.java:177) at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils$HttpResponseProcessor.process(HttpRequestUtils.java:160) at com.intellij.util.io.HttpRequests.doProcess(HttpRequests.java:524) at...

HttpRequestUtils request error: java.net.UnknownHostException: leetcode.cn at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) at java.base/java.net.Socket.connect(Socket.java:633) at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:178) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:533) at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:638) at java.base/sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:266) at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1287) at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) at...

启动IntelliJ后无法登陆,Leetcode Console显示“请求失败” stacktrace: java.lang.ClassCastException: class com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate cannot be cast to class com.intellij.openapi.application.impl.ApplicationInfoImpl (com.intellij.openapi.application.impl.ApplicationInfoServiceDelegate and com.intellij.openapi.application.impl.ApplicationInfoImpl are in unnamed module of loader com.intellij.util.lang.PathClassLoader @d70c109) at com.shuzijun.leetcode.plugin.utils.SentryUtils.submitErrorReport(SentryUtils.java:31) at com.shuzijun.leetcode.plugin.listener.ErrorReportHandler.submit(ErrorReportHandler.java:32) at com.intellij.diagnostic.IdeErrorsDialog.reportMessage(IdeErrorsDialog.kt:590) at...

duplicate

题单里面不显示周赛题目,其他题目正常显示

插件已经升级最新的 8.9,goland 升级 2023.3.4 后,题目加载后,ide 自带的语法提示、代码高亮颜色等都不好使了,就像在编辑一个 text 文本。 目前 goland 2023.2.6 下一切正常。

[Question] feat: 添加根据语言获取纯代码方法

## 个人调整如下: ![image](https://github.com/shuzijun/leetcode-editor/assets/92625353/88e69e99-3cfd-4377-8f26-c65a2c377f2b) ## 目标代码: ‎Question::getCode ![image](https://github.com/shuzijun/leetcode-editor/assets/92625353/2b8f5cd7-5100-453f-8901-76bd350a0625) ## 建议: - 将红框里面的间隔符删掉 - 由用户根据自定义模板添加 - 新增一个无红框内容的方法 - 以上任何一种支持都可以 (*❦ω❦)

com.shuzijun.lc.errors.LcException: executePost error at com.shuzijun.lc.http.DefaultExecutoHttp.lambda$executePost$2(DefaultExecutoHttp.java:122) at com.shuzijun.lc.http.InterceptorChain.proceed(InterceptorChain.java:36) at com.shuzijun.lc.http.DefaultExecutoHttp.executePost(DefaultExecutoHttp.java:124) at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils.lambda$executePost$2(HttpRequestUtils.java:104) at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils$CacheProcessor.processor(HttpRequestUtils.java:166) at com.shuzijun.leetcode.plugin.utils.HttpRequestUtils.executePost(HttpRequestUtils.java:96) at com.shuzijun.leetcode.plugin.model.HttpRequest$HttpRequestBuilder.request(HttpRequest.java:165) at com.shuzijun.leetcode.plugin.model.Graphql$GraphqlBuilder.request(Graphql.java:136) at com.shuzijun.leetcode.plugin.manager.QuestionManager.getUser(QuestionManager.java:299) at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.getUser(NavigatorTabsPanel.java:176) at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.lambda$new$0(NavigatorTabsPanel.java:103) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at...