Add class to method-names

Issue #97 resolved
Nicolas Morew created an issue

Hello,

for styling and for sorting purposes it would be useful to put method names in some kind of tag (span or label for instance) with a class that classifies them as a method name (e.g.: void <span class="method-name">dprint</span>()

Comments (4)

  1. Michael Eichberg repo owner

    I've completely overhauled the generated representation:

    In the next version a method's signature looks like this:

    <span class="method_signature">
                <span class="return object_type" title="scala.collection.">..GenTraversable</span>
                <span class="name">iterate</span>
                <span class="parameters">(<span class="parameter object_type">java.lang.Object</span>, <span class="parameter primitive_type">int</span>, <span class="parameter object_type" title="scala.">.Function1</span>)</span>
            </span>
    

    Additionally, name is now also used by a field's name; in general, I now use "name" for (original) Java identifiers.

  2. Log in to comment