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

Command completion won't supply class name after "public class"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.0, 11.0
    • None
    • cnd - Code Completion
    • None

    Description

      Steps

      1. Create new class
      2. Delete all its content except package statement
      3. Try to enter whole class with several method, field and inner classes using CC to produce all keywords (only typing identifiers and symbols like brackets and operators by hand)

        Expected result:

        The whole class can be written using only CC to insert keywords
         
        Actual:
         
        1. Can add back 
        public
         
        then
        class
         
        but then command completion won't supply the class name (from the file name).  Other things can be added.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dgreenbhm David Green
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: