Wednesday, June 17, 2009

Notepad++: How to Associate Syntax Coloring for a File Extension

For the life of me, I could not figure out how to permanently associate the XML syntax coloring for files with a .config extension in Notepad++.

The help did not help, nor did the FAQs.

At any rate, this is how you do it:
  1. Settings Menu --> "Styler Configurator" (which then displays the "Style Configurator" window (note the discrepancy)).
  2. Click on "XML" in the Language list on the far left.
  3. Notice at the bottom there are two text boxes: Default ext and User ext.
  4. Enter config in the User ext text box.
  5. Click Save & Close.
  6. Open a file with .config extension - file should be automatically highlighted.
Here's a suggestion for Notepad++ developers (since it doesn't seem as if they have UX or Interaction Designers on the team)...

Help the user out by doing one of the following:
  • When an unrecognized file is opened ask what kind of file it is, or
  • When the user clicks on an entry in the Language menu, save it as the default for files with that extension.
Thanks!

Friday, May 22, 2009

iPhone Conspicuously Missing from ASP.NET Mobile Controls Tested Devices

Interestingly, the iPhone is conspicuously missing from ASP.NET Mobile Controls Tested Devices:

ASP.NET Mobile Controls Tested Devices : The Official Microsoft ASP.NET Site

...reminds me of ballmer's comments on the iphone: http://tinyurl.com/ok8qcu

My favorite quote: "now, it may sell very well..."

LOL.

Friday, January 23, 2009

Ultralingua: o meu amigo!

In my recent learning of the Portuguese language, I have found the Ultralingua dictionary to be very helpful!

Ultralingua.com

It has iPhone, Mac and Windows versions and I've found the iPhone and Mac versions to be excellent. Windows, while functional, feels a bit like a red-headed stepchild. However it's still an excellent tool no matter which flavor you download it.

It's not free (it has a free trial), but it is definitely worth the very affordable price tag - especially the iPhone version!!!

Friday, September 26, 2008

Free Wireless at Peet's

Finally! Wireless at Peet's Coffee & Tea and it's FREE!!!

Peet's Coffee & Tea

Looks like they one-upped their main competitor again. Now awesome coffee and free wireless!

Now if we could just get them to also offer non-baked-goods for food.. hmmm...

Monday, September 22, 2008

twitterfeed

OK... as usual, I'm a little slow finding out and signing up for the latest social productivity tools, and this time I recently discovered twitterfeed from seeing it being used by some folks who I'm following on Twitter:

twitterfeed.com : feed your blog to twitter - post RSS to twitter automatically

...it's very handy and simple to use.

Thursday, August 28, 2008

WPF Window Events - Loaded or Initialized?

So I was trying to determine which event to use for handling window initialization in WPF, since there seems to be a couple of options that are a little different from Windows Forms: Initialized and Loaded.

Thankfully MSDN came to the rescue and clarified things a bit in the documentation for the Initialized event:
[Initialized] will be raised whenever the EndInit or OnVisualParentChanged methods are called. Calls to either method could have come from application code, or through the Extensible Application Markup Language (XAML) processor behavior when a XAML page is processed.

Whether you choose to handle Loaded or Initialized depends on your requirements. If you do not need to read element properties, intend to reset properties, and do not need any layout information, Initialized might be the better event to act upon. If you need all properties of the element to be available, and you will be setting properties that are likely to reset the layout, Loaded might be the better event to act upon. Be careful of reentrancy if your handler resets any properties that are interpreted by the layout system to mean that a new layout pass is required. (You might need to check the FrameworkPropertyMetadata values on the property if you are unsure of which properties can require a new layout pass if they are changed.)

Tuesday, August 5, 2008

Disabling Windows Desktop Search Explorer Integration

If anyone hates the steaming turd that is Windows Desktop Search's Explorer Integration as much as I do (i.e. the search utility that can't find anything), please read Scott Hanselman's blog article outlining the very simple fix to disable this piece of total crap software:

Scott Hanselman's Computer Zen - How to disable Windows Desktop Search explorer integration after installing Office 2007

I feel much better now.

Hope this helps!