Bug 318468 - C++ code templates don't work within #ifdef
Summary: C++ code templates don't work within #ifdef
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 09:32 EDT by Dmitry Nezhevenko CLA
Modified: 2020-09-04 15:25 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Nezhevenko CLA 2010-06-30 09:32:28 EDT
Build Identifier: Eclipse 3.6 release, cdt-master-7.0.0-I201006291000.zip

Imagine that you have large definition like (USE_SOME_FEATURE) and you create a template named "uf". So CDT doesn't propose anything for code:

#ifdef uf

#endif

Cursor stands just after "uf" statement.

Expected behavior: uf should be replaced with "USE_SOME_FEATURE".

Reproducible: Always