TSW WebCoder 2010 sneak-peak 7: The convert menu
April 27, 2010
A lot of people have been requesting more options in the convert menu, so with WebCoder 2010, this menu has gone from a few items to currently 11 items, as you can see on the screenshot.
The lowercase and uppercase functions are probably well known from WebCoder 2009, but the Capitalize function is new. It simply capitalizes each word in the selected text.
The new comment functions are all context-sensitive, so they will use the proper comment notification depending on which language your cursor is currently placed in.
The list functions existed as scripts in previous versions of WebCoder, but to make them easier to find and use, I have included them in the menu.
The next two options are inspired by a user request. The first one will take the selected lines and place each of them inside a PHP echo statement, while escaping quotes if necessary. The second one will do the exact opposite.
The last one is a bit special. It allows you to select a PHP string and then have it escaped properly. It will both add and remove escaping as necessary, to give you a valid string. It might need some fine-tuning, but I think it's a pretty useful little feature :)
So, what else do we need, guys? Let me know what you think!