Bug 697112 - Add #include doesn't work
Summary: Add #include doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-cdt
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeff Johnston
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-15 21:04 UTC by Andrew Overholt
Modified: 2012-05-01 16:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-01 16:02:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Overholt 2011-04-15 21:04:17 UTC
Create a simple managed make C project with the following in the main .c file:

#include <stdio.h>

int main(void) {

	printf("Length of string is %d\n", strlen("hello"));

	return 0;
}

Highlight the strlen call and press Ctrl-Shift-n.  This should add a #include <string.h> statement but it does not.  This used to work.

eclipse-cdt-7.0.1-5.fc15.x86_64

Comment 4 Jeff Johnston 2012-05-01 16:02:27 UTC
This problem is verified to be fixed in eclipse-cdt-7.0.2-3.fc15


Note You need to log in before you can comment on or make changes to this bug.