NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed. (sponsored)
In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.
Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.
Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
We've collected some statistics about the frequency of applying IntelliJ IDEA features in the developers' daily routine. And here we'll mark one of the popular ones out that surely improves your productivity and saves a lot of time.
While working on your projects, you definitely comment and uncomment some parts of code rather often. Making this action faster would be useful for sure, so here are several useful IntelliJ IDEA shortcuts you may not know about, to deal with it.
For example, we have the following code:
To comment the current line, press
Ctrl + /
.
If we want to comment an arbitrary piece of code, we should select it. In IntelliJ IDEA we use a single shortcut (
Ctrl + W
) pressed sequentially to select a logical code block at once.
Now, to quickly comment the selected block we just use
Ctrl + Shift + /
shortcut.
Comments are inserted depending on your code style settings.
To uncomment a line or a block of code use
Ctrl + /
or
Ctrl + Shift + /
shortcut respectively.
IntelliJ IDEA: Express code commenting
At 9:10 AM on Dec 18, 2007, Alexander Morozov wrote:
Fresh Jobs for Developers Post a job opportunity
While working on your projects, you definitely comment and uncomment some parts of code rather often. Making this action faster would be useful for sure, so here are several useful IntelliJ IDEA shortcuts you may not know about, to deal with it.
For example, we have the following code:
To comment the current line, press Ctrl + / .
If we want to comment an arbitrary piece of code, we should select it. In IntelliJ IDEA we use a single shortcut ( Ctrl + W ) pressed sequentially to select a logical code block at once.
Now, to quickly comment the selected block we just use Ctrl + Shift + / shortcut.
Comments are inserted depending on your code style settings.
To uncomment a line or a block of code use Ctrl + / or Ctrl + Shift + / shortcut respectively.
3 replies so far (
Post your own)
Re: IntelliJ IDEA: Express code commenting
Great tips, thanksWould you like to give me some tricks about how to "generate element comment" just as eclipse?
Re: IntelliJ IDEA: Express code commenting
Type /** before a method and hit Enter.Re: IntelliJ IDEA: Express code commenting
Nice tip, I'm working on it. Thanks.