mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
statistics and productivity guide
This commit is contained in:
+2
@@ -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[]{};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user