Skip to content

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

Merged
merged 2 commits into from
Jan 30, 2017
Merged

Context menus added #33

merged 2 commits into from
Jan 30, 2017

Conversation

Vorago
Copy link
Contributor

@Vorago Vorago commented Jan 25, 2017

No description provided.

@Vorago Vorago force-pushed the feature-context-menus branch from 57efd72 to 8e0fceb Compare January 25, 2017 16:00
text="Profile query"
icon="/general/run.png"
description="Profile query">
<keyboard-shortcut first-keystroke="ctrl ENTER"
Copy link
Contributor

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"
Copy link
Contributor

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"
Copy link
Contributor

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");
Copy link
Contributor

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";
Copy link
Contributor

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";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

space after ","

@FylmTM FylmTM merged commit c5359d9 into master Jan 30, 2017
@FylmTM FylmTM deleted the feature-context-menus branch January 30, 2017 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants