"Outline" not working for C++?


#1

[Moved from “Support” to “Bugs” when i noticed it works as expected on Firefox.]

i feel i’m missing something obvious here…
when click “Outline” on the far-right menu i do not see anything useful.
(i was expecting a summary of my classes, functions, etc.)

consider the following minimal test case:

hello-world.cc:

#include
#include "test.h"
int main() {
std::cout << “Hello World!” << std::endl;
Test test;
test.TestMethod(10);
}

test.h:

#include
class Test {
public:
Test(){
std::cout << “Test::Test()” << std::endl;
}
void TestMethod(int i){
std::cout << “Test::TestMethod(” << i << “)” << std::endl;
}
};

both these files are marked “C and C++” in the editor so i presume Cloud9 is correctly recognising them as C++ source files.
what am i missing?

Google Chrome: 51.0.2704.63 (Official Build) (64-bit)
Revision: 2989ec7055a268f05554172b2207a34c0c842b8d-refs/branch-heads/2704@{#656}
OS: Linux

thanks,
dunk.


#2

ah, interesting…
Firefox 46.0.1 works as expected. (“Outline” correctly displays code structure.)
looks like this is a problem with Chrome 51.0.2704.63.

let me see if it’s possible to move this from “Support” to “Bugs”…

[Further update]
after restarting Chrome it’s now working there too. (i’m annoyed i did not try this sooner.)

for anyone else encountering the same problem, try re-loading the page.
note that the “Restart Workspace” option in the Cloud9 menu was not sufficient.

apologies for the noise.