facebook

Annotation color problem

  1. DevStyle
  2.  > 
  3. Theme Problems
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #533989 Reply

    marwenbta
    Participant

    Hello,

    The annotation color is difficult to see.

    the problem is with this code:

    /**
     * @Assert\NotBlank(message="Champ obligatoire!")
     * @Assert\Length(min=10, minMessage="Le login doit faire au moins {{ limit }} caracteres.")
     */ 
    protected $login;

    no problem:

    /*message comment*/
    //message comment
    Attachments:
    You must be logged in to view attached files.
    #534006 Reply

    support-swapna
    Moderator

    marwenbta,

    Sorry that you are seeing this issue with Darkest Dark. I could not replicate the problem with a PHP file in Eclipse Neon/Oxygen.

    Can you please give us some more details?

    1. OS and Arch
    2. Eclipse version from menu Help > About Eclipse section.

    Apologies for inconvenience caused.

    –Swapna
    MyEclipse Support

    #534069 Reply

    marwenbta
    Participant

    Hello,
    Im using Windows7-64bit and Eclipse Java EE IDE for Web Developers
    Version: Oxygen Release (4.7.0).
    i hope you will fix this problem very soon.
    ty.

    #534092 Reply

    support-swapna
    Moderator

    marwenbta,

    Thank you for the details. I could not replicate the problem at my end. Attached is the screenshot of how the annotations in comments look at my end in Darkest Dark.

    1. Can you please share with us details of the editor in which the file is opened?
    2. Are there any errors in that file? Please check the Markers or Problems view for the error info. If yes, then please fix them and check if the issue persists.
    3. Please recheck if you have selected a different Editor theme other than ‘Darkest Dark’. Go to Window > Preferences > General > Appearance > Darkest Dark and check if the Editor Colors is set to a different theme other than ‘Darkest Dark’. If yes, then select ‘Darkest Dark’, apply the changes and check if the issue persists.

    –Swapna
    MyEclipse Support

    Attachments:
    You must be logged in to view attached files.
    #534429 Reply

    marwenbta
    Participant

    Hello,
    Im working on a Symfony project and i opened the perspective php.
    – The file is opened with a php editor.
    – There is Warnings. He had a problem with the database and i fixed but now i have another problem with the file “org.eclipse.wst.common.project.facet.core.xml” could not be read. i don’t know how to fix it.
    – The Editor Colors is set to ‘Darkest Dark’ theme.

    #534431 Reply

    marwenbta
    Participant

    Hello,
    I fixed the problem with the file “org.eclipse.wst.common.project.facet.core.xml”.
    There is still warnings.
    The issue still persists.

    #534447 Reply

    Aaron Lara
    Member

    @marwenbta, Thanks for the details on this issue.

    It would be really helpful to know this issue is Darkest Dark theme related. If you switch to a different theme on General > Appearance, like Dark (eclipse regular dark theme) or Windows (if you are on windows), do you still see different colors for commented code?

    Thanks,
    Aaron Lara

    #534456 Reply

    marwenbta
    Participant

    Hi,
    in General > Appearance, i tryed all themes
    -Windows classic theme, not working fine
    -Light theme, working fine
    -Windows XP Blue theme, working fine
    -Windows XP Olive, working fine
    -Classic , working fine
    -Dark, not working fine
    -Darkest Dark – It’s a Total Eclipse, not working fine

    I don’t know how i error can affect the Darkest Dark theme but if that is possible how about these warnings?
    I have 68 Warnings.

    When I open a class that contains annotations the theme works normally just for a few seconds and then it becomes invisible.
    Im using these annotations @Assert and @ORM.
    whene importing these annotations

    use Symfony\Component\Validator\Constraints as Assert;
    use Doctrine\ORM\Mapping as ORM;

    it says:

    The import Symfony\Component\Validator\Constraints is never used
    The import Doctrine\ORM\Mapping is never used
    #534495 Reply

    Aaron Lara
    Member

    @marwenbta, the fact that this issue happens also in other themes it means it’s not related to Darkest Dark, so most likely a third plugin might be causing this or some bug in eclipse itself, unfortunately we are unable to replicate this issue so I can’t think on a way to solve it at the moment.

    Unless you have a strong feeling this issue only happens when darkest dark is installed I would suggest making a search for this same issue at eclipse’s bugzilla and if it’s not already being investigated (or fixed), file a new bug there with details.

    Sorry for the inconveniences.
    Aaron Lara

    #534612 Reply

    marwenbta
    Participant

    Hello,
    I found the plugin that causes this problem.

    I download eclipse from official site and after I install the plugin Darkest dark theme all works normally. And when I install the Symfony plugin the bug appears.

    I confirm the Symfony plugin cause this kind of bug.
    What do I have to do?

    #534618 Reply

    Aaron Lara
    Member

    @marwenbta, thanks for going further and finding the cause of the issue! So I would suggest reporting the issue to Symfony plugin creators.

    Thanks again,
    Aaron Lara

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: Annotation color problem

You must be logged in to post in the forum log in