Type a common keyword e.g.
for
Then hit the Tab key twice.
VS generates:
for (int i = 0; i < length; i++)
{
}
There's a whole lot of others listed here:
Enjoy!
Ideas and thoughts about Microsoft Identity, C# development, cabbages and kings and random flotsam on the incoming tide
for (int i = 0; i < length; i++)
{
}
Why should I use this framework?
How popular is it?
Real companies building real applications use this framework. Most people who evaluate this framework choose to use it.
There is another popular framework with a download of several megabytes(!!), while yours is only about 100K (the DLL itself is only 40K). What gives?
With this framework you get a framework. Out of the box you'll be able to accomplish 99% of your logging tasks. Yet it isn't bloated with unnecessary complexities. For the 1% of other logging tasks you might have, you can easily extend it.
#section name="Section1"*
#entry key="key1" value="val1" /*
#/section*
#entry key="key2" value="[Section1]{key1}" /*
DateFormat dfm = new SimpleDateFormat("yyyy-MM-dd");
try
{
Date date = dfm.parse("1990-01-01");
}
catch (Exception e)
{
System.out.println("Date exception is: " + e.getMessage());
e.printStackTrace();
}
DateFormat dfm = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try
{
Date date = dfm.parse("1990-01-01 12:40:00");
}
catch (Exception e)
{
System.out.println("Date exception is: " + e.getMessage());
e.printStackTrace();
}
/**
*
*
* @ejb.interface-method view-type="remote"
*
* @generated
*
* //TODO: Must provide implementation for bean method stub
*/
public String greet(String param) {
return "Hi dude " + param;
}
try
{
EJBTestHome home = ejbs.EJBTestUtil.getHome();
EJBTest service = home.create();
String result = service.greet("Tom");
System.out.println();
System.out.println("Result is " + result);
}
catch (Exception e)
{
System.out.println();
System.out.println("Exception " + e.getMessage());
}
LT%@page import="ejbs.EJBTestUtil"%GT
LThtmlGT
LTheadGT
LTtitleGTEJBWebTestLT/titleGT
LT/headGT
LTbodyGT
LT%
ejbs.EJBTest tb = null;
try
{
ejbs.EJBTestHome home = EJBTestUtil.getHome();
tb = home.create();
}
catch(Exception exception)
{
}
%GT
LTbGTLT%= tb.greet("Tom") %GTLT/bGT
LT/bodyGT
LT/htmlGT