-
Notifications
You must be signed in to change notification settings - Fork 56
Context menus added #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
57efd72
to
8e0fceb
Compare
text="Profile query" | ||
icon="/general/run.png" | ||
description="Profile query"> | ||
<keyboard-shortcut first-keystroke="ctrl ENTER" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove shortcut.
text="Explain query" | ||
icon="/general/run.png" | ||
description="Explain query"> | ||
<keyboard-shortcut first-keystroke="ctrl ENTER" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove shortcut
<action id="GraphDatabaseActionGroup.ExplainQuery" | ||
class="com.neueda.jetbrains.plugin.graphdb.jetbrains.actions.execute.ExplainQueryAction" | ||
text="Explain query" | ||
icon="/general/run.png" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any other icons that are more suitable here?
@@ -89,14 +88,16 @@ public void actionPerformed(AnActionEvent e) { | |||
} | |||
} | |||
|
|||
Analytics.event("query-content", caret.hasSelection() ? "contentFromSelect" : "contentFromCaret"); | |||
Analytics.event("query-query", caret.hasSelection() ? "contentFromSelect" : "contentFromCaret"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert to "query-content"
|
||
public class MetadataLabelToAction extends MetadataAction { | ||
|
||
private static final String QUERY = "MATCH (n:%s)<-[r]-() RETURN TYPE(r),r LIMIT 25"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lowercase "type", space after ","
|
||
public class MetadataLabelFromAction extends MetadataAction { | ||
|
||
private static final String QUERY = "MATCH (n:%s)-[r]->() RETURN type(r),r LIMIT 25"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space after ","
No description provided.