Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2733

Code Templates does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Workaround
    • 11.0
    • 8.2
    • cnd - Editor
    • None
    • Windows 8.2

    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

      Attachments

        Activity

          People

            larsesspam@gmail.com lars
            larsesspam@gmail.com lars
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: