需要有关选择开发环境的建议 [英] Need advice on selecting a development environment

查看:79
本文介绍了需要有关选择开发环境的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标是学习(在RMS意义上)并熟悉一些OSS代码

,直到我达到我可以做到非平凡的程度

修改它。我想到的应用程序类是

几乎总是用C编写并在Unix上运行。从历史上看,我有一个终端模拟器,vi和gcc / gdb用于这种类型的项目,

但是希望提高效率并利用<由IDE提供的
设施。


这里有一个问题:我希望我的前端环境(IDE)能够运行
$ b Windows上为$ b,而目标代码,调试器等在Unix上运行。我只是不会携带一台Linux笔记本电脑,尽管那一天是因为变得可行而接近
。我不会使用远程X Windows,




我想做的是拿一个充满源代码的目录,

将它复制到我的Windows PC并使用一些IDE来操作代码。

这些是我的候选IDE:


- Visual C / C ++

- 带有C ++开发插件的Eclipse

- 带有C ++开发插件的NetBeans


请注意,我不关心实际编译/链接任何东西!我将满足于回到古老的模式和编译,

在远程系统中调试ssh(在我熟悉了
$ b之后) $ b代码,即)。我真正想要的GUI IDE是能够双击变量名并查询其定义/

声明,查找所有对它的引用,

的能力,执行复杂的搜索和

这种性质的东西。


我讨厌长贴子,所以...


继续......


-Ramon

解决方案

12月24日,3日:01 am,Ramon F Herrera< ra ... @ conexus.netwrote:


我的目标是学习(在RMS意义上)并熟悉

一些OSS代码,直到我达到可以对其进行非平凡的
修改的程度。我想到的应用程序类是

几乎总是用C编写并在Unix上运行。从历史上看,我有一个终端模拟器,vi和gcc / gdb用于这种类型的项目,

但是希望提高效率并利用<由IDE提供的
设施。


这里有一个问题:我希望我的前端环境(IDE)能够运行
$ b Windows上为$ b,而目标代码,调试器等在Unix上运行。我只是不会携带一台Linux笔记本电脑,尽管那一天是因为变得可行而接近
。我不会使用远程X Windows,




我想做的是拿一个充满源代码的目录,

将它复制到我的Windows PC并使用一些IDE来操作代码。

这些是我的候选IDE:


- Visual C / C ++

- 带有C ++开发插件的Eclipse

- 带有C ++开发插件的NetBeans


请注意,我不关心实际编译/链接任何东西!我将满足于回到古老的模式和编译,

在远程系统中调试ssh(在我熟悉了
$ b之后) $ b代码,即)。我真正想要的GUI IDE是能够双击变量名并查询其定义/

声明,查找所有对它的引用,

的能力,执行复杂的搜索和

这种性质的东西。


我讨厌长贴子,所以...


继续......


-Ramon



正如所承诺的那样,让我们​​继续吧。主题是在一些外部(可能是非IDE)上开发的某些现有代码上叠加IDE。

一个促使这个帖子的问题是

分层存储源代码的非常关键的细节。我们显然不想在目录之间移动

源文件,因为事情可能变得非常混乱(不要提到代码维护者'拒绝接受我谦虚的代码)。我通过将Asterisk的完整源代码复制到我的

PC开始进行实验。它当然是一个非平凡的包,在几个子目录中有402个C文件传播

。 让我们首先尝试使用Visual C ++,我告诉你。
说。


问题是VC ++似乎还没准备好处理

以自己的方式分层代码,是吗? (这个问题将会回来,但是关于Eclipse和NB)。我可以创建一个过滤器所有

.h,.c甚至其他文件都很好地保存,但这与文件系统提供的结构不同。

。普遍的

名称冲突问题总是随时可以咬你。很多

源代码包含如下:


#include" asterisk / logger.h"


这些可以是几个层次。再一次,层次结构必须保持原样。


我想我到目前为止还没有具体的问题,但是会喜欢

听取这些有经验和有见地的人的评论。 :-)


-Ramon


12月24日凌晨3:01,Ramon F Herrera< ra ... @conexus.netwrote:


我真正想要的GUI IDE是双击的能力

一个变量名称并查询其定义/

声明,找到它的所有引用,执行复杂的搜索和

这种性质的东西。



由于C和C ++缺乏Java的继承,我无法跟随或

使用IDE跟踪它,但是我仍然可以使用一些形式

(?)的重构,也许只有最简单的重命名,我想b $ b假设。

-Ramon


On Sun,2007年12月23日23:01:37 -0800,Ramon F Herrera写道:
< blockquote class =post_quotes>
我的目标是学习(在RMS意义上)并熟悉一些

OSS代码,直到达到我可以做到非琐碎的

修改它。我想到的应用程序类几乎总是用b语言编写并在Unix上运行。从历史上看,我已经为这类项目使用了一个

终端模拟器,vi和gcc / gdb,但是想要提高工作效率并利用这些设施

由IDE提供。


这里有一个问题:我希望我的前端环境(IDE)可以运行

Windows,而目标代码,调试器等在Unix上运行。我只是简单地说b $ b不会随身携带一台Linux笔记本电脑,尽管这一天即将到来,而b $ b变得可行。我也不会使用远程X Windows。



我明白不想弄乱远程xserver,但Linux笔记本电脑的情况对我来说似乎不错。我有一个Ubuntu thinkpad,因为我的主机是
。它暂停和休眠,有时比Windows更快,使用无线和几乎任何类型的身份验证,简单易用,并且只是一个简单易用的系统。 />


>

我想做的是拿一个充满源代码的目录,

将它复制到我的Windows PC并使用一些IDE来操作代码。这些

是我的候选IDE:


- Visual C / C ++



仍显然在我看来最好。这里最大的缺点是

没有Linux版本,而且可能永远不会。


- 带有C ++开发插件的Eclipse



Eclipse有很多不错的功能,即使配置和

插件管理有时会变得有些复杂。我对Eclipse的大抱怨

曾经是一个整体的尴尬;但是最新版本,

Europa,运行顺畅,响应迅速。


- 带有C ++的NetBeans

开发插件



对于我来说,NetBeans的C ++插件对于我的任何项目完全信任

来说仍然太新了,但是IDE本身似乎经过深思熟虑。使用NetBeans的

drawbrack是可用插件的较小池,并且

它不像Eclipse那样可配置


在一天结束时,我更喜欢Eclipse。


My goal is to study (in the RMS sense) and familiarize myself with
some OSS code, until I reach the point at which I can make non-trivial
modifications to it. The class of applications I have in mind are
almost always written in C and run on Unixes. Historically, I have
used a terminal emulator, vi, and gcc/gdb for this type of project,
but would like to become more productive and take advantage of the
facilities provided by an IDE.

Here''s the catch: I would like my front end environment (IDE) to run
on Windows, while the target code, debugger, etc. run on Unix. I
simply won''t carry a Linux laptop around, although that day is
approaching by becoming feasible. I will not use remote X Windows,
either.

What I would like to do is take a directory filled with source code,
copy it to my Windows PC and use some IDE to manipulate the code.
These are my candidate IDEs:

- Visual C/C++
- Eclipse with the C++ development plugin
- NetBeans with the C++ development plugin

Notice that I DO NOT care about actually compiling/linking anything! I
will be satisfied with going back to the ancient mode and compiling,
debugging in the remote system vis ssh (after I am familiar with the
code, that is). What I really want out of the GUI IDEs is the ability
to double-click on a variable name and inquire about its definition/
declaration, find all references to it, perform complex searches and
things of that nature.

I hate long postings, so...

To be continued...

-Ramon

解决方案

On Dec 24, 3:01 am, Ramon F Herrera <ra...@conexus.netwrote:

My goal is to study (in the RMS sense) and familiarize myself with
some OSS code, until I reach the point at which I can make non-trivial
modifications to it. The class of applications I have in mind are
almost always written in C and run on Unixes. Historically, I have
used a terminal emulator, vi, and gcc/gdb for this type of project,
but would like to become more productive and take advantage of the
facilities provided by an IDE.

Here''s the catch: I would like my front end environment (IDE) to run
on Windows, while the target code, debugger, etc. run on Unix. I
simply won''t carry a Linux laptop around, although that day is
approaching by becoming feasible. I will not use remote X Windows,
either.

What I would like to do is take a directory filled with source code,
copy it to my Windows PC and use some IDE to manipulate the code.
These are my candidate IDEs:

- Visual C/C++
- Eclipse with the C++ development plugin
- NetBeans with the C++ development plugin

Notice that I DO NOT care about actually compiling/linking anything! I
will be satisfied with going back to the ancient mode and compiling,
debugging in the remote system vis ssh (after I am familiar with the
code, that is). What I really want out of the GUI IDEs is the ability
to double-click on a variable name and inquire about its definition/
declaration, find all references to it, perform complex searches and
things of that nature.

I hate long postings, so...

To be continued...

-Ramon


As promised, let''s continue. The topic is superimposing an IDE on some
existent code that was developed on a foreign, possibly non-IDE. The
one issue that prompted this posting was the very critical detail of
hierarchically stored source code. We obviously don''t want to move the
source files across directories, as things can get real messy (not to
mention the code maintainers'' refusal to accept my humble code). I
began experimenting by copying the full source code of Asterisk to my
PC. It is certainly a non-trivial package, with 402 C files spread
across several subdirectories. "Let''s try with Visual C++ first", I
said.

The problem is that VC++ doesn''t seem to be prepared to handle
hierarchical code in its own terms, does it? (this question will come
back, but about Eclipse and NB). I can create a "filter" where all
the .h, .c and even other files are nicely kept, but this is not the
same thing as the structure afforded by a filesystem. The pervasive
name collision problem is always ready to bite you. A lot of the
source code has includes like this:

#include "asterisk/logger.h"

Those can be several levels deep. Once again, the hierarchy have to be
kept intact.

I guess I don''t have a specific question so far, but would love to
hear comments from such experienced and insightful folks. :-)

-Ramon


On Dec 24, 3:01 am, Ramon F Herrera <ra...@conexus.netwrote:

What I really want out of the GUI IDEs is the ability
to double-click on a variable name and inquire about its definition/
declaration, find all references to it, perform complex searches and
things of that nature.


Since C and C++ lack Java''s inheritance I won''t be able to follow or
track it with the IDE, but I should still be able to use some forms
(?) of refactoring, maybe only the simplest which is renaming, I
suppose.

-Ramon


On Sun, 23 Dec 2007 23:01:37 -0800, Ramon F Herrera wrote:

My goal is to study (in the RMS sense) and familiarize myself with some
OSS code, until I reach the point at which I can make non-trivial
modifications to it. The class of applications I have in mind are almost
always written in C and run on Unixes. Historically, I have used a
terminal emulator, vi, and gcc/gdb for this type of project, but would
like to become more productive and take advantage of the facilities
provided by an IDE.

Here''s the catch: I would like my front end environment (IDE) to run on
Windows, while the target code, debugger, etc. run on Unix. I simply
won''t carry a Linux laptop around, although that day is approaching by
becoming feasible. I will not use remote X Windows, either.

I understand not wanting to mess with remote xserver, but the Linux
laptop situation seems pretty good to me. I have an Ubuntu thinkpad as
my main machine. It suspends and hibernates, sometimes faster than
Windows, uses wireless and nearly any type of authentication with ease,
and is simply a rock solid easy to use system.

>
What I would like to do is take a directory filled with source code,
copy it to my Windows PC and use some IDE to manipulate the code. These
are my candidate IDEs:

- Visual C/C++

Still clearly the best in my opinion. The big downside here is that
there is no Linux version, and likely there never will be.

- Eclipse with the C++ development plugin

Eclipse has a lot of nice functionality, even though configuration and
plugin management can get somewhat complicated at times. My big gripe
about Eclipse used to be an overall slugishness; but the latest version,
Europa, runs nice and smooth with snappy response.

- NetBeans with the C++
development plugin

The C++ plugin for NetBeans is still too new for me to entirely trust to
any of my projects, but the IDE itself seems well thought out. The
drawbrack with NetBeans is the smaller pool of available plugins, and
it''s not nearly as configurable as Eclipse

At the end of the day, I prefer Eclipse.


这篇关于需要有关选择开发环境的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆