Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for KT-1334 Class object in "Show Structure View" action #1

Merged
merged 1 commit into from

2 participants

Sergey Lukjanov Nikolay Krasko
Sergey Lukjanov

Here is a small fix for displaying "" in "Show Structure View" action instead of empty line. Navigation to class object element works fine.

Nikolay Krasko goodwinnk merged commit 042dc82 into from
Zalim Bashorov bashor referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
Zalim Bashorov bashor referenced this pull request from a commit
Zalim Bashorov bashor #1 8f8a1a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 29, 2012
  1. Sergey Lukjanov
This page is out of date. Refresh to see the latest.
4 idea/src/org/jetbrains/jet/plugin/structureView/JetStructureViewElement.java
View
@@ -157,6 +157,10 @@ private String getElementText() {
if (myElement instanceof JetClassInitializer) {
return "<class initializer>";
}
+
+ if (myElement instanceof JetClassObject) {
+ return "<class object>";
+ }
}
return text;
Something went wrong with that request. Please try again.