background preloader

Visualstudio

Facebook Twitter

Vs2008

Anonymous Macros…Awesome Power! - Steve Wellens. Once upon a time, in the chilly windowless basement of a Fortune 100 company, a young programmer joined our small development team. He brought with him a programmers editor called Brief. Within weeks every developer in the entire company was using this powerful editor. The three compelling features were the ability to select copy and paste columns of text, multiple windows with cut and paste between them and…drum roll please…macros.

With macros, enormously tedious tasks can be performed easily in seconds. Sadly, the Brief editor went the way of the Dodo, but happily, the macro feature lived on. It would be clumsy to describe how Anonymous Macros work with written words so I made a video that shows the power. After seeing the video, you may want to put these keystrokes on a 'sticky' to tape to your monitor: Ctrl-Shift-R Start/Stop Recording Ctrl-Shift-P Playback I've always wanted to try doing a video and this was a good excuse.

Steve Wellens. Codeslower.com. So, you've downloaded the Oslo SDK and you've created your own custom grammar using Mg, but there is one piece missing -- getting Intellipad to automatically provide error highlighting and syntax coloring for you. "Tree Preview Mode" will highlight text in its "DynamicParserMode" buffer, but there isn't a way to tell Intellipad to apply a specific Mg grammar to a specific file. This article will show you how create a custom "mode" for your specific language. You'll also learn a bit about adding Mg support to your Visual Studio projects. The code for this project can be found at: The project contains sample grammars and files from my previous post.

The relevant portions to this article can be found in the ToDoPlugin directory. All the code is browseable at the links above. My example is based on sources found in the SDK. Update A new post with updates necessary for the January 2009 CTP is now available. Overview There are four steps we'll follow to create the custom mode for Intellipad: Generate Load Keys. YAML for .NET, Visual Studio and Powershell - Home. Scoutplugin - Project Hosting on Google Code. Whysharper - Project Hosting on Google Code. Imagine you open a file with ReSharper suggestions or warnings or errors and doubt whether the tool is correct. You may feel the suggestions are ok - but if you want to become a better developer, you need to understand the reason behind them. Otherwise the tool will be smarter than you ;) (It works the other way around too. Smart people are often good mentors, and you may want to share your knowledge about some R# suggestion - just because someone else might be struggling with the same issue right now.)

So, Whysharper provides an easy and natural way for sharing and learning. With the plugin installed, there's a new option added to every R# suggestion: After you hit the "why" you'll get a link or two with decent discussions. It's a community tool and it's you, the user, who will make it shine. A lot of R# suggestions don't have links to the explanations yet - and existing ones might be unavailable or outdated.

Download details: Visual Studio Code Name "Orcas" Octo.