Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Merged
merged 1 commit into from about 2 years ago

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 February 29, 2012
Nikolay Krasko goodwinnk closed this February 29, 2012
Zalim Bashorov bashor referenced this pull request from a commit October 24, 2013
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 29, 2012
Sergey Lukjanov Element text for "class object" added de1c4aa
This page is out of date. Refresh to see the latest.
4  idea/src/org/jetbrains/jet/plugin/structureView/JetStructureViewElement.java
@@ -157,6 +157,10 @@ private String getElementText() {
157 157
             if (myElement instanceof JetClassInitializer) {
158 158
                 return "<class initializer>";
159 159
             }
  160
+
  161
+            if (myElement instanceof JetClassObject) {
  162
+                return "<class object>";
  163
+            }
160 164
         }
161 165
 
162 166
         return text;
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.