Slashdot Mirror


Good Web Development Environments with UTF-8 Support?

A Pride of Lyings asks: "I'm having a devil of a time finding a good editor or IDE aimed at HTML/XHTML/CSS/JavaScript/JSP/XML that meets the following criteria: CVS integration (VSS integration would be nice but not required); stellar UTF-8 support (internationalization is a big big deal now); correctly recognizes and highlights HTML, JSP, JS, and CSS within a single file; does some rudimentary auto-completion; is easily configurable; runs on Win2k (oy vey); supports bookmarks of various kinds; supports code collapsing; and affordable. I'm at a loss and rather fatigued from kicking all of these tires, so I'm throwing it open to you: what do you use for your front-end work? What makes it good?"

10 of 46 comments (clear)

  1. So... by watchmaker1 · · Score: 4, Informative

    What you're asking for is Emacs then? No holy war here, it's entirely possible that vi could do the same.

    As far as I can tell, BBEdit does all that under Mac OSX.

    I'll admit I almost never edit locally. It's almost always a remote ssh session to a server halfway across the world, so I have no in depth knowledge of windows editors. But I've used Emacs (Xemacs actually, in text mode remotely) to do the bulk of what you ask other than UTF-8. A quick google search seems to indicate that it's cool for UTF-8, and it does, in fact, run under win2k.

  2. Vi Improved (VIM) by metacosm · · Score: 5, Informative

    Vim is great because it has folding, autocomplete, abbreviations, macros, objects, modes, regular expressions, window splitting, multiple buffers, session, network editing, file explorer and lets you keep your hands on home row!

    It also supports every single feature you have requested, and a ton you didn't, and has consistant highlight, feel across all langauges and platforms -- it is wonderful!

    VSS integration plugin: http://vim.sourceforge.net/scripts/script.php?scri pt_id=29

    CVS integration plugin: http://vim.sourceforge.net/scripts/script.php?scri pt_id=58

    Word (and Sentence/Phrase) Completion is built in, but if you want it to work when you hit tab use: http://vim.sourceforge.net/scripts/script.php?scri pt_id=182

    http://vim.org -- get it now!

    1. Re:Vi Improved (VIM) by metacosm · · Score: 2, Informative
      Screenshot showing most of the features you want -- created on demand for you! :)
    2. Re:Vi Improved (VIM) by rempelos · · Score: 2, Informative

      First of all, I'll agree that vim is indeed a great tool. But in the geek world enabling/using all those features comes natural, for the average user though things are a little more complicated.

      I 've been trying to convince some of my colleagues to make more use of *vi* (vi family editors) but they oppose some reasonable arguments, some of those are:

      • Slow learning curve
      • No user friendly manual
      • Entirely different philosophy from other very common editors (ex. notepad)
      • Some of the nice features need to be integrated (ex. cvs plugin)
      • It takes a long time to create usable custom settings (abbreviations, macros, etc)
      • And you have to stop walking before you shoot :)
  3. JEdit by jdclucidly · · Score: 4, Informative

    http://www.jedit.org/

    It does everything you're looking for via plug-ins that can be installed in the user interface. It's a bit slow to load due to the Java related bootstraping performance, but it works like a pro. I use it's FTP integration and built in support for Tidy to administer my web sites.

    I know there's a way to do the multiple source code highlighting schemes in a single file but I haven't gotten around to setting that up, yet.

  4. Emacs? by dakkar · · Score: 5, Informative

    Emacs 21, with the addition of the Mule-UCS package, can edit and display files in most encodings, including UTF-8 and UTF-16, containing characters from all of the Basic Multilingual Plane (display depends on available fonts).

    For multi-language syntax highlighting, you can look at the Multiple Major Modes package.

    For XML support, you need the psgml package (a recent one).

    And, of course, you have speedy navigation (i-menu and speedbar), code collapse (outline and similar modes), CVS integration (pl-cvs and vc), bookmarks (including frame/window configurations, via registers and bookmarks), and it's free (GNU).

    Oh, and it does run on Win32.

    --
    dakkar - mobilis in mobile
  5. Dreamweaver by booch · · Score: 2, Informative

    Sounds like a pretty good fit for Dreamweaver. I think MX does JSP, and I'm sure that it does all the rest. It's got a pretty nice interface and is pretty easy to use. I'm not a big Windows user, but I like Dreamweaver a lot.

    --
    Software sucks. Open Source sucks less.
  6. TexPad by The+Bungi · · Score: 3, Informative
    I doubt you're going to score a 10 on all your requirements, but I'll go ahead and recommend another one: TextPad. Worth every penny, and yes, it supports UTF-8. No autocompletion for sure though. But it does have syntax highlight and tons of other stuff.

    I've used Eclipse on W2K and it just plain rocks, but it's (AFAIK) very Java-specific. Maybe there's a good web development plugin for it though. Eclipse is an impressive piece of software (OT, I know).

  7. JEdit. Sing it loud, sing it proud. by Violet+Null · · Score: 4, Informative

    JEdit does (most of) what you want. Even better, it's free. Even better, it's open source, so the stuff it might not be able to do as well, you can make it do. As the name suggests, it's Java. It's largest strength is its plugin system, which is where many of the advantages come in.

    CVS integration (VSS integration would be nice but not required)

    JEdit plugin called 'Gruntspud' provides CVS access.

    stellar UTF-8 support (internationalization is a big big deal now)

    Honestly, I have no idea. Coming from Java roots, I would assume that it has this; if not, it could definitely be added on.

    correctly recognizes and highlights HTML, JSP, JS, and CSS within a single file

    JEdit has a real beaut of a syntax highlighter; using XML configuration files, it parses the highlights the text accordingly, and (here's the best part) the XML files can be self referential -- which is where a number of other syntax highlighters fall down. For instance, in a typical PHP page, you may have PHP code, Javascript code, and HTML code. JEdit handles this. The XML files can be modified to do just about anything, and are relatively easy to pick up. As long as you can give it some rules about what to look for in terms of start/stop text, you're good.

    does some rudimentary auto-completion

    Eh. It finishes tags for you. There's an autocomplete plugin out there for Java; one could be put together pretty easily, for, say, Javascript objects.

    is easily configurable

    Check. And open source.

    runs on Win2k (oy vey)

    Check.

    supports bookmarks of various kinds

    Check (they're called markers)

    supports code collapsing

    Check (they're called folds)

    and affordable

    Free.

    Now, there are some annoying bits: it's Java, so it's slower than others might be, the file finder in JEdit could not be worse if it tried, and the XML files for Javascript parsing needed some tweaking before they'd work right right out of the box, and there's no way to jump to a specific window via the keyboard (eg, on Windows, Alt-W, ) (instead, it has Ctrl-PgUp and Ctrl-PgDn to cycle through the windows, and some hacks that require 4+ keystrokes are possible), but, overall, JEdit has been good to me. Of particular note is that it's search/replace is the best I've ever seen, having normal searches, regex searches, searches through all open files, searches through a directory and subdirectory, etc.

  8. Cream (for Vim) by digitect · · Score: 5, Informative

    Indeed Vim rocks! Not only does it have blinding speed, but with some effort, it can be made to do almost anything. I'll respond specifically to each feature requested:

    • aimed at HTML/XHTML/CSS/JavaScript/JSP/XML -- Vim recognizes over 375 languages
    • CVS integration -- Available
    • stellar UTF-8 support -- Yes, plus at least 35 other encodings
    • correctly recognizes and highlights HTML, JSP, JS, and CSS within a single file -- No, not yet. This gets discussed on the lists often though.
    • does some rudimentary auto-completion -- Yes, far beyond rudimentary
    • is easily configurable -- Yes, perhaps even too configurable
    • runs on Win2k (oy vey) -- Yes, plus Unix, BSD, Apple, Amiga, OS/2, and others
    • supports bookmarks of various kinds -- Yes
    • supports code collapsing -- Yes, called folding, even supports nested
    • affordable -- Can't beat Free! Even better, you can donate to a great cause .

    However...

    ...although other posters have already pointed out various scripts you can add to give you the features you want, you can also try my pre-assembled package of scripts for Vim, Cream. It makes Vim keyboard shortcuts nearly CUA-compliant (Ctrl/Alt/Shift + letter) and otherwise masquerades Vim as a more familiar feeling power text editor. Most long-time Vim users barely recognize it, but Apple/Windows users will find it much more familiar than the sometimes cryptic Vim.

    --
    There is no need to use a SlashDot sig for SEO...