473,698 Members | 2,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Good editor for Linux?

I use Ubuntu 7.04 and have trouble finding a good editor that has
autocompletion (when typing std:: or using "." on strings or pressing
ctrl+space).

I have tried eclipse with CDT 3.1.2 but it takes about a minute before
the popup box appears. I have also tried KDevelop and anjuta but they
only autocomplete previous declared variables. I would like to avoid
using emacs because of the wierd keymap.

Are there any alternatives left or are there no tradition for using
autocompletion when writing c++?
Apr 22 '07 #1
21 1955
Johs wrote:
I use Ubuntu 7.04 and have trouble finding a good editor that has
autocompletion (when typing std:: or using "." on strings or pressing
ctrl+space).

I have tried eclipse with CDT 3.1.2 but it takes about a minute before the
popup box appears. I have also tried KDevelop and anjuta but they only
autocomplete previous declared variables. I would like to avoid using
emacs because of the wierd keymap.

Are there any alternatives left or are there no tradition for using
autocompletion when writing c++?
The following answer is what you get for not posting a Linux question to a
Linux newsgroup:

I would use Visual Studio, and would remote-mount the project folder with
Samba. Then I would create two build scripts, one with Visual Studio native
and the other for GNU Makefile. Then I would configure a script in Linux to
run that Makefile each time my source files change.

Then I would tile Visual Studio and a Konsole (running in a remote CygWin X
server on my Windows desktop) so I can see the source in one window and the
script in another. Then I would write unit tests and run them simultaneously
in both environments. Oh, and if I don't screw up the Visual Studio
settings, I would typically get Intellisense.

The absurdity of that answer (compounded by the absurdity of I have actually
done all that) is compounded by the fact that this newsgroup is not
qualified to defend you from anything I said, if I got any of these details
wrong. No detail there has anything to do with the raw C++ language itself,
which is the only thing this newsgroup is qualified to discuss!

--
Phlip
http://www.oreilly.com/catalog/9780596510657/
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascri pt, & assert_ajax
Apr 22 '07 #2
On Apr 22, 2:04 pm, Johs <a...@asd.comwr ote:
Are there any alternatives left or are there no tradition for using
autocompletion when writing c++?
Do you really type in code without knowing what you classes/member
functions you are about to use?

Apr 23 '07 #3
da***********@f astmail.fm wrote:
On Apr 22, 2:04 pm, Johs <a...@asd.comwr ote:
>Are there any alternatives left or are there no tradition for using
autocompleti on when writing c++?

Do you really type in code without knowing what you classes/member
functions you are about to use?
I do, for example. What's wrong with that? It's not professional?

Regards,

Zeppe
Apr 23 '07 #4
>Are there any alternatives left or are there no tradition for using
autocompleti on when writing c++?

Do you really type in code without knowing what you classes/member
functions you are about to use?
I know them, but not the exact spelling mostly. Especially with 3rd
party classes.
FWIW, Visual Studio is the best with this. Don't know if it runs on
WINE e.g.
Apr 23 '07 #5
On 23 Apr, 13:42, dave_mikes...@f astmail.fm wrote:
On Apr 22, 2:04 pm, Johs <a...@asd.comwr ote:
Are there any alternatives left or are there no tradition for using
autocompletion when writing c++?

Do you really type in code without knowing what you classes/member
functions you are about to use?
Are you saying that you know all the classes, members and functions in
standard C++, plus whatever other third part libraries you might be
using? There are several usages of autocomplete, one is that you don't
have to know the exact names of all members and functions and stuff of
all the classes that you might encounter. What's important as a
programmer is that you know that there is a method that does what you
want, and if you have an idea about the name that's just a bonus.
Another useful feature of autocomplete is that you don't have to spell
out all of InvalidDeviceSe ttingException or whatever.

--
Erik Wikström

Apr 23 '07 #6
Gernot Frisch wrote:
>>Are there any alternatives left or are there no tradition for using
autocompletio n when writing c++?
Do you really type in code without knowing what you classes/member
functions you are about to use?

I know them, but not the exact spelling mostly. Especially with 3rd
party classes.
FWIW, Visual Studio is the best with this. Don't know if it runs on
WINE e.g.

Unfortunately it doesn't. I've failed as well finding a good linux C++
IDE. Now I'm using kdevelop + kdbg, but I'm not fully satisfied.

Regards,

Zeppe
Apr 23 '07 #7
Zeppe wrote:
Gernot Frisch wrote:
>>>Are there any alternatives left or are there no tradition for using
autocompleti on when writing c++?
Do you really type in code without knowing what you classes/member
functions you are about to use?
I know them, but not the exact spelling mostly. Especially with 3rd
party classes.
FWIW, Visual Studio is the best with this. Don't know if it runs on
WINE e.g.

Unfortunately it doesn't. I've failed as well finding a good linux C++
IDE. Now I'm using kdevelop + kdbg, but I'm not fully satisfied.

Regards,

Zeppe

Have you tried Code::blocks or eclipse with CDT?
Apr 23 '07 #8
desktop wrote:
>
Have you tried Code::blocks or eclipse with CDT?
Eclipse + CDT is intolerably slow in performing the completion,
considering that now I'm working on a Pentium D 3.4GHz with 2 GB of RAM
memory.

Code::blocks is nice, but as KDevelop it can't stand with Visual Studio.
Let's say that Code::Blocks is a really valid product, but not a
professional product.

Regards,

Zeppe
Apr 23 '07 #9
On Apr 23, 8:15 am, Zeppe
<zeppe.remove.a ll.this.long.co mm...@email.itw rote:
dave_mikes...@f astmail.fm wrote:
On Apr 22, 2:04 pm, Johs <a...@asd.comwr ote:
Are there any alternatives left or are there no tradition for using
autocompletion when writing c++?
Do you really type in code without knowing what you classes/member
functions you are about to use?

I do, for example. What's wrong with that? It's not professional?
How often do you need it? Nice to have on-demand, maybe, but not
every time I type a . or -or a ::.

Apr 23 '07 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
3522
by: Nick Mudge | last post by:
Hi, I want to do some Web development using HTML, Javascript, PHP and MySQL. Does anybody recommend any good editors to use in this Web development. Something that works well and makes development faster and easier but doesn't take away the power of writing code? Nick
10
3730
by: Rhino | last post by:
Can anyone recommend a good *free* XML editor? I tried a demo of Altova XMLSpy and thought it was pretty neat but I just can't afford it right now. I'd like to get something free that does a decent job, even if it isn't as slick as XMLSpy. -- Rhino --- rhino1 AT sympatico DOT ca "There are two ways of constructing a software design. One way is to make it
20
3136
by: Rick Cook | last post by:
I'm looking for a good (non-wysiwyg) editor for HTML and CSS. I want something that will help me produce non-dynamic pages with a minimum of excrescences (no, javascript, flash, etc.) in supportable style. I am using CSS as much as possible to organize these pages, but since I'm still fairly new at CSS I'd like a good set of help features as well. Freeware would be nice, but functionality is more important.
10
1609
by: kurtk | last post by:
Can someone recommend a good php editor? Beside syntax highlighting, I am looking for an editor that will allow me to do "block selection" (that is, copy from column, say, 5 to column 12 of several lines of text). Are there any free editors that will do this? thanks, Kurt
7
2896
by: Theodore | last post by:
Can anyone suggest me a good editor for tracing code? I got a software with about 400,000 lines of source code in C/C++ with a complicate structure. It mess me up pretty soon whenever I try to trace for some relationship between this function and another by using vi or emacs. I guess that I need your suggestion for a better one. I use solaris, but with a window for MS Window2000 hardwired in my Sun box. So either system would be fine,...
63
3922
by: John Salerno | last post by:
I know there's a request for a good IDE at least once a week on the ng, but hopefully this question is a little different. I'm looking for suggestions for a good cross-platform text editor (which the features for coding, such as syntax highlighting, etc.) but not a full IDE with all the fancy jazz (GUI developer, UML diagrams, etc.). Ideally, it would be something I could even put on a flash drive and move from computer to computer, but...
20
6048
by: ram.rachum | last post by:
Hey, I'm looking for a good Python environment. That is, at least an editor and a debugger, and it should run on Windows. Does anyone have any idea?
15
2430
by: dreen1 | last post by:
Hello! Does any one of you know about some kind of PHP IDE (or at least an editor with syntax highlighting) that works online? It would be absolutely great if there was something like Google Docs, but for programmers with at least some features normal IDEs provide (support for JS and HTML would be great too). Reason for such need (at least in my case) is I change computers often. I have all my stuff on USB stick, but each time I go...
12
2018
by: sid | last post by:
Hi! I am sorry that I am asking a little off topic question, but I am sure some of you can surely help me. I am writiing a VI like text editor in C++ for the console. I would like to know some opensource tools that would help me build it faster. Also, What would be the best approach to build it? Thank You.
0
8676
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9164
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8898
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8870
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4370
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3051
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.