File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ public class GenerateCommentAction extends AnAction {
22
22
23
23
@ Override
24
24
public void actionPerformed (AnActionEvent e ) {
25
- // TODO: insert action logic here
26
25
Editor editor = e .getData (PlatformDataKeys .EDITOR );
27
26
if (editor == null ) return ;
28
27
Project project = e .getProject ();
@@ -77,8 +76,6 @@ public void run(@NotNull ProgressIndicator indicator) {
77
76
String serverAddr = props .getProperty ("server-address" );
78
77
79
78
result = HttpClientPool .getHttpClient ().post ("http://" + serverAddr + ":5000/s" , selectedText );
80
- // result = HttpClientPool.getHttpClient().post("http://127.0.0.1:5000/s", s);
81
-
82
79
} catch (Exception ex ) {
83
80
ex .printStackTrace ();
84
81
Messages .showMessageDialog ("Failed to connect to server." , "Information" , Messages .getInformationIcon ());
You can’t perform that action at this time.
0 commit comments