Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to make Code Assist work?
How to make Code Assist work? [message #109914] Thu, 08 July 2004 18:07 Go to next message
Eclipse UserFriend
Originally posted by: publicNO.SPAMoverbored.net

Hi, I'm new to Eclipse and I'm working in a new environment with which
I'm unfamiliar (it's Windows). I do know that we use Microsoft's
nmake.exe, and there exist either DIRS or sources files in every
directory (there are also makefiles alongside sources files, but they
consist only of "!INCLUDE $(MAKEFILE_DEF)"). The sources files look like:

>>>

#
# dummy sources file
#

USE_PCH=1 # we use pre-compiled headers
!INCLUDE $(BLAH)\lala\something.mk

TARGETNAME=MyLib
TARGETTYPE=LIBRARY

SOURCES=\
blah1.cxx\
blah2.cxx\

INCLUDES=\
$(BLAH)\blah;\
$(INCLUDES);\

>>>

What I'm wondering right now is how to make Eclipse be able to understand
my environment, because Content Assist doesn't seem to be working (when I
use . or ->, nothing comes up, even after setting the delay to 0). Does
CDT recognize such an environment? (For example, when I use #includes, it
should know which directories to look in from the INCLUDE variable
defined in the sources file.) If not, is it possible to make it
understand it? I think at this point all I'd really like is Content
Assist and the ability to (intelligently) find where things are defined,
not building or debugging.

Thanks in advance!
Re: How to make Code Assist work? [message #110070 is a reply to message #109914] Fri, 09 July 2004 13:17 Go to previous message
Eclipse UserFriend
Originally posted by: publicNO.SPAMoverbored.net

How do I make Eclipse understand the sources and DIRS files as makefiles?

OvErboRed <publicNO@SPAMoverbored.net> wrote in
news:Xns952099FCAFE03yangstaoverbored@204.138.98.10:

> Hi, I'm new to Eclipse and I'm working in a new environment with which
> I'm unfamiliar (it's Windows). I do know that we use Microsoft's
> nmake.exe, and there exist either DIRS or sources files in every
> directory (there are also makefiles alongside sources files, but they
> consist only of "!INCLUDE $(MAKEFILE_DEF)"). The sources files look
> like:
>
>>>>
>
> #
> # dummy sources file
> #
>
> USE_PCH=1 # we use pre-compiled headers
> !INCLUDE $(BLAH)\lala\something.mk
>
> TARGETNAME=MyLib
> TARGETTYPE=LIBRARY
>
> SOURCES=\
> blah1.cxx\
> blah2.cxx\
>
> INCLUDES=\
> $(BLAH)\blah;\
> $(INCLUDES);\
>
>>>>
>
> What I'm wondering right now is how to make Eclipse be able to
> understand my environment, because Content Assist doesn't seem to be
> working (when I use . or ->, nothing comes up, even after setting the
> delay to 0). Does CDT recognize such an environment? (For example,
> when I use #includes, it should know which directories to look in from
> the INCLUDE variable defined in the sources file.) If not, is it
> possible to make it understand it? I think at this point all I'd
> really like is Content Assist and the ability to (intelligently) find
> where things are defined, not building or debugging.
>
> Thanks in advance!
Previous Topic:Sending GDB command through CDT. What command do I need from CommandFactory?
Next Topic:CDT2.0 and Managed Makes: Newbie Question
Goto Forum:
  


Current Time: Thu Jul 24 02:24:39 EDT 2025

Powered by FUDForum. Page generated in 0.06783 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top