RSSThe TSW Blog

CodeSnippets instead of tag dialogs

November 27, 2006

One of the features that you might be missing in WebPad.NET are the tag dialogs, which you find in WebCoder. However, WebPad.NET is a light version, and I think the dialogs were an easy decision to leave out. If you really want them, WebCoder might still be a better choice for you, but I do wish to point out that WebPad.NET comes with a bunch of features to help you write tags faster. The obvious ones are of course AutoProposal and AutoComplete, which can make the process of writing a tag much faster. You could also create a user button, with the most common attributes included. In this blog I will use my own personal favorite approach, which is related to the brand new CodeSnippet functionality in WebPad.NET. If you haven't already done so, you should really go and check out the demo video of CodeSnippets.

Since a user I have been e-mailing with wanted a dialog for image tags in WebPad.NET, I will use the image tag as an example for this post. Please use the following steps to create an image tag CodeSnippet:

  1. Select Functions -> Manage Code Snippets
  2. Select HTML from the language dropdown
  3. Click the Plus button to create a new snippet
  4. Use the following properties: Title = Image tag, Shortcut = img and Code = <img src="$src$" alt="$alt$" />
  5. Press the Ok button. WebPad.NET will ask you to add the declarations. Click Yes.
  6. The Code Snippet Declaration dialog will pop up. You can edit the declarations to give them more saying names, default values and tooltips, but it's not required. Click Ok when you're done.

The Code Snippet has been created, and it's ready to use. The easiest way is to simply enter img in the editor field, and then press Tab. The tag will be inserted, and you are now in CodeSnippet mode. The first declaration will be highlighted, and you can enter a proper value for it. Use Tab to move to the next declaration. Once you're done, the press Enter and the tag will be complete, and the cursor will be positioned after the tag.

As you can hopefully see, CodeSnippets can be really powerful. You can create some for the tags you use the most, but the feature offers even greater potential, especially if you're using more complex languages like PHP. That's all for now, I hope you could use this post :)

Kasper (TSW) @ 8:26 pm in WebPad.NET

TSW WebPad.NET released!

November 13, 2006

Hello all,

I'm very happy to tell you that TSW WebPad.NET has just been released! You can find more information about it, including screenshots and a couple of cool video demos, on the WebPad.NET product page. You will also find a download link for the trial version, which will allow you to try the application for 25 times. Remember that it requires the .NET framework to run, so unless you're running Windows Vista, you might need to download the framework as well. More information can be found on the .NET info page.

As you may have noticed, a couple of the pages here at tsware.net has been updated too, with new information as well as a new look. I hope you will like it all. If you have any comments, be sure to let us know :)

WebPad.NET is a brand new application, and while it has been tested by lots of betatesters for the last couple of months, bugs may still exist. If you find any, then please contact us with as many details as possible, and we will look into it.

That's all for now. Enjoy WebPad.NET! :)

Kasper (TSW) @ 11:19 pm in TSW,WebPad.NET

TSW WebPad.NET Final beta 5

November 7, 2006

The next final beta is now ready for download. Be sure to let me know about any problem you may find, so we can try to resolve it before the final release :)

WebPad.NET is based on and requires the .NET framework to run. Please see the following page if you're not absolutely sure that you have the latest version of the .NET framework: NET info page.

All feedback is much appreciated in the beta forum!

Download TSW WebPad.NET Final beta 5

Kasper (TSW) @ 11:41 am in WebPad.NET