473,761 Members | 8,463 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

a good programming text editor (not IDE)

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 this isn't necessary. Just something
I can immediately use in either Windows or Linux (or Mac, if necessary).

Based on another thread, I tried out Scite, but no matter what I do it
doesn't seem to remember the window size and position, or any options I
choose (like showing line numbers). It seems to always reset itself each
time I open it.

And naturally there are Emacs and Vim, but I just don't know if I need
to invest *that* much time into learning one of them (probably Vim,
since I hear it's lighter and faster).

I've tried a few others, like TextPad and Crimson, and right now I use
UltraEdit, which I love actually, except for minor issues here and
there. But it'd be nice to make the move, as much as possible, to free,
open-source, cross-platform software.

Thanks for any suggestions, and again I'm sorry if this feels like the
same question as usual (it's just that in my case, I'm not looking for
something like SPE, Komodo, Eric3, etc. right now).
Jun 15 '06
63 3966
Ant

John Salerno wrote:
Ant wrote:
jEdit is for me still the best text editor available. Very extensible
with macros (which can be written in Jython with the appropriate plugin
installed).


I like the idea of being extensible, but of course I can only write in
Python. Are there any editors that support that?


Jython is python (running on the Java platform) - just not a very
recent version (2.1 currently IIRC).

Jun 15 '06 #11
John Salerno napisa³(a):
Vim is definitely the best. If you're a GUI man, you can use GVim.


Ok, you guys are slowly converting me, but I do have one question: which
"version" of VIM should I use, or does it matter? I mean, there seem to
be at least two versions, a text version and the GUI version you
mention. Are the options shared between the two, or is it that you are
more or less "set" in one once you choose it, and if you move to the
other you have to redefine your preferences, etc.?


The "version" doesn't matter, but anyway you should get the newest one
available. 7.0 has some nice features for text editing in graphic
environments (like Windows), but in terminal it's the same beast. You'll
love it in short time. ;)

--
Jarek Zgoda
http://jpa.berlios.de/
Jun 15 '06 #12

John Salerno wrote:
Ant wrote:
jEdit is for me still the best text editor available. Very extensible
with macros (which can be written in Jython with the appropriate plugin
installed).


I like the idea of being extensible, but of course I can only write in
Python. Are there any editors that support that?


I can think of one editor that supports that ;-)

http://www.vim.org/htmldoc/if_pyth.html#Python

Seriously though, yes vim is wierd. Wierd enough that you might think
maybe people just use it because they're trying to proove they're l337
or hardcore, instead of using it for real practical reasons. But it
really is an amazing text editor once you accept the wierdness.

If you use it for a little bit, one day you'll be editing a document in
Word, or notepad, or SciTE, or Eclipse; you'll instinctively type
'[ESC]:wq', and be suprised that the app is still open. That's when
you realize there's no turning back.

-Grant
[ESC]:wq <dammit, did it again! />

Jun 15 '06 #13
John Salerno wrote:
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 this isn't necessary. Just something
I can immediately use in either Windows or Linux (or Mac, if necessary).

<SNIP>

Hi John,
I am yet another user of (g)vim. The good thing about gvim is that for
normal editing, a lot can be done from the drop-down menus. You need to
get hold of a list of the vim commands to learn and what to learn first
(anyone?), as there is a huge amount of functionality in vim, and you
can do a lot with a little.

Personally, I have never done more than poke at the edges of the
internal scripting of vim as I prefer:
:%!gawk 'awk one liner'
Which sends text to the external shell for processing by another
command (in this case gawk)
Gvim on windows is a life-saver for me as I have files with different
line terminators from my unix work, and it opens those.

The only thing I miss in gvim is a mode that would try to display HTML
to say the degree that the lynx/links browsers do.
(http://artax.karlin.mff.cuni.cz/~mikulas/links/,
http://lynx.browser.org/).

Jun 15 '06 #14
John Salerno schreef:
Sybren Stuvel wrote:
Vim is definitely the best. If you're a GUI man, you can use GVim.


Ok, you guys are slowly converting me, but I do have one question: which
"version" of VIM should I use, or does it matter? I mean, there seem to
be at least two versions, a text version and the GUI version you
mention. Are the options shared between the two, or is it that you are
more or less "set" in one once you choose it, and if you move to the
other you have to redefine your preferences, etc.?


Some settings are GUI-specific, such as font and window size, but the
rest is the same. You can easily copy your preferences file between
different systems and use it with both vim and gvim (text mode vim will
just ignore the GUI settings).

--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton

Roel Schroeven
Jun 15 '06 #15
Ant wrote:
I've tried a few others, like TextPad and Crimson, and right now I use
UltraEdit, which I love actually, except for minor issues here and
there. But it'd be nice to make the move, as much as possible, to free,
open-source, cross-platform software.

Vim is great if you have a good memory... Otherwise you end up trawling
through the help to find out how to do stuff that would in another IDE
be just a few menu clicks away.


Mental memory (the painful kind of memory) rapidly turns into muscle
memory (the fun kind of memory) and all of those mind boggling
keystrokes begin to feel like an artistic expression reminiscent of
playing the piano.

James

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
Jun 15 '06 #16
Your SciTE problem is easily fixable by choosing " options / Open
Global Options File " and then there are plenty of settings. Use the
SciTE.html file and it will explain them all and there are many but the
defaults usually work well to start out. I have had no issues with
Linux. I use Debian. Here is a snippet of the first few lines of the
global options file.

"# Globals

command.name.2. *.py=PyChecker
command.2.*.py= C:\Python23\Scr ipts\pychecker. bat --stdlib --blacklist
--varlist "$(FilePath )"
tab.timmy.whing e.level=1
# Window sizes and visibility
if PLAT_WIN
position.left=3 0
position.top=25
if PLAT_GTK
position.left=1 5
position.top=30
position.width= 1200
position.height =950"

As you can see if you are running windows "if PLAT_WIN" those are the
settings for your window etc...

Also grab this file.
http://scintilla.sourceforge.net/gen_python_api.zip

You can run it and it will build an API that you put in the root of
SciTE and it will auto complete and it will give you help tips if you
want them.

I can't say that this is better than VIM but SciTE works great if you
are mostly a python programmer.

Jun 15 '06 #17
John Salerno wrote:
Fredrik Lundh wrote:
John Salerno wrote:
jEdit is for me still the best text editor available. Very extensible
with macros (which can be written in Jython with the appropriate plugin
installed).

I like the idea of being extensible, but of course I can only write
in Python. Are there any editors that support that?


Jython is a Python implementation for Java.

</F>


Oh, I know, but doesn't it require knowledge of Java? Or am I being even
more newbie-ish than I thought I was? :)


Nope, no Java knowledge necessary. Jython just compiles Python code
to java bytecode instead of python bytecode. Once it is in java bytecode
the JVM doesn't know where it came from.

-Larry Bates
Jun 15 '06 #18
Larry Bates wrote:
Nope, no Java knowledge necessary. Jython just compiles Python code
to java bytecode instead of python bytecode. Once it is in java bytecode
the JVM doesn't know where it came from.


Well that's good to know. I guess there's not much of a point in writing
pure Python code with Jython, but at least now I know it works that way!
Jun 15 '06 #19
Emacs must be dying if this thread could get all the way to 20 with
nobody arguing with the vi folks. Will the Windows vim and gvim users
vouch for its stability on Windows?

rd

Jun 15 '06 #20

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

Similar topics

32
2815
by: cat_dog_ass | last post by:
I am used to programming in DOS mode via Borland C++. I would now like to create programs for the Windows envirinment. Is it absoultely necessary to use Visual C++ to do this? Are there other tools that can help me in doing Windows programming via C++? How am I going to create drop-down menus and allow my programs to interact with the mouse? Regards, Icon
9
1635
by: Schizoid Man | last post by:
Hi, Can I use Eclipse for C or C++? Or is it specifically optimized to work with Java (in terms of keyword highlighting, syntax, etc)? Thanks, Schiz
13
1255
by: Adam J Knight | last post by:
Hi all, Just a general question, wondering what the seasoned asp.netters think? I have been a bit of a coding purist for a while now. Prefering to write all code (presentation, and business logic) myself rather than relying on some sort of wysiwig editor or ide. Partyly due to being a little obsessive, and having a intense dislike for messy redundant code.
20
6054
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?
1
1593
by: Victor | last post by:
Hi guys I have a small question abou the vs2005's text editor. in my text editor, any space or tabs become little dot. i forget what shortcut i pressed.It looks not right to me at all. Can anyone knows how to turn it back? I am using vs2005+resharp3.0 Cheers Victor
0
9522
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
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
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
9902
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
9765
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
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
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();...
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.