CTRL+SHIFT+R Causes Atom to crash
Using the above shortcut which should take me to the location of a declaration instead causes the editor to stop responding on windows and eventually crash.
+1
+1
+1
+1 on Mac
+1 on Windows
+1 Mac
+1 on mac
+1 Mac
Idem with CMD+ALT+DOWN
+1 mac
+1 mac
+1 on Linux
This also happens to me on Mac, when opening middle-sized project. On small project it runs fine. Would love to see this scale so I can use Atom full time :smile:
I suspect this bug is performance-related (out of memory, or process killed because taking too much time)? I will try to learn the code when I get the chance.
probably same bug: https://github.com/v3ss0n/goto/issues/16
+1 Mac. My project folder is huge - over 3 GB - however the majority of that is in .gitignore. Does this plugin respect .gitignore?
EDIT: Actually, I can't even use it inside the goto source itself!
The plugin had other issues other than the perf from indexing larger projects (mainly neglect), but as of 1.8.0, it should be working again, at least for its own source code.
I still sometimes have trouble using this plugin in larger codebases, but I can recommend a few techniques to help:
- Make sure to include file names and extensions you don’t care about in your “More ignored names” options, like:
.css .svg webpack.config.js package.json - Exclude your test files (could just be
testsif all your tests are in a directory names tests or*.test.jsif all of your test files have that suffix)
@henrebotha https://github.com/v3ss0n/goto/blob/master/lib/symbol-index.coffee#L188 is there to skip any paths that match any .gitignore entries.
+1 Linux Mint. Interestingly, it works perfectly when i have no editor windows open. Once I have one open, ctrl+alt+r hangs/crashes.
@broesdecat Any details about your project that causes the crash that you could share? Would be particularly great to have a repo or folder where the bug is reliably reproducible. Also, have you tried when opening different projects? Does it always crash, or only on some projects? Thanks!
I tried to reproduce the issue today, but failed :( I no longer have the crash in the project in which I originally had it (https://github.com/tpaviot/oce/wiki) nor on another one I tried now.
I only started using Atom last week and continued to customize my environment after the crashes. It seems one of those changes also resolved the crash, but I do not expect to be able to pinpoint which one in retrospect...