search

Home  >  Q&A  >  body text

Does the vim plug-in youcompleteme have the function of "finding all functions that call this function based on a function definition"?

I just started using vim and installed youcompleteme. It is possible to jump to the function definition, but it seems that you cannot find where the function is called based on where the function is defined.
Please help me, do you have any good solutions?

迷茫迷茫2826 days ago1072

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:40:05

    There is cscope to implement this function
    But I have only used this to develop C. I don’t know how it supports other languages. You can investigate it yourself~

    However, these IDE features of vim need to be implemented with the help of third-party tools, so it is not friendly
    It is recommended to use an IDE that supports vim editing mode to solve these problems

    Unless you write code directly on the server side. .

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 16:40:05

    Use cscope

    reply
    0
  • Cancelreply