Spell Checker Update – Perf bug on large C# files

I pushed an update (v2.22) to the Spell Checker extension just a little bit ago which fixes a pretty major and annoying performance issue with large C# files. I say “fixes”, but it’s really just a big work around, courtesy Michael (who will post an entry on his blog any day now. It’s interesting enough…


Editor fundamentals: Push vs. Pull

(This is a new series I plan to write in occasionally, where I’ll talk more generally about some of the design fundamentals of the editor and best practices for extensions) One of the things I learned early on, probably incorrectly, is that you can look at how components communicate and basically split the common patterns…

3

A quick update

Sorry for (another) long hiatus, again. I’ve been pretty busy, the last few weeks especially, working on fixing bugs and some interesting internal projects that may make their way to the public eye soon-ish (like in the next few months soon-ish, which probably isn’t that soon). In the interim, I wanted to note that I…


Extending extensions

If you’d ever taken a peek at the code for the Spell Checker extension before a couple weeks ago, you may have noticed that there were some definition interfaces intermingled with the various implementation classes. One such example is the NaturalTextTag, which the spell checking logic aggregates to know what parts of a text buffer…

2

Disabling mouse wheel zoom through IEditorOptions

One of the new features for the editor in Visual Studio 2010 is zoom, which is one of those nice things we get for free by using WPF. If you haven’t played with it yet, there are two ways to zoom in an editor instance: the zoom control in the bottom margin (the one that…

1

New extension: Align Assignments

Download Align Assignments on the VS Gallery, and check out the source on github. About a month ago, a blog article about “TextMate shortcuts you should be using” came across my feed reader. The third item down on that list is “Align Assignments”, which lines up successive equals signs (=) in a block of text….

5

New extension: CSS Is Less

While browsing StackOverflow for questions about VS2010, I came upon a question about how to make .less files open in the CSS editor. Coincidentally, I had written up an extension to do this in response to a tweet from about a month ago. Since the popularity of this has doubled (from one to two people),…

2

A couple of VS2010 RC bug fixes

I’ve made a couple of small fixes in various extensions since the RC. Things have been busy, still, so I haven’t had a chance to get back to my normal blogging schedule, but I have had small bits of time for the following: Go To Definition v2.1 – Fixed bug where the caret can get…


Two extensions for VS2008 parity

Over the weekend, I came upon a question on StackOverflow about how, in the new editor, you can’t override the foreground color of selected text. I had actually played around with writing an extension to “fix” this awhile back, but never really got it fully working. Reading that question and the, uh, not-so-subtle insults about…

1

Markdown Part 4 – Outlining

This is part of the “Markdown mode” series: Part 3.5 – Posted on the VS Gallery Part 3 – A live tool window previewer Part 2 – Writing a classifier Part 1 – Markdown! A few nights ago, around midnight, I was in that I’m-pretty-tired-but-too-tired-to-fall-asleep-now state, and so decided to find something small that I…

6