Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A tool that indexes the symbols (functions, variables, classes, and class methods) of various programming languages.

0
votes
0answers
28 views

Configure Emacs to search for a TAGS file dinamically? [duplicate]

I'm trying to use Ctags with Emacs. I need to configure Emacs to search for a TAGS (generated via ctags) recursively, like so: search in the directory of the current file / view go up in the ...
1
vote
0answers
29 views

How to generate TAGS tables for JavaScript with React?

I'd like to create TAGS tables for JavaScript ES6 code using React like the following: import React from 'react' import { observer } from 'mobx-react' import { Formik, Form, Field } from 'formik' ...
1
vote
1answer
89 views

CSS classes autocomplete not working with web-mode

I'm struggling with a problem with Spacemacs and I don't know what I'm doing wrong (maybe a lot of things). I have created a TAG file for my project. The tags seem to work well because I can navigate ...
1
vote
0answers
41 views

How to set tags-table-list as a per-directory local variable?

I have two tags tables that I would like to be searched/visited when I'm working on one of my R packages. I am able to set them globally with the following code in my .emacs config file: (setq tags-...
1
vote
1answer
70 views

Using advice to run function before tag symbol lookup

I use xref-find-definition to look up the definition of a symbol name. When I call xref-find-definition, I want to Emacs to automatically find and load an appropriately named etags file. For this ...
0
votes
2answers
143 views

can't load python tags table

generating python tags with for file in $(find -type f -regex ".+\\.\(py\)"); do etags -a $file; done doesn't load at emacs with error path/TAGS is not a valid tags file although other language ...
1
vote
1answer
51 views

documentation/specfication for emacs variant of ctags format

Where can I find some thorough documentation / a specification for the Emacs ctags format? The ultimate goal here is to make it easier to generate a tags file in parallel (preferably using a tool like ...
3
votes
1answer
73 views

specifying a syntax-table for use with TAGS file for etags

It would be convenient if I could arrange for visit-tags-table to open the TAGS file automatically with the correct syntax table for the language of the files being indexed in it. That way regular ...
1
vote
2answers
292 views

Automatically locate & use the right etags file for each project?

I'm trying to port my tagging workflow from Vim & ctags to Emacs & etags. I currently use git hooks to write a tags file to .git/tags in ctags format whenever I commit/merge/etc. This keeps ...
0
votes
1answer
211 views

Feasible tags solution for a large Ruby codebase?

I've been working in a large Ruby project using Vim with ctags. I have a git hook that generates an up-to-date tags file whenever I commit/pull/etc. It basically boils down to git ls-files | \ ...
2
votes
1answer
650 views

Jump to definition of function or class in one of the include files?

Take the following sample code: #include <cmath> int main() { double a = -10; double b = std::abs(a); return 0; } When I place the cursor over abs, for example between b and s, I ...
2
votes
1answer
160 views

Load a large TAGS file from a remote host at a Windows machine

I run Emacs locally on my Windows machine, but edit everything remotely, via tramp & plink (PuTTY's implementation of ssh). This all works just fine, but, as I found out today, TAGS files for ...
2
votes
2answers
498 views

C Source code browsing similar to eclipse

Currently I am using eclipse to browse cross compiled C source code. I don't have back end cross compiler to actually compile and build the code. But eclipse create source browse tree. I want to have ...
1
vote
0answers
164 views

tags-add-tables / list of tag tables

I can't find a concise answer to this question, only big manuals for which I'm not sure reading them will give me the answer... Spacemacs & haskell-mode are now giving me tag navigation by default ...
5
votes
1answer
378 views

Regenerate ctags TAGS file without freezing Emacs for a while?

When I'm currently in a large project and I call the command projectile-regenate-tags, the project will be scanned by ctags and the tags will be stored in the TAGS file. While all this action is ...
0
votes
1answer
90 views

Where is the tag table located?

I'm relatively new to emacs and currently working through the introduction to elisp. In chapter 4 I came across the find-tag which should display the source code of its argument. I typed M-x find-tag ...
2
votes
1answer
140 views

Tags searching and completion

I've tried to create a tags table for my assembler project using: etags --language=none --regex="/[ \t]*\.\([^: \t]+\)/\1/i" *.asm Which does work to a degree, and indeed when I load the TAGS file ...
0
votes
1answer
517 views

Emacs hangs to due to looking for TAGS file on remote machine

I am working on a local file and I will see these TRAMP messages: Tramp: Opening connection for YYY@XXX.XXX.com using ssh... Tramp: Sending command `exec ssh -l YYY -o ControlPath=/var/folders/4c/...
4
votes
1answer
223 views

Opposite of pop-tag-mark

I just found out about the function pop-tag-mark (M-* by default) to go back after a find-tag (or in this case after a racer-find-definition). Occasionally I would like to go "forward" again after ...
0
votes
1answer
83 views

How to restrict find-tag-regexp to search only the symbol part of TAGS

A typical line in a TAGS file looks like this (note use of special characters ^? and ^A) (defvar copyright-owner user-full-name^?copyright-owner^A213,7296 and a find-tag-regexp will search the ...
11
votes
1answer
490 views

Never “Keep current list of tags tables also”

If I'm working in a directory with its own TAGS file, and then I move to another directory, with its own TAGS file, I always get asked this question: Keep current list of tags tables also? (y or n) ...
3
votes
1answer
296 views

Include vendor's tags for ruby-mode and ggtags

I'm trying to install and configure the ggtags package. Primarily, I use it for a ruby on rails projects (enh-ruby-mode). I can generate ctags including all vendor's files for my project with the ...
3
votes
0answers
147 views

Class inheritance tree in ECB

I'd like to see the inheritance tree for classes which I have currently open, similarly to how it ECB shows related files (e.g. I have a class B in my buffer, its parent A and child C are in different ...
2
votes
2answers
134 views

Why is TAGS table setting persistent?

I have in my startup init file a setting: (setq tags-table-list (list "~/linux/TAGS")) After using emacs and TAGS tables, I now want to change that to: (setq tags-table-list (list "~/trunk/TAGS")) ...
5
votes
2answers
2k views

Emacs TAGS file in Windows?

One way to look into the source code of any function in Emacs is to use the M-. (find tag). When I do this in Windows platform Emacs 24 I get Find tag: in the minibuffer asking to enter the name of a ...
7
votes
2answers
2k views

Class Browsing in C++

I'm working with a large codebase and often find it to be tedious and hard to understand class relationships. I found the following wiki that describes various tools for working with OOP in C++, but ...
7
votes
1answer
1k views

“Making tag completion table” Freezes/Blocks — how to disable

TLDR: I've got a large tags file that loads multiple times per session, making it unusable. Can't find the source of issue or how to disable it -- main goal is to jump to tags, but completion would ...
6
votes
1answer
407 views

ctags over tramp

A lot of things including M-x compile work fine over tramp, but find-tag seems to be the exception: it attempts to jump to a location in a local file. Would someone investigate why it's doing this, ...