statistics and productivity guide

This commit is contained in:
Konstantin Bulenkov
2011-04-25 18:28:52 +04:00
parent 3c1f506c87
commit 96c83cd791
7 changed files with 45 additions and 1 deletions
@@ -15,6 +15,7 @@
*/
package com.intellij.openapi.diff.actions;
import com.intellij.featureStatistics.FeatureUsageTracker;
import com.intellij.ide.diff.DirDiffSettings;
import com.intellij.ide.diff.VirtualFileDiffElement;
import com.intellij.openapi.actionSystem.AnAction;
@@ -34,6 +35,7 @@ public class CompareDirectoriesAction extends AnAction {
public void actionPerformed(AnActionEvent e) {
final Project project = getEventProject(e);
final VirtualFile[] files = e.getData(PlatformDataKeys.VIRTUAL_FILE_ARRAY);
FeatureUsageTracker.getInstance().triggerFeatureUsed("dir.diff");
if (project != null && files != null) {
VirtualFileDiffElement src = null;
VirtualFileDiffElement trg = null;
@@ -103,6 +103,7 @@ group.ui=UI Usability Features
group.ant=Ant support features
# suppress inspection "UnusedProperty"
group.tools=Tools support
group.diff=Diff Tools
navigation.popup.action=Go to action
@@ -116,3 +117,5 @@ codeassists.highlight.throws=Highlight method throws
find.recent.search=Recent searches history
find.completion=Completion in Find Bar
switcher=Switcher
dir.diff=Directory Diff
jar.diff=Jar Files Diff
@@ -65,4 +65,9 @@ public class DirDiffDialog extends DialogWrapper {
public JComponent getPreferredFocusedComponent() {
return myDiffPanel.getTable();
}
@Override
protected Action[] createActions() {
return new Action[]{};
}
}
+9
View File
@@ -0,0 +1,9 @@
<html>
<body style="font-family: Verdana; font-size: 13;" LEFTMARGIN="25" TOPMARGIN="25">
<table cellpadding="15" width="98%" border="0">
<tr>
<td>To compare two directories select one or both of them in Project View and press &shortcut:CompareDirs;</td>
</tr>
</table>
</body>
</html>
+9
View File
@@ -0,0 +1,9 @@
<html>
<body style="font-family: Verdana; font-size: 13;" LEFTMARGIN="25" TOPMARGIN="25">
<table cellpadding="15" width="98%" border="0">
<tr>
<td>To compare two jar files select one or both of them in Project View and press &shortcut:CompareJars;</td>
</tr>
</table>
</body>
</html>
+2
View File
@@ -140,4 +140,6 @@
<tip file="EnterDirectoryInGotoFile.html"/>
<tip file="GotoLineInFile.html"/>
<tip file="AnnotationsAndDiffs.html"/>
<tip file="DirDiff.html"/>
<tip file="JarDiff.html"/>
</tips>
+15 -1
View File
@@ -466,5 +466,19 @@
first-show="6"
successive-show="10"
min-usage-count="1"/>
</group>
</group>
<group id="diff">
<feature
id="dir.diff"
tip-file="DirDiff.html"
first-show="6"
successive-show="10"
min-usage-count="1"/>
<feature
id="jar.diff"
tip-file="JarDiff.html"
first-show="6"
successive-show="10"
min-usage-count="1"/>
</group>
</component>