2014-11-22 03:58:03

by Andrey Utkin

[permalink] [raw]
Subject: Your editor/IDE settings for autocompletion and other easiness

(I was asked to research this topic to help students. So please ignore
this topic if all you want to say is that it is OK to code in editor
without autocompletion and any other integration, and that there's LXR
website. We all know that.)

Dear kernel developers,
if you have a minute, please share
- what's your configuration for editor integration with sources tree?
(the opposite is "just using any editor")
- which IDE/editor handiness options except autocompletion are
possible to obtain while developing kernel code, and which options do
you use?

If you don't use any special configuration, feel free not to reply.

Thanks!

--
Andrey Utkin


2014-11-22 10:08:20

by Oussama Jabbari

[permalink] [raw]
Subject: Re: Your editor/IDE settings for autocompletion and other easiness

On Sat, Nov 22, 2014 at 4:58 AM, Andrey Utkin
<[email protected]> wrote:
> (I was asked to research this topic to help students. So please ignore
> this topic if all you want to say is that it is OK to code in editor
> without autocompletion and any other integration, and that there's LXR
> website. We all know that.)
>
> Dear kernel developers,
> if you have a minute, please share
> - what's your configuration for editor integration with sources tree?
> (the opposite is "just using any editor")
> - which IDE/editor handiness options except autocompletion are
> possible to obtain while developing kernel code, and which options do
> you use?

Hi,

I already tried kernel drivers dev with Eclipse (it was quite helpful):
https://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_source

I also often use juste vim + cscope for searching the kernel:
make cscope
cscope -d


>
> If you don't use any special configuration, feel free not to reply.
>
> Thanks!
>
> --
> Andrey Utkin
>
> _______________________________________________
> Kernelnewbies mailing list
> [email protected]
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

2014-11-24 16:00:28

by Austin S Hemmelgarn

[permalink] [raw]
Subject: Re: Your editor/IDE settings for autocompletion and other easiness

On 2014-11-21 22:58, Andrey Utkin wrote:
> (I was asked to research this topic to help students. So please ignore
> this topic if all you want to say is that it is OK to code in editor
> without autocompletion and any other integration, and that there's LXR
> website. We all know that.)
>
> Dear kernel developers,
> if you have a minute, please share
> - what's your configuration for editor integration with sources tree?
> (the opposite is "just using any editor")
> - which IDE/editor handiness options except autocompletion are
> possible to obtain while developing kernel code, and which options do
> you use?
>
> If you don't use any special configuration, feel free not to reply.
>
> Thanks!
>
Personally, I use vi/vim with ctags most of the time, and occasionally
just use grep and find directly. I generally don't use any
auto-completion other than automatic indentation (I have a tendency to
spend more time fighting with auto-completion than writing code when I
actually try to use it). In general, I would highly recommend not using
an IDE for working on kernel code unless you can setup the
auto-formatting to be compliant with the coding standards.


Attachments:
smime.p7s (2.40 kB)
S/MIME Cryptographic Signature