[HINT]: ctags is not working for me

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[HINT]: ctags is not working for me

Kunal Chauhan
Hi Team,

My tags are not working as I do the :

1. ctags -R * or ctags -R.
2. I used set tags? To see my current file tags location and set to set tags = ./tags,  etc means where i am in directory which contains tags.
3. Still not able to go to tags by pressing ctrl and bracket  button

Br,
Kc

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACEFAc35O55Pt3XPy%3DeBSH8TtNWygzcfLJX%3Do67n4WMiuQBCQw%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]: ctags is not working for me

Gary Johnson-4
On 2020-10-12, Kunal Chauhan wrote:
> Hi Team,
>
> My tags are not working as I do the :
>
> 1. ctags -R * or ctags -R.
> 2. I used set tags? To see my current file tags location and set to set tags =
> ./tags,  etc means where i am in directory which contains tags.
> 3. Still not able to go to tags by pressing ctrl and bracket  button

You should see an error message telling either that the tag was not
found or that there is no tags file.  Do you see an error message?

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012191659.GA26885%40phoenix.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]: ctags is not working for me

Kunal Chauhan
>You should see an error message telling either that the tag was not
>found or that there is no tags file.  Do you see an error message?  

Gary,
I am not receiving any error while doing the cntrl +].




On 13 Oct 2020 00:47, "Gary Johnson" <[hidden email]> wrote:
On 2020-10-12, Kunal Chauhan wrote:
> Hi Team,
>
> My tags are not working as I do the :
>
> 1. ctags -R * or ctags -R.
> 2. I used set tags? To see my current file tags location and set to set tags =
> ./tags,  etc means where i am in directory which contains tags.
> 3. Still not able to go to tags by pressing ctrl and bracket  button

7
Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012191659.GA26885%40phoenix.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACEFAc259bApXpG2NAtG%3DzY%3DZ-x37nRBN6QDzuyz1N9%2Bt7ZTwQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]: ctags is not working for me

Gary Johnson-4
On 2020-10-13, Kunal Chauhan wrote:
> >You should see an error message telling either that the tag was not
> >found or that there is no tags file.  Do you see an error message?  
>
> Gary,
>
>     I am not receiving any error while doing the cntrl +].

Kunal,

In a quick search of the web, I found that the causes of that
problem include using a non-English (perhaps non-US) keyboard, or
something remapping Ctrl-].

Does it work to search for the tag from your keyboard?  That is, try
executing

    :tag somekeyword

That should tell us if tags work at all and if the problem might be
with the Ctrl-] key combination.

You might try entering insert mode, typing Ctrl-V, then typing
Ctrl-], and seeing what appears.  You should see

    ^]

usually in blue.  Also, executing

    :map <C-]>

will show you any mappings of that key.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012221103.GB26885%40phoenix.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]: ctags is not working for me

Kunal Chauhan
a quick search of the web, I found that the causes of that
problem include using a non-English (perhaps non-US) keyboard, or
something remapping Ctrl-].
Does it work to search for the tag from your keyboard?  That is, try
executing
    :tag somekeyword
That should tell us if tags work at all and if the problem might be
with the Ctrl-] key combination.
You might try entering insert mode, typing Ctrl-V, then typing
Ctrl-], and seeing what appears.  You should see
    ^]
usually in blue.  Also, executing
    :map <C-]>
will show you any mappings of that key.  


Thanks garry.  tags are working fine . but when I press ctrl-]  it wil show  [      in mapping of  ctrl ] it is showing d option but that is not working for me. 

On Tue, Oct 13, 2020 at 3:41 AM Gary Johnson <[hidden email]> wrote:
On 2020-10-13, Kunal Chauhan wrote:
> >You should see an error message telling either that the tag was not
> >found or that there is no tags file.  Do you see an error message?  
>
> Gary,
>
>     I am not receiving any error while doing the cntrl +].

Kunal,

In a quick search of the web, I found that the causes of that
problem include using a non-English (perhaps non-US) keyboard, or
something remapping Ctrl-].

Does it work to search for the tag from your keyboard?  That is, try
executing

    :tag somekeyword

That should tell us if tags work at all and if the problem might be
with the Ctrl-] key combination.

You might try entering insert mode, typing Ctrl-V, then typing
Ctrl-], and seeing what appears.  You should see

    ^]

usually in blue.  Also, executing

    :map <C-]>

will show you any mappings of that key.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012221103.GB26885%40phoenix.


--
Thanks with Regards!

Kunal Chauhan
Mob:09813614826
Mob:08860397903

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACEFAc1HROy6hQ-94GmnYU%2ByATSqZtUtJXsc-w58L2siU6QW-A%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [HINT]: ctags is not working for me

Gary Johnson-4
On 2020-10-13, Kunal Chauhan wrote:

>     a quick search of the web, I found that the causes of that
>     problem include using a non-English (perhaps non-US) keyboard, or
>     something remapping Ctrl-].
>     Does it work to search for the tag from your keyboard?  That is, try
>     executing
>         :tag somekeyword
>     That should tell us if tags work at all and if the problem might be
>     with the Ctrl-] key combination.
>     You might try entering insert mode, typing Ctrl-V, then typing
>     Ctrl-], and seeing what appears.  You should see
>         ^]
>     usually in blue.  Also, executing
>         :map <C-]>
>     will show you any mappings of that key.  
>
>
>
> Thanks garry.  tags are working fine . but when I press ctrl-]  it wil show  [ 
>     in mapping of  ctrl ] it is showing d option but that is not working for
> me. 

Hi Kunal,

I'm glad that much is working.

Under ":help map-listing in my Vim version 8.2.1704, there is no 'd'
option, so I don't know what you mean by that.

But, if when you type Ctrl-V Ctrl-] it shows [, then that may point
to the problem.  Try executing this

    :map Ctrl-V Ctrl-] <C-]>

where Ctrl-V and Ctrl-] are those literal keys.  In other words,
type

    :map

and a space, followed by the keys Ctrl-V and Ctrl-] followed by
another space, then the five characters

    <C-]>

and hit Enter.  That should map whatever your keyboard generates
when you type Ctrl-] to Vim's Ctrl-] command.  After doing that,
typing Ctrl-] should jump to the tag.

Regards,
Gary

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201012232300.GC26885%40phoenix.