[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is the best way to navigate #ifdef and #endif in C program
From: |
Daniel (Youngwhan) |
Subject: |
What is the best way to navigate #ifdef and #endif in C program |
Date: |
Wed, 08 Dec 2010 15:22:25 -0000 |
User-agent: |
G2/1.0 |
Hi,
If there is curly brace, it is easy to navigate between them by M-C-f
and M-C-b in c-mode.
However, I cannot find a way to navigate in like curly brace when it
comes to #ifdef, #else, and #endif.
For example, if there is a code like this:
#ifdef A_DEFINED
(...100 lines)
#else
(... 500 lines)
#endif
, is there a easy way to move the cursor from #endif to #ifdef or
#else and vice versa?
Daniel
- What is the best way to navigate #ifdef and #endif in C program,
Daniel (Youngwhan) <=
- [OT] Re: What is the best way to navigate #ifdef and #endif in C program, Fren Zeee, 2010/12/08
- Re: [OT] Re: What is the best way to navigate #ifdef and #endif in C program, Pascal J. Bourguignon, 2010/12/08
- Re: What is the best way to navigate #ifdef and #endif in C program, Elena, 2010/12/08
- Re: What is the best way to navigate #ifdef and #endif in C program, Arzobispo Andante, 2010/12/09
- Re: What is the best way to navigate #ifdef and #endif in C program, Peter Keller, 2010/12/09
- Re: What is the best way to navigate #ifdef and #endif in C program, Elena, 2010/12/08
- Re: What is the best way to navigate #ifdef and #endif in C program, Elena, 2010/12/08
- Re: What is the best way to navigate #ifdef and #endif in C program, Peter Keller, 2010/12/09
- Re: What is the best way to navigate #ifdef and #endif in C program, Pascal J. Bourguignon, 2010/12/08
- Re: What is the best way to navigate #ifdef and #endif in C program, Pascal Costanza, 2010/12/09