Adding Typescript module voids structure view

The structure view works great when I want to browse a collection of classes and their attributes in a typescript file. But when I enclose the classes in a module, the structure view is emptied. Am I missing something? Should I be filing a bug for this? This is on Webstorm 9.03.

As an example, this:

 
module Foo {
    class Bar {
        setValue(newValue) {
            var blah = "foobar baz";
        }
    }
}


yields this:
Screen Shot 2015-02-24 at 11.06.52 AM.png

2 comments
Comment actions Permalink

Press 'Show fields' button ( (f) ) in Structure view toolbar.
Logged as https://youtrack.jetbrains.com/issue/WEB-15443

0
Comment actions Permalink

That works, thanks. Thanks also for logging it as a bug, since it is misleading to think of a module as a field. :)

0

Please sign in to leave a comment.