Gili created NETBEANS-422:
-----------------------------
Summary: Special handling for slf4j LoggerFactory.getLogger(Class)
Key: NETBEANS-422
URL: https://issues.apache.org/jira/browse/NETBEANS-422
Project: NetBeans
Issue Type: Improvement
Components: editor - Completion & Templates
Environment: Product Version: Apache NetBeans IDE Dev (Build
incubator-netbeans-release-219-on-20180221)
Updates: Updates available
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
Reporter: Gili
slf4j is popular. Very popular. We could save developers countless hours if the
auto-complete for {{LoggerFactory.getLogger(Class)}} would insert the enclosing
class name instead of "clazz" as it currently does.
{{For example, given:}}
{code:java}
public class ThisIsFun
{
private final LoggerFactory log = LoggerFactory.getLogger(***);
}{code}
{{We would auto-complete as:}}
{code:java}
public class ThisIsFun
{
private final LoggerFactory log = LoggerFactory.getLogger(ThisIsFun.class);
}{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists