Code Monkey home page Code Monkey logo

Comments (5)

leoliu avatar leoliu commented on May 27, 2024

Hi richardleo,

Thanks for the bug report. Let's see if there is something to be done to improve this scenario.

If you search Htree2::Htree2, does ggtags give you better results? Try C-u M-. and feed it with Htree2::Htree2. if it does, you can customise ggtags-bounds-of-tag-function to teach ggtags how best to get tag at point.

Do you use the M-} and M-{ that moves from file to file? It could get you to Htree2::Htree2c in two steps per your screenshot.

Thanks,
Leo

from ggtags.

4u9u5tsong avatar 4u9u5tsong commented on May 27, 2024

Leo,

Thank you for your quick response.

C-u M-. doesn't work for Htree2::Htree2.
Yes, I use M-} and M-{, but usually it's more intuitive to have the definition at the top.

BTW, I tried the latest version, for many variables, it flashes without an output.
I found for some variables, the global command line invoked by M-. is not correct.

Again, good tool, look forward to updates.

Thanks for your development effort!

from ggtags.

leoliu avatar leoliu commented on May 27, 2024

Thank you, I just fixed M-.. Let me know if there are other problems.

I just pulled a C++ project to try out. I think what you are missing (i.e. find definition for constructors) is due to the C++ parser in GNU Global. The correct course of action is to make a feature request to GNU Global, whose author seems responsive most times.

But there may be something ggtags can do? For example maybe a jump-to-first error hook? I'll think about this and get back.

Thanks,
Leo

from ggtags.

4u9u5tsong avatar 4u9u5tsong commented on May 27, 2024

yes, you are right. It seems to be a basic requirement for C++ programmer, I may try to ping the global guy later.
Unfortunately I don't program in elisp, mostly working on C++, otherwise I would like to contribute some efforts too.

Have a upcoming deadline now, I'll let you know my thoughts and experience.
Plus, you seems also a Chinese, www.newsmth.net has a board called "Emacs", you should advertise this tool 👍
I will recommend it to my friends.
Thank you.

from ggtags.

leoliu avatar leoliu commented on May 27, 2024

Thank you for your kind words. And yes I do browse newsmth.net from time to time. Don't worry about the elisp thing. Your bugs reports are highly appreciated. - Leo

from ggtags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.