Closed dsharp-pivotal closed 1 year ago
I am not sure if it is possible. You are correct in your assessment test files that import ginkgo default to the ginkgo struct view. There is a checkbox in the setting to turn it off the ginkgo struct view in settings.
I might be able to add a button to toggle it in the structpane itself will need to see what is possible
Seems like my hands are somewhat tied as the Go struct view is final I cant extend it to add ginkgo support my only options is to swap out the entire tree
Thanks for pointing out the option. Unfortunate that it's only possible to take over the pane rather than add to it.
The Structure pane/view from the Ginkgo plugin is useful, however it replaces the Go structure. For some files, it seems it takes over the structure view even though there are no tests in the file. (At a guess, it's because the file imports Ginkgo, and/or because it's underneath a directory with
test
in the name.) That means the structure view is empty and not useful for navigating the file. Whether or no the file contains any test cases, it would be useful to show both the Ginkgo structure and the Go structure. Is that possible?