Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I always find myself creating new projects in VS just to write a oneliner to test something out, or use it as a more dynamic calculator. Is there a tool out there that I can quickly open up, write my C# code and then see the result? Intellisense would be a nice option.
I remember using a C# python-mod addin for VS which was basically like a console that worked in a similar way, but I'd like to do it without creating projects etc.
Any ideas?
Is there a tool out there that I can quickly open up, write my C# code
and then see the result?
LinqPAD is defintely an option.
Intellisense would be a nice option
The paid version of LinqPAD provides also an intellisence.
CsharpRepl or gsharp (GUI version)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I just bought visual studio 2013, and am using the debugger. I am wondering if there is something built in that will tell you how long something takes to load--How long a variable takes to get populated, one breakpoint to another, etc. Is this possible somehow?
You can use Profilers for such statistics.
Have look at Analyzing Application Performance by Using Profiling Tools.
I would also recommend watching Visual Studio 2013 Performance and Diagnostic Hub
For good dotnet Profilers have a look at this post :
What Are Some Good .NET Profilers?
As a side note:
There are different profilers for different languages and chores, you need to specify what exactly you need, then you can pick their respective profilers.
For example if you needed to work with DataBases, you could use sqlsever profiler, or Oracle profiler,(all major DMBSs have their profilers) the same thing goes to c++, etc
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I use notepad for writing daily notes.some times when system gets restarted by accidentally, I loose my content.
So my question is"can I write an auto-save plugin for notepad" ?
Please let me know if I can write an auto-save plugin for Notepad using C#.NET.
I know about Notepad++ but I want to use notepad only.
Thanks in Advance.
There is no direct way of doing this because NotePad is a separate application and you don't have its code. Even if you did have the code, I'm highly sure it wouldn't be in a .NET-based language.
There is an alternate though. You could recreate entire NotePad from scratch in .NET. Believe me it won't take more than a couple hours for a guy who knows his tools (someone out there might already have done that). Then you can add any new features at your choice.
Yet another way would be hooking into NotePad's low-level messages through Platform calls and trying to somehow inject your features into it, but that's something I'm not an expert at and that would probably take more effort/expertise than writing your own NotePad from scratch.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I've drunk the kool aid. Vim is elegantly beautiful, and I must learn how to use it and configure it to have a great compiler. Tis the best way to learn.
The question is, where do I start? Is there a good tutorial which teaches Vim for C# in Linux, yet one which assumes that you know next to nothing about Vi in general?
Massive kudos to anyone who can supply this one. Seriously.
Look into these
http://kevin-berridge.blogspot.com/2008/09/vim-c-compiling.html
http://lostechies.com/derickbailey/2010/04/23/using-vim-as-your-c-code-editor-from-visual-studio/
I've used the following instructions to set up vim for C#/mono in the past successfully:
http://arun.wordpress.com/2009/04/10/c-and-vim/
Vim is actually quite good for c#. Even does basic completion!
Edit: The original link was dead, replaced with a wayback machine copy.
I love vim and for Studio work I use viemu.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have been looking for a fairly decent online IDE that does well with both c# and java, I have tried Cloud9IDE, CodeRun, and Amy Editor. I really had liked CodeRun until i found that it was impossible for me to add another file into the same project, unless i was just doing it wrong which is possible. Amy Editor was very promising also until i couldn't figure out how to create a new project or compile the sample code i had written. If anyone knows how to use these editors or of any other good online IDE environments then I'm game to learn.
Why not run your IDE somewhere on a machine and connect to it remotely? You can even install your own Virtual Desktop on Amazon EC2 for example, so you don't have to run the machine yourself. For an idea on how to do this see http://cloud.ubuntu.com/2010/11/show-off-ubuntu-desktop-on-cloud/ for example.
Have you tried using Compilr?
I think it's only been up and running for a few months but it's a pretty good website, not sure if it meets your functionality needs though.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I recently found the need to learn a new library that didn't come with extensive documentation for a change. The code is written in C# and I am using Visual Studio 2010 as my editor. The library that I am trying to learn did come with a sample driver, but it is fairly large and complex as well. I was wondering if there are any facilities in VS that would allow me to watch the code as it is executing so that I learn as it runs.
Is anyone aware of any tools that I should be looking at in VS and additionally, in general can you specify any other methods that I might use to quickly learn how to use new libraries.
Thanks
Write learning tests.
Red Gate's Reflector is a must have for looking into 3rd party library's and there are a couple plugins for it (FileDisassembler is one) that allow you to save your dissasembled files so that you can step through the code.
You can set a BreakPoint at any line you you want the program to stop at, and when you run it in debug mode, you will then be able to execute a single line of code at a time, by pressing F11 or F10 (F10 does not go deeper into inner function calls).