Envoy: what IDE your team use

Created on 11 Dec 2018  ·  7Comments  ·  Source: envoyproxy/envoy

Hi all,
what IDE your team use for C++? the source insight and VS 2017 is support not good like those code.

class TagProducer {
public:
~TagProducer() {}
std::string produceTags() const PURE;
int other_member_;
};

typedef std::unique_ptr TagProducerPtr;

TagProducerPtr tag_producer_;

it is can NOT list the members of tag_producer_ automatic, is there any IDE support list this kind of members?

question

Most helpful comment

@doodlesbykumbi In envoy directory:

  1. bazel-cmakelists --targets //test/...
  2. wait until it finishes (it is a full build so it is time consuming)
  3. open the directory with CLion

All 7 comments

Not at all helpful to you, but most of our team uses vim or emacs. Finding cross-inheritance members is a huge pain-point, though eased a little bit by internal tooling.

I use CLion, with a script to generate CMakeLists.txt for CLion to index codes.

thanks all, I will try CLion.

@lizan how exactly do you use that script with envoy ? gist please :)

@doodlesbykumbi In envoy directory:

  1. bazel-cmakelists --targets //test/...
  2. wait until it finishes (it is a full build so it is time consuming)
  3. open the directory with CLion

@lizan tried it. failed. i guess there's a bunch of dependencies on OSX missing 🤷‍♂️. thanks all the same

@doodlesbykumbi Hmm, if you can do bazel build //test/... then the script shouldn't fail. I use it on macOS everyday.

Was this page helpful?
0 / 5 - 0 ratings