https://bugs.kde.org/show_bug.cgi?id=480756

            Bug ID: 480756
           Summary: Symbols viewer misses Ruby functions without
                    parenthesis in their definition line.
    Classification: Applications
           Product: kate
           Version: 22.12.3
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: dtru...@xopnetworks.com
  Target Milestone: ---

SUMMARY
Symbols viewer misses Ruby functions without parenthesis in their definition
line.

STEPS TO REPRODUCE
In Ruby, function definitions don't require parenthesis.  The symbol viewer
omits these function names.
For example, 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class Gtest

  def initialize()
  end

  def test2(p1, p2)
  end

  def no_paren_function
    puts 'aaaaa'
  end

end
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The symbol viewer will show 'initialize' and 'test2' but not
'no_paren_function'.

OBSERVED RESULT
The  'no_paren_function' will not be shown in the Symbols pane.

EXPECTED RESULT
The  'no_paren_function' should be shown in the Symbols pane.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE 15.5 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
In previous versions of Kate, the symbol viewer worked correctly for this case.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to