Skip to Content

ADT 2.68 - Bugs (Templates, Block-selection)

Hello,

I updated to ADT 2.68.1 today and have noticed a few bugs

  • Templates with surrounding texts ${line_selection}, ${word_selection}

I have changed the "IF" template to

if ${expr}.
  ${word_selection}${cursor}
endif. " ${expr}

Before 2.68, the template used to work but now it seems to be broken.

The "ENDIF" is repeated twice. I have tried with other templates - DO, WHILE - the results are the same.

  • Block selection mode

When i activate the block selection mode (alt+shift+A), all the text is turned grey.

I am running ADT 2.68.1 on an ABAP 740 SP12 backend.

BR,

Suhas

PS - Sorry for the quality of the images. Had to merge the images together because of the limit of only 2 attachments per post :(

untitled.jpg (140.4 kB)
untitled.png (78.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Nov 21, 2016 at 10:19 AM

    Hello,

    after some more investigation i found the bug and reprodusable example.

    1. option "Allways insert full signature on completion" disable

    insert of template work right.

    2. Option activate

    template by auto complete feature (CTRL + space) not work

    Kind regards

    Falk

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2016 at 03:30 PM

    Hi Suhas,

    the templates work for me but block selection is erroneous too.

    Btw today version 2.68.2 was released, maybe that fixed the template thing.

    Regards Christian

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2016 at 08:44 AM

    What's interesting block selection mode with the vrapper plugin still works...

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2016 at 09:29 PM

    Suhas, I just tried the block selection mode in 2.68.2 and it appears to work correctly. I am on a Mac though, so there may be a difference.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 28, 2016 at 04:59 PM

    Just got the information from SAP support that the syntax highlighting in block selection mode was disabled due to performance reasons. They are working on reactivating it.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 24, 2016 at 07:56 PM

    Hello Christian,

    Did you try with the same template as mine?

    if${expr}.${word_selection}${cursor}endif." ${expr}

    I have changed the standard SAP delivered template for IF-block. Btw, which version of ADT are you using & with which ABAP backend?

    Best, Suhas

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 25, 2016 at 07:56 AM

    Thanks Christian. I'll have to wait for ADT 2.68.2 then.

    Currently i cannot use the ADT update site (due to some proxy issues), have to download from SAP Support website. :(

    The version 2.68.2 is not yet updated there, duhhh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Felix Otto

      Hi Felix,

      hope you see the reproducable example for the template bug (Version 2.68.5 not contain a correction)

      If not it depence of the configuration

      com.sap.adt.tools.abapsource.ui.COMPLETION_INSERTS_SIGNATURE=true

      If activ it produce the bug if template insert by code completion feature (CTRL + SPACE)

      Kind regards

      Falk

  • Nov 16, 2016 at 03:17 PM

    Hello all,

    an update. With 2.68.3 the block selection seems to be working.

    @Felix: I'll post the code for your analysis as soon as a get sometime, have been busy of late. Sorry :(

    BR,

    Suhas

    Add comment
    10|10000 characters needed characters exceeded