SlickEdit as a C# editor.
Hi,
I am setting up SlickEdit 5 as my C# editor and I am having a few problems,
has anyone completed this task and if so, could they give me some
assistance?
Thanks,
D'Andre Pritchett
# 1 Re: SlickEdit as a C# editor.
If anyone has done a tag file for UltraEdit I would be equally interested
--
----------------
| Niels Andersen
| Senior Development Consultant
| SimCorp SBS Ltd.
| http://www.SimCorp.com
| niels.andersen@simcorp.com / nan@it.dk
----------------
"D'Andre Pritchett" <dandrep@jps.net> wrote in message
news:39b6c881$1@news.dev-archive.com...
> Hi,
>
> I am setting up SlickEdit 5 as my C# editor and I am having a few
problems,
> has anyone completed this task and if so, could they give me some
> assistance?
>
> Thanks,
> D'Andre Pritchett
>
>
>
# 3 Re: SlickEdit as a C# editor.
Wow, was that not close to '7 with one stroke'
--
----------------
| Niels Andersen
| Senior Development Consultant
| SimCorp SBS Ltd.
| http://www.SimCorp.com
| niels.andersen@simcorp.com / nan@it.dk
----------------
"Matt Searle" <matt@8001dotted.com> wrote in message
news:39b815dc@news.dev-archive.com...
>
>
> "Niels Andersen" <nan@it.dk> wrote in message
news:39b7f045@news.dev-archive.com...
> > If anyone has done a tag file for UltraEdit I would be equally
interested
> >
> <snip>
>
> There's one listed here:
>
> http://csharpindex.com/Default.asp?URL=/Downloads/TextEditors.asp - thanks
> to Jon Jagger.
>
> --
> Matt.
> C# Index to resources
> http://csharpindex.com
>
>
>
# 4 Re: SlickEdit as a C# editor.
> I am setting up SlickEdit 5 as my C# editor and I am having a few
problems,
> has anyone completed this task and if so, could they give me some
> assistance?
Here's a fairly simplistic, quick and dirty setup if you want to use Visual
SlickEdit for C# development:
To simplify configuring the tools, I stick to the following convention:
- My project has the same name as the main file containing the main class;
i.e.,
HelloWorld.vpw (project file)
HelloWorld.cs (main file)
HelloWorld (main class)
To configure the tools:
===============
1) Under Tools | Configuration menu (keyboard shortcut: F5), select File
Extension Setup
- Click New to create support for 'cs' extension
- Enter cs for extension, leave refer-to field blank
- The Extension Options dialog should show cs now
- Choose Java for lexer (or choose cpp, if you prefer; it seemed to me that
the Java lexer had better syntax highlight support for C# than the cpp lexer
did).
- Make sure the Tabs and Syntax indent fields both say 4
- Click Project to add compiler support, then modify the command lines for
each of the tools under the tool names drop-down list:
* Compile: csc %f (click Save current file)
* Build: csc /out:%rn.exe /main:%rn *.cs (click Save all files)
* Execute: %rn.exe (Click Save none)
* User 1: cmd /K %rn.exe (Click Save none)
(The last command is for running console applications without having the
console disappear immediately when the program exits. I tried giving the
tool a custom name, but it never showed up under the Build menu, so I just
edited User 1. If anyone knows how to add a custom name, I'd love to know.)
2) Under Tools | Configuration menu (keyboard shortcut: F5), select File
Options
- Click on File Filters tab
- Add 'C# Files (*.cs),' to the file filters string (without the quotes
shown here, of course). I added this filter to the front of the list to make
it the default filter in file dialogs.
Good luck,
Tony Pujals
tony@webspaceone.com