Bug 43003 Disable warning/don't show again checkbox
When I reorder the contents of a source file using 'Source -> Sort Members' I get given a warning box that says task tags will be lost, click OK to continue. Whilst this is a useful warning to show the first time this occurs, it would really be great to be able to disable the warning so that it does not occur each time I am trying to work with code. A preferences checkbox showing disabled warnings, or even using the new 'Error/Warn/Ignore' for Java compile issues could be used so that the warning wasn't shown again, and/or a checkbox on the dialog saying 'Do not show this warning again'. NB the dialog of course only appears in files that have task markers, which I usually have in the form of a // TODO marker when I see this problem. Mac OS X.2.6/Eclipse 3.0M3
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java
}
			
			
			IEditorPart editor= EditorUtility.openInEditor(cu);
			if (editor != null) {
				run(shell, JavaModelUtil.toWorkingCopy(cu), editor);
			}
		} catch (CoreException e) {
			ExceptionHandler.handle(e, shell, getDialogTitle(), null); 
		}			
	}
	
	
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction
	 */
	public void selectionChanged(ITextSelection selection) {
	}
	
	/* (non-Javadoc)
	 * Method declared on SelectionDispatchAction
	 */
	public void run(ITextSelection selection) {
		Shell shell= getShell();
		IJavaElement input= SelectionConverter.getInput(fEditor);
		if (input instanceof ICompilationUnit) {
			if (ElementValidator.check(input, getShell(), getDialogTitle(), true)) {
				run(shell, (ICompilationUnit) input, fEditor);
			}
		} else {