Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Using Eclipse w/ CDT purely as a code editor
Using Eclipse w/ CDT purely as a code editor [message #192654] Wed, 06 June 2007 07:10 Go to next message
Eclipse UserFriend
Originally posted by: nolancheck.hotmail.com

I'm trying to use Eclipse and CDT a code editor only. I don't want to create
any CDT project; I'll build and test my program with a different tool. It
is possible to open and edit a C++ file without any project open, but is it
possible to use CDT's code browsing and content assist features without a
project?

If it isn't possible, then this is a feature request!

- Nolan Check
Re: Using Eclipse w/ CDT purely as a code editor [message #192686 is a reply to message #192654] Wed, 06 June 2007 15:14 Go to previous messageGo to next message
Chris Recoskie is currently offline Chris RecoskieFriend
Messages: 163
Registered: July 2009
Senior Member
Nolan Check wrote:
> I'm trying to use Eclipse and CDT a code editor only. I don't want to create
> any CDT project; I'll build and test my program with a different tool. It
> is possible to open and edit a C++ file without any project open, but is it
> possible to use CDT's code browsing and content assist features without a
> project?
>
> If it isn't possible, then this is a feature request!
>
> - Nolan Check

You can use content assist in any open file, however its use will be
limited for external files because it won't know how to find your
headers, what macros your compiler defines, etc.

===========================

Chris Recoskie
Team Lead, IBM CDT Team
IBM Toronto
http://www.eclipse.org/cdt
Re: Using Eclipse w/ CDT purely as a code editor [message #192702 is a reply to message #192686] Wed, 06 June 2007 19:31 Go to previous message
Eclipse UserFriend
Originally posted by: guyen000.gmail.com

Well, if you wanna use only as a code editor, then I would do this:

- Create project and point the project folder to your existing folder
where you source codes are so you dont have to duplicate your files.
Eclipse will create its own invisible folder (.cdtproject) in that folder
with which you should't mess with and it will not affect your folder in
any other way.

- When creating project choose unmanaged C/C++ so that it will use your
Makefile.
In this setup you can continue using the Eclipse as an editor. But if you
wanna compile and link and run, you can just go to your folder and
manually do it.
Previous Topic:debugger: wont step thru during debug, only runs till end
Next Topic:BUG: GDB support in CDT 4.0 RC2 on Mac OS X
Goto Forum:
  


Current Time: Mon Dec 22 20:55:34 GMT 2014

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

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