Looking for a free windows text editor, for c#

G

Guest

Although I mostly use the Visual Studio IDE, and recommend it, from time to
time I prefer to knock out a small app with just the command line, and a text
editor.

Until recently I've used VIM in a unix terminal, for c++, but that is no
longer available to me, and, AFIK, doesn't support c#.

I would like a notepad-like editor, with c# indenting support, or VIM, from
DOS.

Any recommendations?

I've tried - Notepad: the indentation is aweful; Crimson Editor: Very nice,
but it's not my ideal lightweight code editor; vi, in MSys (the Linux
terminal emulator): no c#, and it's going to take a bit of work to put c#
compiler support into the environment.
 
G

Guest

Thanks for the responses.

I realised that what I want most of all is a vim or emacs, in a linux shell,
and discovered that vim is already there in MSys, and supports c style
indenting.

This certainly isn't for everyone, but if you like the command line, and
vim, then you can do .Net development in windows, with free tools...

------------------------------------------------------------------------------------------

How it's done....

MSys - a Linux like Bash shell, which executes Win32 exes, in a terminal
which is much superior to DOS, or CYGWIN,..www.mingw.org/msys.shtml
(installation is a breeze)

vim - just runs from the MSys command line, standard

Put /c/WINDOWS/Microsoft.NET/Framework/..version../ into the PATH

and then edit & compile!!!

------------------------------------------------------------------------------------------------

Here's a "screenshot"....

Gerry@warthog /c/Tmp
$ vi helloworld.cs

Gerry@warthog /c/Tmp
$ cat helloworld.cs
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello World :D");
}
}


Gerry@warthog /c/Tmp
$ csc helloworld.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.


Gerry@warthog /c/Tmp
$ helloworld.exe
Hello World :D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top