<idea-plugin version="2">
- <name>Byte Code Viewer</name>
+ <name>Bytecode Viewer</name>
<id>ByteCodeViewer</id>
<version>0.1</version>
- <description>Viewing java bytecode inside IntelliJ IDEA.</description>
+ <description>
+ <![CDATA[Provides <i>View | Show Bytecode</i> action for easy inspection of Java bytecode instructions inside IntelliJ IDEA.]]>
+ </description>
<vendor>JetBrains</vendor>
<extensionPoints>
<actions>
<group>
- <action id="ByteCodeViewer" class="com.intellij.byteCodeViewer.ShowByteCodeAction" text="Show Byte Code"/>
+ <action id="ByteCodeViewer" class="com.intellij.byteCodeViewer.ShowByteCodeAction" text="Show Bytecode"/>
<add-to-group group-id="QuickActions" anchor="after" relative-to-action="QuickJavaDoc"/>
</group>
</actions>
/*
- * Copyright 2000-2013 JetBrains s.r.o.
+ * Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
private static final Logger LOG = Logger.getInstance("#" + ByteCodeViewerManager.class.getName());
- public static final String TOOLWINDOW_ID = "Byte Code Viewer";
+ private static final String TOOLWINDOW_ID = "Byte Code Viewer";
private static final String SHOW_BYTECODE_IN_TOOL_WINDOW = "BYTE_CODE_TOOL_WINDOW";
private static final String BYTECODE_AUTO_UPDATE_ENABLED = "BYTE_CODE_AUTO_UPDATE_ENABLED";
@Override
protected String getAutoUpdateTitle() {
- return "Auto Show Byte Code for Selected Element";
+ return "Auto Show Bytecode for Selected Element";
}
@Override
protected String getAutoUpdateDescription() {
- return "Show byte code for current element automatically";
+ return "Show bytecode for current element automatically";
}
@Override
protected String getRestorePopupDescription() {
- return "Restore byte code popup behavior";
+ return "Restore bytecode popup behavior";
}
@Override
/*
- * Copyright 2000-2013 JetBrains s.r.o.
+ * Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
final RelativePoint bestPopupLocation = JBPopupFactory.getInstance().guessBestPopupLocation(dataContext);
final SmartPsiElementPointer element = SmartPointerManager.getInstance(project).createSmartPsiElementPointer(psiElement);
- ProgressManager.getInstance().run(new Task.Backgroundable(project, "Searching byte code...") {
+ ProgressManager.getInstance().run(new Task.Backgroundable(project, "Looking for bytecode...") {
private String myByteCode;
private String myErrorMessage;
private String myErrorTitle;
@Override
public void run(@NotNull ProgressIndicator indicator) {
if (ProjectRootManager.getInstance(project).getFileIndex().isInContent(virtualFile) && isMarkedForCompilation(project, virtualFile)) {
- myErrorMessage = "Unable to show byte code for '" + psiElementTitle + "'. Class file does not exist or is out-of-date.";
+ myErrorMessage = "Unable to show bytecode for '" + psiElementTitle + "'. Class file does not exist or is out-of-date.";
myErrorTitle = "Class File Out-Of-Date";
}
else {
}
else {
if (myByteCode == null) {
- Messages.showErrorDialog(project, "Unable to parse class file for '" + psiElementTitle + "'.", "Byte Code not Found");
+ Messages.showErrorDialog(project, "Unable to parse class file for '" + psiElementTitle + "'.", "Bytecode not Found");
return;
}
final ByteCodeViewerComponent component = new ByteCodeViewerComponent(project, null);