I like this idea, but how would you determine the "unit" you're closing? Indentation? A mouse click after invocation?
--pete -----Original Message----- From: DOMMASCH Alex [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 9:32 AM To: '[EMAIL PROTECTED]' Subject: [Eap-features] Re: Code Completion in (JSP) Tags What about having a generic "close section" command. I.e., depending on context, it would put in the closing characters for whatever "unit" you're currently in. For JSP files, you could close with "%>" (or "--%>" if you happen to be in a JSP comment). For java files, you could close with curly-braces, parentheses, brackets, or even the semicolon. In fact, code completion does this sometimes already, if the function call has no return value. It would be nice to make "close section" a generic type of completion. Alex Dommasch _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-features
