Monodevelop's text editor - mono

There are several articles that instruct how to use avalonedit of sharpdevelop (avalonedit is the editor of sharpdevelop). Is there any article out there that explains how to use monodevelop's text editor? Also, what's the name of that editor; does it have a name? Thanks.

A while ago the previous text editor was replaced by Mono.TextEditor. There's not much documentation on it, or articles about it, but you could look at how it is integrated into MonoDevelop.

Monodevelop was originally a port of Sharpdevelop. You can find a lot of tips on monodevelop here.

Related

Notepad++ Code Snippet [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Notepad++ code snippets manager
I realize that Notepad++ is not an IDE but there might be plugins that may emulate this functionality. I know there is a auto complete function in Notepad++ but I am looking for something that can be customized.
I can't remember the exact term, but what I am referring to is:
For example if I write php in Notepad++/or some other IDE will replace it with
<?php
?>
So my question is
What is the terminology for that?
Is there a plugin for Notepad++?
Which Editors/IDE's support this functionality?
Sorry if this been asked before but I can't remember the exact term so I can't search for it.
As pointed out in the comments, they're often called code snippets, and you'll find good support for these in the SnippetPlus plugin.
Here is a link to a page if you are using notepad++ version 5.0. You may just need to update your version.
http://cybernetnews.com/notepad-50-can-auto-complete-code/
On Windows you could use Autohotkey to replace a php with the text you wrote in all windows programs (even your browser). You can of course specify it to only do this in certain programs. This means that you could change IDE in the future without having to learn new auto-completion functionality. This has saved me a ton of keystrokes.

Editing vb.net in netbeans

My work dropped a vb.net program in my lap that I need to modify. Die vb. Die.
Anyway, I work in Netbeans and can't find a module that will allow for syntax highlighting of vb. Is there a creative solution out there for this that doesn't involve using a different IDE?
Thanks guys.
As mentioned in the accepted answer to this question, there is a tutorial for setting up custom syntax highlighting in Netbeans here (direct link to tutorial instead of link to FAQ provided in linked question).
I think you might well find that it's less hassle to just install Visual Studio than to set up Netbeans to highlight VB.Net syntax, but that's up to you. Good luck.

Is there an $end$ version in vb.net for snippets?

I'm making some snippets and i want to position the cursor. I've come acros "$end$" but all examples i see are in c#. Since recently i've started programming in vb.net again and it seems $end$ isn't recognized or doesn't work here. Is there another keyword in vb to do the same?
thanks in advance.
To the best of my knowledge, no. MSDN doesn't do the best job of documenting the meta-languages of snippets so reverse engineering tends to be the best way to figure things out. Looking through all of the VB snippets I can't find any usage of $selected$ or $end$. When I insert Microsoft-created snippets in VB I also can't press enter to go to the inside of my snippets like I can in C#.
If you install SharpDevelop, it has a translator that will convert C# code to VB.NET.
Just open a .cs file and then Tools->Convert to->VB.NET

ReSharper API... Uh... where is it?

Ok I must be having a blonde moment, but for the life of me I can't find where to
download the ReSharper API, to use with the project I got from here.
Any help or links would be greatly appreciated.
Api information:
http://www.jetbrains.com/resharper/features/open_api.html
You mostly need to reference various DLLs in the bin directory of the Resharper folder, then you can get started playing around.
If you don't have a license to the product, that would be an obvious prerequisite.
Edited to add:
Here's some ancient documentation, which may get you somewhere:
http://www.jetbrains.com/resharper/documentation/help20/Introduction/openapi.html
And the developer forums:
http://devnet.jetbrains.net/community/resharper/resharper_eap
And occasional tutorials on their blog:
http://blogs.jetbrains.com/dotnet/
It's not really great documentation, but you probably will have at least a little bit of help from Xml Doc comments.
You can look at sources of ReSharper PowerToys, open sourced examples of small features done with Open API.

Small tools/scripts that help you so much?

On top of my head, especially for C/Linux developer:
ack
git-bz
colorgcc
colordiff
moap and prepare-ChangeLog
Is there some tool/script you couldn't work without, but that you feel others don't know so much?
For instance, I just found:
cppcheck
I don't use it that often, but the tool with the highest ratio of awesomeness to being little known has to be dot, which is the tool for drawing directed graphs that is part of the AT&T Graph Visualization suite. A nice example output is their Unix family tree.
On Windows or Linux:
grep, without a doubt
tail
vim
On Windows (and Linux, Solaris), XMLStarlet
I realize that grep and tail are well-known, but it amazes me how many people think it's magic when you use either one of them. Same thing with Vim. I'm hardly a power user, but I can open it up and have a small document complete before MS Word would even open.
Vim http://www.straw-dogs.co.uk/wp-content/vim_logo.png
Vim, my favorite editor
StackOverflow
Google
And my other two favourites are too large to be considered small :P
Visual Studio
The Internet
It's a language not a tool, but it is small and not yet well known: the programming language Lua. I can't live without it and it is gradually displacing my sh, ksh, awk, and perl scripts... One mark of genius: the escape character for string-search patterns is different from the escape character for quoted strings. No more trying to make sense of legions of backslashes!
git has had such a profound impact on my workflow that I do not want to code without it
firebug is a must for web development
standard command-line utilities/functions: grep, find, locate, tail, sed, awk, pushd, popd
custom TextMate bundle snippets, TextMate's bundle editor is superb even though TextMate lacks some important vi and emacs capabilities (like split buffers)
regular expressions - people need to learn how-to use regexps, period
I'm quite fond of:
.Net Reflector
Sysinternals (a bunch of cool tools here)
The python interactive interpreter and its pumped up variant iPython are the tools that have enhanced my programming productivity like no other.
Being able to experiment with new code on the fly and inspect objects, classes, and modules in any way you want interactively is simply awesome.
Does know one depend on Putty ?, i really dunno what i would do with out it
Most have been listed here already so I won't repeat. Here are a couple new ones.
LINQ Pad
Reflector
Sticky Notes VS Add-In
psValidation (My own Validation Class Library, Mostly RegEx)
- ANT
- Mylyn
- TortoiseSVN
- firebug (think console too!)
- TextMate
My faves are Notepad++, which I use for EVERYTHING that's not wrapped in a visual studio project, and a small macro in Visual studio that turns a c# variable declaration into a basic property. Both are simple, but oh so very useful!
Vim and PrintFile. All PrintFile does is print text and PostScript files, any which way I want them (including cut-and-paste).
I need the most tools when coding for web, anything else usually just a text editor.
for web:
Web Developer Add-On for Firefox
Notepad++
Pixie
MeasureIt Add-On for Firefox
Already listed but I must mention TextMate. I use Mercurial or Hg on a daily basis.
Firebug. More than anything else.