Reputation: 6788
How can I stop Netbeans from automatically inserting asterisks and */
when I press Enter?
Here is a gif I created to illustrate what I'm talking about:
You can see that when I insert a newline character, Netbeans automatically adds spaces and **/
. How do I disable that feature? I looked everywhere in the settings and can't find it.
Edit: Note that I'm not referring to the automatically generated comment block that generates when you enter /**
and press Enter above a function definition.
Upvotes: 1
Views: 356
Reputation: 7055
This well-known issue has been solved in NetBeans 10.0:
jira: https://issues.apache.org/jira/browse/NETBEANS-947
Upvotes: 3
Reputation: 1302
Unfortunately, it looks like this is a known issue.
You can use
SHIFT + ENTER
to avoid this autocompletion, temporarily.
Upvotes: 1