For now there isn't.
Workaround with more work that doing it by hand :) Go to Tools->IDE Options->Live Templates Edit the first template: '<' Check the java comment option. Now, when you want to htmlize a comment: Select and cut the "comment" you want to wrap. Press <+space+b+tab+control-v. result: <b>comment</b> Sometime ago there was a suggestion for keyboard macros in idea:) Carlos > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: segunda-feira, 5 de Novembro de 2001 00:31 > To: [EMAIL PROTECTED] > Subject: [Eap-list] Live Template variable for current selection? > > > Is there a way to define a live template variable for some currently > selected text? What I want is a template that surrounds the selected > text with the template. Specifically I want to be able to > select part of > a Javadoc comment and surround it with <b></b>, <i></i> or > <code></code>. > > I searched the documentation, but couldn't find much > information on this > topic. There was a similar question and answer in the > archives regarding > casts. The answer was to use ctrl-alt-T, but that doesn't seem to work > in a comment context. > > I just started using Idea today and so far I like it. I have > been using > JBuilder for a few years and this is the first IDE I have found that > may surpasses it. > > Charles (Chuck) Simpson > mailto:[EMAIL PROTECTED] > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
