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 {
2222
2323 @ Override
2424 public void actionPerformed (AnActionEvent e ) {
25- // TODO: insert action logic here
2625 Editor editor = e .getData (PlatformDataKeys .EDITOR );
2726 if (editor == null ) return ;
2827 Project project = e .getProject ();
@@ -77,8 +76,6 @@ public void run(@NotNull ProgressIndicator indicator) {
7776 String serverAddr = props .getProperty ("server-address" );
7877
7978 result = HttpClientPool .getHttpClient ().post ("http://" + serverAddr + ":5000/s" , selectedText );
80- // result = HttpClientPool.getHttpClient().post("http://127.0.0.1:5000/s", s);
81-
8279 } catch (Exception ex ) {
8380 ex .printStackTrace ();
8481 Messages .showMessageDialog ("Failed to connect to server." , "Information" , Messages .getInformationIcon ());
You can’t perform that action at this time.
0 commit comments