By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,758 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,758 IT Pros & Developers. It's quick & easy.

My Mini C# Lab

P: n/a
Hi, I just wrote a mini C# lab for myself, I think it may be useful for
others, so I shared it on my blog.
If you often need to write only serveral lines of code and don't want to
waste time on waiting for Visual Studio startup, maybe you will be interested
in it.
http://blog.darkthread.net/blogs/dar...sharp-lab.aspx
Jun 27 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Nice

--

BlackWasp
www.blackwasp.co.uk
"Guineapig" <guineapig@anti_spam.com.twwrote in message
news:92**********************************@microsof t.com...
Hi, I just wrote a mini C# lab for myself, I think it may be useful for
others, so I shared it on my blog.
If you often need to write only serveral lines of code and don't want to
waste time on waiting for Visual Studio startup, maybe you will be
interested
in it.
http://blog.darkthread.net/blogs/dar...sharp-lab.aspx
Jun 27 '08 #2

P: n/a
How you created c# syntax coloring editor ?
Where to find source code of this application ?

Andrus.

"Guineapig" <guineapig@anti_spam.com.twwrote in message
news:92**********************************@microsof t.com...
Hi, I just wrote a mini C# lab for myself, I think it may be useful for
others, so I shared it on my blog.
If you often need to write only serveral lines of code and don't want to
waste time on waiting for Visual Studio startup, maybe you will be
interested
in it.
http://blog.darkthread.net/blogs/dar...sharp-lab.aspx
Jun 27 '08 #3

P: n/a
New features:
1.Remove terrible Ctrl-X shortcut key to exit
2.You can add additional assembly references
3.Support .NET 3.5
You can get more detail from here:
http://blog.darkthread.net/blogs/dar...b-ver-1-1.aspx
Jun 27 '08 #4

P: n/a
After Mini C# Lab 1.1 was released, the most frequently asked quesitons are:
1) Could it support VB.NET? 2) Where is the source code?

Now, here comes Mini C# Lab ver 1.2 and some wishful features are added.

First, it supports VB.NET now! Yes, **VB.NET**!! Although it's Mini "C#"
Lab, many people still want to use it to test VB.NET code. I found that the
CodeDomProvider provides the abstract class concept, so we can use the almost
same code to add VB.NET support easily. Since it's not difficult at all,
thanks to .NET RD team, I put the VB.NET support into Mini C# Lab ver 1.2.

Second, since many people asked about the source code, here you are. In my
life of coding, I learned a lot from open source projects and always believe
the spirit of sharing over Internet makes the world better day by day. So,
here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
interested in how it works, you can find the source code there. One more
thing, if you find any lousy or dirty code inside my source, please let me
know.

Since it's on CodePlex now, besides my blog, you can give your feedback on
CodePlex, too. Thank you!

Blog:
http://blog.darkthread.net/blogs/dar...harplab12.aspx
CodePlex: http://www.codeplex.com/minicsharplab

"Andrus" wrote:
How you created c# syntax coloring editor ?
Where to find source code of this application ?

Andrus.

"Guineapig" <guineapig@anti_spam.com.twwrote in message
news:92**********************************@microsof t.com...
Hi, I just wrote a mini C# lab for myself, I think it may be useful for
others, so I shared it on my blog.
If you often need to write only serveral lines of code and don't want to
waste time on waiting for Visual Studio startup, maybe you will be
interested
in it.
http://blog.darkthread.net/blogs/dar...sharp-lab.aspx

Jun 27 '08 #5

P: n/a
Guineapig,
Second, since many people asked about the source code, here you are. In
my
life of coding, I learned a lot from open source projects and always
believe
the spirit of sharing over Internet makes the world better day by day.
So,
here is my two cents, I have put Mini C# Lab on CodePlex now, if you are
interested in how it works, you can find the source code there. One more
thing, if you find any lousy or dirty code inside my source, please let me
know.
Thank you.
Ideas:

1. Allow embedding. Create a static method which accepts script as string,
returns modified
script and can be called from other application to embed mini-lab to
application.

2. Change code font to fixed-width.

3. Use http://www.codeproject.com/KB/cs/cs-script_for_cp.aspx as script
engine, it has some more possibilites and automatic
assembly reference adding.

4. Use Searchable controls to add find/replace to RichTextBox ?
http://www.codeproject.com/KB/edit/S...eControls.aspx
new version: http://jimblackler.net/SearchableControls.zip

Andrus.

Jun 27 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.