RSSThe TSW Blog

The making of TSW WebCoder 2013 part 9 – File and project statistics

September 25, 2012

I've made a new file properties dialog for WebCoder, which will show more relevant information for a code file. Here's an example of it in action:

 

file_properties

 

I think that this is useful, and definitely pretty interesting, for your various project files, but getting statistics for the entire project will likely be even more interesting. Therefore I made a dialog for that as well:

 

project_properties

 

So, what do you think? Pretty cool, right? :)

Kasper (TSW) @ 10:09 am in TSW,WebCoder

Improving the usability of TSW WebCoder 2013 part 3: Firefox preview and XulRunner installation

September 18, 2012

WebCoder has supported previewing your content internally in Firefox for several versions now. It relies on the so-called XulRunner components, which are a part of the Firefox browser. At one point, it was enough to simply have Firefox installed to use this feature, but because Firefox are being updated so rapidly these days, WebCoder can't rely on the user having a compatible version of Firefox installed. Therefore, previous WebCoder versions had a link to a compatible XulRunner package, exclusively for previewing in WebCoder - a simple zip file, that you could unpack and then enter the proper path into WebCoder.

However, this might have been a bit too technical and too big a bother for some users, judging by the support mails I got. I therefore decided to streamline the process quite a bit for WebCoder 2012, by presenting the user with a dedicated and informative dialog instead of the old Windows message box. Here's how it looks when you try to activate the Firefox preview without having the necessary XulRunner components:

xulrunner_dialog

 

Unless you have already downloaded the correct XulRunner package, you simply click the Download now button and WebCoder will download it for you directly through the dialog:

 

xulrunner_downloading

 

As soon as the download finishes, WebCoder will automatically unzip the package, place it within your WebCoder installation and fill out the path for you:

 

xulrunner_downloaded

 

The only thing left to do for you is to click the Ok button and you're ready to start previewing in Firefox :)

This is yet another one of those small, nice-to-have improvements that I hope you will like!

Kasper (TSW) @ 1:58 pm in TSW,WebCoder

The making of TSW WebCoder 2013 part 8 – Scripting IntelliSense

September 6, 2012

In the previous blog post we talked about the new scripting support with JavaScript syntax, which allows you to extend the functionality of the upcoming WebCoder. Scripting is a really powerful tool, but unfortunately it has previously been a bit hard to learn and use, because you had to use an unfamiliar syntax AND use a class library (.NET) that you likely didn't know.

With WebCoder 2012, we hope to solve the first problem by changing the syntax to JavaScript and the second one with scripting IntelliSense. That's right, writing scripts in WebCoder 2012 just got a whole lot easier. Here's a couple of screenshots that will demonstrate just how cool it is.

 

script_intellisense_allround

The all-round IntelliSense, with JavaScript objects and methods, .NET namespaces and classes and WebCoder classes and methods.

 

script_intellisense_members

Member IntelliSense, in this case for a .NET string, showing the available methods and properties.

script_intellisense_paramhint

Parameter hints, in this case for the Substring method on the .NET String class.

As you can see, you will now get a lot of help when you write scripts in WebCoder, making it a lot easier to use all the powerful features from the .NET class library as well as the internal functionality of WebCoder. Hope you like it :)

Kasper (TSW) @ 10:15 am in TSW,WebCoder