Loading ...
Sorry, an error occurred while loading the content.

Re: Commented Tags

Expand Messages
  • Gary Holloway
    If using C (OP didn t specify), try using #if NEVER ... #endif to comment out the routine (note: do NOT use #if 0; ctags will recognize that). By doing so,
    Message 1 of 5 , Feb 28 5:22 PM
    • 0 Attachment
      If using C (OP didn't specify), try using #if NEVER ... #endif to
      "comment out" the routine (note: do NOT use #if 0; ctags will recognize
      that).

      By doing so, ctags will still recognize the code as valid, and tag it.
      But (assuming you haven't defined NEVER!) the code will not be compiled.

      -gary

      Vigil wrote:

      > It is a shame vim can't skip jumping to tags (specifically, function
      > definitions) that have been commented out...
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.