JavScript format jumps to file start

This topic contains 5 replies, has 2 voices, and was last updated by  support-swapna 1 month, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #591160 Reply

    raphi
    Participant

    There’s a problem on formatting Javacript files with <CTRL> + <SHIFT> + <F>. Eclipse always jumps to the start of the files and that’s pretty annoying.

    I did some tests and i looks like the problem only occours if the file is longer than 350 rows.

    Would be really nice if you could fix this issue.

    Thanks in advance,
    Raphi

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

    support-swapna
    Moderator

    Raphi,

    Sorry that you are seeing this problem. Thank you for the image. I could replicate the problem at my end but not consistently. I have filed a bug for the dev team to look into it. We will keep you posted when the fix is out.

    Apologies for inconvenience caused. Thank you once again for reporting it.

    –Swapna
    Genuitec Support

    #594340 Reply

    raphi
    Participant

    Hi Swapna,

    is there some progress in this case?
    I recently bought a CodeMix license and freshly installed the newest version of Eclipse PHP Photon and still having this issue.
    It also appears on PHP Files (exactly if the file has 253 rows and more…). On JS Files it’s exactly 291 rows and more.

    On JS Files the Problem only occours, after installing the Web and PHP Pack.

    I would really appreciate if this problem could be fixed soon, because it’s really annoying.

    Thanks in advance,
    Raphi

    #594349 Reply

    support-swapna
    Moderator

    Raphi,

    Thank you for buying CodeMix. I am sorry that the bug is not yet targeted.
    I could replicate the formatting problem though not consistently when you first reported it, but when I tried today with the latest CodeMix build and Photon PHP package, I could not replicate it.

    While the dev team is looking into it, can you please give us some more details?

    1. Have you installed any other plugins to Eclipse Photon apart from CodeMix? If yes, then please list them.
    2. Can you please clarify if you can replicate the formatting problem consistently at your end? Like every time you try to format, the cursor jumps to start of the page?
    3. If possible, please prepare a test project with the files which exhibit the format problem and share with us to help us replicate the issue at our end.

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #594462 Reply

    raphi
    Participant

    Hi Swapna,

    1. I have no other plugins installed. Only a fresh Eclipse Photon PHP Package (Release 4.8.0) with CodeMix and CodeMix Extension Packs (Web and PHP)
    2. I can replicate the formatting problem consistently. Also if i install the told packages on a freshly installed Windows 10 machine.
    3. I have uploaded a test project with one JS and one PHP file where the formatting problem persists.
    You can trigger the problem if you just make one tab in the Code and then press <CTRL> + <Shift> + <F> to format the code. When you delete some rows in the code the problem no longer occurs.

    I would really appreciate if the problem could be fixed soon.

    Thanks,
    Raphi

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

    support-swapna
    Moderator

    Raphi,

    Thank you for the details and the test files. The dev team is looking into it.
    We will keep you posted about the fix schedule soon.

    –Swapna
    Genuitec Support

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JavScript format jumps to file start