| Inconsistent/erratic (indexer?) source code navigating behavior in Mars.1 , .2 [message #1729034] |
Sat, 09 April 2016 16:14 |
Eclipse User |
|
|
|
Rather frustrating to say the least.
When working with a C++14 project source (around 1000 files), frequently it fails to jump from a member declaration in .h to definition in .cpp. Yet, for other member functions of the same class it does it w/o issues.
Index sizing set to 512MB, plenty of RAM given to jvm.
Example code below.
Another issue - when asking to see class in type hierarchy, it would randomly show and miss some of the ancestors - literally between successive invocation of type hierarchy displays
############# Proxygen source code #########
.h file:
class EchoHandler : public proxygen::RequestHandler {
public:
explicit EchoHandler(EchoStats* stats);
void onRequest(std::unique_ptr<proxygen::HTTPMessage> headers)
noexcept override;
void onBody(std::unique_ptr<folly::IOBuf> body) noexcept override;
void onEOM() noexcept override;
void onUpgrade(proxygen::UpgradeProtocol proto) noexcept override;
void requestComplete() noexcept override;
void onError(proxygen::ProxygenError err) noexcept override;
private:
EchoStats* const stats_{nullptr};
std::unique_ptr<folly::IOBuf> body_;
};
It would jump between decl/definition for all the functions just fine, except for onRequest(..) and onBody(...) - may be due to presence of std::unique_ptr ?
|
|
|
Powered by
FUDForum. Page generated in 0.02959 seconds