Skip to content

Way too big icons #573

Open
Open
@liar666

Description

@liar666

Describe the bug

Note: I'm not sure the problem is really in lsp-java or one of the other package it uses, but I don't know how to track down the problem.

But the thing is the "bulb" icon that appears next to recommendations on code refactoring actions is WAY too big (see picture below)

To Reproduce

  • Install the most up-to-date packages from melpa, notably lsp-java (and mode-icons and all-the-icons - for which I run the "install font" command)

  • Open a Java file

  • Position the cursor on the name of the class

  • My example Java file:

package fr.tse.java;

/**
 * Describe class test here.
 *
 *
 * Created: Wed Dec 16 22:08:51 2020
 *
 * @author <a href="mailto:gmuller@BAL157X-og">gmuller</a>
 * @version 1.0
 */
public class test extends plop implements {

    /**
     * Creates a new <code>test</code> instance.
     *
     */
    public test(a,e,d,c) {

    }

    public static final void main(final String[] args) {
        System.out.println(13+"coucou");
    }

    /**
     * Get a string representation of this object.
     * 
     * @return a string representation of this object.
     * 
     * @see java.lang.Object#toString
     */
    public final String toString() {
        return new StringBuilder(plop.toString());
    }
}

Expected behavior

  • A line appears to propose to refactor the code, reading: "Move test..."
  • The bulb icon that accompanies the text shoulb be of reasonable size (the size of the surrounding text)

Screenshots

A picture is worth thusands words:
screenshot_2021-02-12-21 35

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions