You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Gili (JIRA)" <ji...@apache.org> on 2018/02/25 02:17:00 UTC

[jira] [Created] (NETBEANS-422) Special handling for slf4j LoggerFactory.getLogger(Class)

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 &amp; 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists