Opening included file


#1

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?


#2

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


#3

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.


#4

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.


#5

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