Opening included file


Let’s say I have a following include in my C source file (of a kernel module)

#include <linux/regmap.h>

Is there any way to quickly open this file in Atom?


There are a couple packages that do this including the open-this package.


I installed open-this, bound the ctrl+k sequence:

'atom-workspace atom-text-editor:not([mini])':
   'ctrl-shift-p': 'open-this:here'

Then went to the include, pressed ctrl+shift+p, nothing happens.
I tried adding some standard include, such as string.h, nothing happens either.


You may want to try one of the other packages that does this kind of thing or report an Issue to the maintainers of open-this. The Atom FAQ has information on how to contact the maintainers of any Atom community package or theme.


It looks like you’re overwriting the keyboard shortcut for the Command Palette, which isn’t a good idea. Best use a different keyboard shortcut