atom-ctags
atom-ctags copied to clipboard
Atom crashing
This has worked fine for me up until recently but now it crashes on the same codebase I have been using it on. My Atom and plugin should be fully up to date. Not sure exactly what the issue is. Disappointed to have to stop using it but no choice currently.
I am not sure if this is related, but my Atom project window crashes when ctags successfully builds a reference to my WordPress project files. The (.tags) file produced is between 15Mb to 75Mb depending on the exclude paths I configure in the settings (I need to increase the timeout settings to be make sure ctags completes). Initially when I Rebuild the ctags symbols, the session runs fine and I am able to goto delcarations, however, when I restart Atom, the project window crashes and I have to close (only) this window, delete the .tags file, and reopen my project to get it to work again.
Same issue here, large ctags file causes Atom to crash on opening.
I'm seeing this problem too. I had a flail around disabling various plugins and eventually worked out that it was atom-ctags
causing an "The editor has crashed" error.
Disabling the plugin fixed it.
Deleting and rebuilding .tags
fixed it.
Annoyingly, I forgot to backup the .tags
before I deleted it. So I wonder if it was somehow "corrupt?". That's pure speculation.
My .tags
weren't particularly large:
-rw-r--r-- 1 andypearson staff 16M 14 Jul 17:49 .tags
-rw-r--r-- 1 andypearson staff 6.6K 14 Jul 17:49 .tags1
And a crash report: Atom Helper_2017-07-17-114552_three-headed-monkey.crash.txt
i should mention my ctags file was fairly large was well, 100+MB
Version 1.23.3 of atom still crashed with ctags .tags file not fitting to the expectations of atom-ctags.
atom-ctags crashed with this format, which vim can handle quite well
srs01 srs.rst /^\.\. _`srs0`:/;"
atom-ctags did not crash with
srs01 srs.rst //;" line:5
i.e.
srs01\tsrs.rst\t//;"\t\tline:5
This is the extended format according to http://ctags.sourceforge.net/FORMAT.
atom-ctags seems not to consider the pattern,
but only the line:xxx
. In the Readme.md it is mentioned that ctags -R --fields=+KSn
should be used to generate the .tags file.
It is no good, that atom crashes, though.
It would also be great if the pattern could be considered.
Crashed when generating a 32 MB file.