You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "lars (JIRA)" <ji...@apache.org> on 2019/06/21 07:57:00 UTC
[jira] [Updated] (NETBEANS-2733) Code Templates does not work
[ https://issues.apache.org/jira/browse/NETBEANS-2733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lars updated NETBEANS-2733:
---------------------------
Description:
I just updated from Netbeans 8.2 to 11 and it seems like Code Templates has stopped working. For example, *sout + tab* should give a {{System.out.println(...)}} and *psvm + tab* should give a {{public static void main (..)}}
{{This is easy to reproduce using the following steps:}}
{{1) Create a new project using Java With Maven --> Java Application}}
{{2) Add a new Java Class Dummy to the project}}
{{3) Inside the body of the Dummy class type psvm + TAB}}
{{This should provide a System.out.println(..) but just provides the text psvm + the TAB}}
Observe: This seems to be a problem for ALL the templates defined in
Tools --> Options --> Code Templates
was:
I just updated from Netbeans 8.2 to 11 and it seems like Code Templates has stopped working. For example, *sout + tab* should give a {{System.out.println(...)}} and *psvm + tab* should give a {{public static void main (..){}}}
{{This is easy to reproduce using the following steps:}}
{{1) Create a new project using Java With Maven --> Java Application}}
{{2) Add a new Java Class Dummy to the project}}
{{3) Inside the body of the Dummy class type psvm + TAB}}
{{This should provide a System.out.println(..) but just provides the text psvm + the TAB}}
> Code Templates does not work
> ----------------------------
>
> Key: NETBEANS-2733
> URL: https://issues.apache.org/jira/browse/NETBEANS-2733
> Project: NetBeans
> Issue Type: Bug
> Components: cnd - Editor
> Affects Versions: 11.0
> Environment: Windows 8.2
> Reporter: lars
> Assignee: lars
> Priority: Major
> Fix For: 8.2
>
>
> I just updated from Netbeans 8.2 to 11 and it seems like Code Templates has stopped working. For example, *sout + tab* should give a {{System.out.println(...)}} and *psvm + tab* should give a {{public static void main (..)}}
> {{This is easy to reproduce using the following steps:}}
> {{1) Create a new project using Java With Maven --> Java Application}}
> {{2) Add a new Java Class Dummy to the project}}
> {{3) Inside the body of the Dummy class type psvm + TAB}}
> {{This should provide a System.out.println(..) but just provides the text psvm + the TAB}}
>
> Observe: This seems to be a problem for ALL the templates defined in
> Tools --> Options --> Code Templates
--
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