One Entire Week of SlickEdit 2009

Yep, it's been an entire week of SlickEdit 2009 here at my desk.

The only time I opened version 7 was to compare a macro. And, I've not had to change a macro for 4 workdays.

Things I've had to learn:
  • Stop backspacing over things you want to remove... word left and nuke to end of line avoids whatever the template editing is doing.
  • Jumping to a bookmark no longer takes an enter key. Ctrl-J followed by the number or name and you're there
  • Make friends with the file open tab and the search tab. I actually really like both those features. Since I was using a somewhat prehistoric version, I'm not sure when the new File Open window was added, but I like typing F:\ (enter) and having it immediately open to those files, then partial-text entering gets me to where I'm going fast.
  • Pull my head out about macros... described below
Macro Info

I'm not totally in love with the 'record a macro' 'play back a macro' scenario in 2009, but I have a way around it.

It's my opinion it should just work, but it doesn't for everything.

If you view->source on my blog for any of the SilverlightCream entries, you'll see a dt/dd sequence with hyperlink, title, etc. I use a macro to build that for me, and it seems to me that if I am in a file with an html extension and I record some html, then I should be able to play it back, and that isn't working... well, it works, but it doesn't play back what I did because the playback gets confused with the template editing (my opinion).

But... I can make it work. Since I'm overly familiar with the macro source file, I just pop open vusermacs.e after recording something. I remove all the "last_event(name2event(" things and replace it with just keyin's of what I was trying to do. I'm keying in < and > separate to trick the editor into not knowing it's a tag also.

I reworked an OpenLine() macro I had used since forever to use keyin_enter() and am also using that by itself when I want a newline in the target.

I got much smarter about trying to place items by setting bookmarks as I go and then jump to the bookmark rather than make assumption about cursor_up for x lines because the number of lines changes based on other things the template editing does. This was probably the biggest cause of my failures last time and early this go-around.

Macros, particularly the large ones, play back really slow. Again, I think this is the template editing getting confused with the playback. I think I'd be stupendously happy if I could suspend the template editing during playback, or between two markers in a macro maybe. Mostly what I'm doing is just slapping in C#, html, xaml, or xml that I've debugged already, so I don't need the template to be trying to help.

General Setup/Useability

Because we're talking about a big macro engine here, the possibilities are endless. In the past, I've always tweaked and tweaked on the color settings. I'm old-school and with glaucoma I like green on black. SnowWhite may have gotten along with the dwarves, but that background just makes my eyes tired. Out of the box, they have a few darker themes and I am using the standard Mocha. The only change I've made is I switched the font to Consolas 12 because like it or not, I'm older, and this is very visible.

The IntelliSense is great, and even builds up descriptions from my header comments on code I've written. Would be nice if there were some refactoring built-in like "Extract Method", but I've got VS for that.

Having both editors around is really best of both worlds. I bring in one of the old aspx files to Visual Studio, do Ctrl-E, Ctrl-D and it not only makes it pretty but it deals with a lot of the case issues for compatibility. Then I open it in SlickEdit and run macros to add / at the end of some tags, and make global boilerplate changes very fast.

Bottom Line

We're friends now. A little bit of compromise and it was back to the business at hand. And that's just me... there are tons of features that I haven't looked into yet.

Don't take my word though... check it out for yourself!
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

2009 Silverlight Control Builder Contest is live!


Remember last year Page Brooks invited me to help with his Control Builder Contest? I didn't do much, and this year with Silverlight Contrib and Silverlight MVP under his belt, he's off to the races with the 2009 version of the contest all on his own.

There's a big difference though, because last year the contest, like many others, was U.S.-only. If you've been reading this blog long enough, you'll remember I was particularly miffed at the lack of interest in the contest. I was told that the U.S.-only clause is what held it back.

Well... this year is different... there are NO RESTRICTIONS on your locale for entering the competition. Page has a great site up, so get your control-game on and get coding. If this is anything like last year, he's going to have more prizes as time goes on, so keep checking.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Silverlight Cream for July 14, 2009 -- #639

In this Issue: Corey Schuman(2, 3), Andy Beaulieu(2), Jafar Husain, Jonathan van de Veen, Ashish Shetty, Walt Ritscher, and Celso Gomes.

Shoutout:

Andy Beaulieu has some new SL3 posts below, but also has updated some old ones: Silverlight 3 Released!

Jeff Handley and his crew are looking for feedback on the DomainDataSource in the new .NET RIA Services release: DomainDataSource – Defining Its Limits


From SilverlightCream.com:
Editing a ToolTip Style in Blend 3
Corey Schuman has up a great tutorial on getting into the Tooltip Style in Blend 3 ... shows how to get in there and edit it like any other control.
SketchFlow Controls
I love the sketchflow controls. I did at MIX09 and they still look cool. Corey Schuman has a page up showing what they all look like...
Overview of Sample Data in Blend 3
One of the cooler things about the new Expression Blend is sample data. Corey Schuman has a nice tutorial up on setting that all up... highly recommended!
Improved HitTest Method for Silverlight 3
Andy Beaulieu details an improved hittest using both vector and raster images ... to the pixel... quite a boon to the games folks.
"Printing" in Silverlight 3 with WriteableBitmap
Andy Beaulieu offers up a workable solution for not being able to print a Silverlight page by using WriteableBitmap with instructions, demo, and code.
Introducing the Rating Control
Who better to explain the ins and outs of the Rating Control than the guy that wrote it?? Jafar Husain gives us a bunch of good info...
Adventures while building a Silverlight Enterprise application part #15
Jonathan van de Veen details a problem he had at crunch time on a demo and what the end result of that was, what caused it, and how he fixed it.
Silverlight out-of-browser apps: How Updates Work
Ashish Shetty takes a deeper look at the OOB experience and digs into how your users get updates.
Install Error - Silverlight 3 on Developer Computer
If you have previous developer bits on your machine, you may have trouble installing the SL3 bits. Walt Ritscher has a great post up about getting this resolved.
New content for Expression Blend 3 and Silverlight 3
Celso Gomes has new Nibbles material up already for Silverlight 3 and Blend 3... Explanations of what's included in SL3, a 3D Billboard sample, and two new behaviors... and he promises more tutorials shortly!

Stay in the 'Light!

Twitter SilverlightNews | SL Web Articles | My SL2+ Tutorials | My SL2 Articles | My SL2 ToolTips | My Tutorials | My Articles | My Tooltips | SL2 Web Articles | SilverlightCream | Join me @ SilverlightCream |


Technorati Tags:        
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
«July»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678