Enable assert statements?

Using the Java SDK with TextPad

Moderators: AmigoJack, helios, bbadmin, Bob Hansen, MudGuard

Post Reply
User avatar
jon80
Posts: 24
Joined: Thu May 28, 2009 10:03 am

Enable assert statements?

Post by jon80 »

It would be nice if the developers of TextPad 5.4.2 decided to implement the functionality which automatically runs the following command when an assert statement is detected in the code. The option is commonly accessible through Tools > External Tools > Compile (Ctrl + 1).

Code: Select all

class Assertion
{
	public static void main (String[] args)
	{
		int a = 5;
		assert (a != 5);
	}
}
[/code]
Jon
Post Reply