jaredpar's WebLog

Code, rants and ramblings of a programmer.
Posts
  • jaredpar's WebLog

    Avoiding automation bugs when implementing IOleCommandTarget

    • 0 Comments
    Shortly after Visual Studio 2010 shipped I wanted to experiment with the new VSIX format for traditional Package extensions.  I fired up my copy of Visual Studio, ran through the new package project wizard.  But instead of a nice shiny new project...
  • jaredpar's WebLog

    Newlines in the immediate window

    • 0 Comments
    A question came up recently on stack overflow concerning the display of newlines in the immediate window.   The author noted that any .ToString method which contained a newline printed incorrectly when evaluated in the immediate window. ...
  • jaredpar's WebLog

    My next adventure

    • 1 Comments
    After 4+ years on the languages team it’s time for me to move onto the next adventure.  I joined the languages team in the winter of 2006.  Since then I’ve worked on pretty much every part of the language experience including the compiler, debugger...
  • jaredpar's WebLog

    Using lambdas to create generic factories

    • 4 Comments
    One item I find to be limiting in C# is the new generic constraint.   The syntax construct specifies that the type backing a given generic parameter contains a parameter less constructor.   It allows methods to create instances of generic...
  • jaredpar's WebLog

    Why is LINQ absent from debugger windows (Part 2)?

    • 8 Comments
    Some readers may remember an article I published almost half a year ago about LINQ being absent from the debugger windows.  That post explored the initial design of the feature, it’s limitations and ultimately why it was absent but promised a future...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.8.1)

    • 1 Comments
    I just released an update to VsVim for Visual Studio 2010.  This is available on the extension manager in Visual Studio or can be downloaded directly at the following link. Link: http://visualstudiogallery.msdn.microsoft.com/en-us/59ca71b3-a4a3-46ca...
  • jaredpar's WebLog

    Metablogging – changes to my blog

    • 0 Comments
    Recently the MSDN blog architecture got a long overdue update to a new infrastructure.  Most of these changes are very welcome but a few are causing a bit of issues for me and readers My blog URL changed to - http://blogs.msdn.com/b/jaredpar/ Additionally...
  • jaredpar's WebLog

    Nothing is private in the debugger (part 2)

    • 0 Comments
    In a previous post I discussed how accessibility is ignored when evaluating expressions in the debugger and the unexpected scenarios that it creates.  One case I neglected to mention in that article is how this behavior works with the VB late binding...
  • jaredpar's WebLog

    Nothing is private in the debugger

    • 0 Comments
    The goal of the debugger is to provide rich inspection capabilities for a process.  The main method of inspection is through the evaluation of textual expressions which is handled by a language specific component known as the expression evaluator...
  • jaredpar's WebLog

    Making Equality Testing Simple

    • 4 Comments
    Getting equality correct on a .Net type is a fairly involved process involving adherence to a large set of rules in order to be considered correct.  Including Object.Equals overrides on reference types must return false for null values Object.Equals...
  • jaredpar's WebLog

    Dictionary<TKey,TValue>.TryGetValue and Anonymous Types

    • 7 Comments
    One of the methods I find to be the most useful in .Net is the method Dictionary<TKey,TValue>.TryGetValue .  This method is a nice compromise between performance, explicit return vs. exception, and a being verbal about the chance of failure...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.7.2)

    • 0 Comments
    I just released an update to VsVim for Visual Studio 2010 RC.  This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft.com...
  • jaredpar's WebLog

    Flattening class hierarchies when debugging C#

    • 1 Comments
    One piece of feedback I heard in the MVP sessions this week is that debugging deep class hierarchies in C# is painful.  By default C# will only display the fields and properties declared on a given type.  To get to base class members you must...
  • jaredpar's WebLog

    VsVim Update Released for RC (Version 0.7.1)

    • 6 Comments
    I just released a quick update to VsVim which moves it to the Visual Studio 2010 RC build.  There are no functional changes in this release Link: http://visualstudiogallery.msdn.microsoft.com/en-us/59ca71b3-a4a3-46ca-8fe1-0e90e3f79329
  • jaredpar's WebLog

    VsVim Update Released (Version 0.7.0)

    • 0 Comments
    I just released an update to VsVim for Visual Studio 2010 Beta2. This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft.com/en...
  • jaredpar's WebLog

    Having fun with events in F#

    • 1 Comments
    Recently I ran into a situation where I needed to handle some events in F# in a special way.  In this particular case I wanted to be able to disable and re-enable my handler based on changes in the program.  Essentially the C# equivalent of...
  • jaredpar's WebLog

    Easier script deployment in PowerShell 2.0

    • 1 Comments
    If you can’t tell from reading entries in my blog I’m a bit of a script junkie.  I loathe typing out the same command sequence more than once.  As such I go to great lengths to script as much as possible in life.  I also enjoy sharing my...
  • jaredpar's WebLog

    The many cases of ByRef

    • 0 Comments
    One of the overlooked or simply misunderstood features of the VB language is calling a function which has a ByRef parameter.  Most languages support only a single method of passing parameters by reference [1], that is the scenarios directly supported...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.6.0)

    • 0 Comments
    I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft...
  • jaredpar's WebLog

    Making F# type inference friendly for C#

    • 5 Comments
    One of my current hobby projects, VsVim , requires me to make a lot of calls between F# and C# projects.  The core Vim engine is a pure F# solution based on Visual Studio’s new editor.  It additionally has a small hosting layer and a large test...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.5.4)

    • 3 Comments
    I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft...
  • jaredpar's WebLog

    The File System is unpredictable

    • 11 Comments
    One of the more frequent questions I answer on StackOverflow is a variation of the following.  I’m doing XXX with a file, how can I know if the file exists? The variations include verify no one else has the file open, if the file is in use, the file...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.5.3)

    • 0 Comments
    I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft...
  • jaredpar's WebLog

    Dev Connection Talk Slides and Code

    • 0 Comments
    Thanks to everyone who attended my sessions at Dev Connections.  I’ve posted the material for both of my talks on my SkyDrive account.  This includes the slides and projects. http://cid-dc25b20f65f628f8.skydrive.live.com/browse.aspx/Public/DevConnections2009...
  • jaredpar's WebLog

    VsVim Update Released (Version 0.5.2)

    • 0 Comments
    I just released an update to VsVim for Visual Studio 2010 Beta2.  This should be available shortly from the extension manager in Visual Studio or it can be downloaded directly at the following link Link: http://visualstudiogallery.msdn.microsoft...
Page 2 of 13 (321 items) 12345»