Andersbakken / rtags

A client/server indexer for c/c++/objc[++] with integration for Emacs based on clang.
http://www.rtags.net
GNU General Public License v3.0
1.83k stars 253 forks source link

Point-lookups on access modifiers should act similarly to control-flow constructs #882

Open samir-memsql opened 7 years ago

samir-memsql commented 7 years ago

Currently, rtags-find-symbol-at-point on control-flow statements like continue, break and return direct to the enclosing control flow statement (function or loop header). This is very convenient for large functions and loops.

It would be awesome if the same behavior applied to public:, private: and protected: keywords inside classes

Andersbakken commented 7 years ago

Hi Samir

I'm a little confused.

Where would rtags-find-symbol-at-point take me if I used it here:

class Foo { public: void publicFunc(); protected: void protectedFunc(); private: int mMember; };

E.g. on the protected line. Where would it put the cursor?

regards

Anders

On Fri, Jan 6, 2017 at 6:45 PM, samir-memsql notifications@github.com wrote:

Currently, rtags-find-symbol-at-point on control-flow statements like continue, break and return direct to the enclosing control flow statement (function or loop header). This is very convenient for large functions and loops.

It would be awesome if the same behavior applied to public:, private: and protected: keywords inside classes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Andersbakken/rtags/issues/882, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEdSljcn6BWR_IBWmEVn1q7rBzwaENnks5rPvxkgaJpZM4LdToO .