‎2014 Apr 02 2:19 PM
Hi,
I just came into the situation, that I'd like to translate some strings in my source code.
The fastest solution in SAP GUI was to just double click on the string and create the corresponding text element.
In eclipse I can navigate into existing text elements, but not create them.
Now my question:
Can I create those text elements right from eclipse?
And if not (what I think is the case):
Why?
Because it is just not implemented yet, or because this way of translating text elements is obsolete and I missed something?
Regards David
‎2014 Apr 02 2:26 PM
Hi David,
we want to provide this feature via the Quick Fix functionality in Eclipse.
That means in future you can position the cursor on the Number and yyou press CTRL-1 (Quick Fix).
In the upcoming popup you can choose 'Create Textelement' and the element will be created.
This kind of functionality already exists for creating classes, methods or function modules directly from the usage position.
We are currently working oin this little improvement so that I'm optimistic to ship this feature with one of the next versions.
Regards,
Thomas.
‎2014 Apr 02 2:26 PM
Hi David,
we want to provide this feature via the Quick Fix functionality in Eclipse.
That means in future you can position the cursor on the Number and yyou press CTRL-1 (Quick Fix).
In the upcoming popup you can choose 'Create Textelement' and the element will be created.
This kind of functionality already exists for creating classes, methods or function modules directly from the usage position.
We are currently working oin this little improvement so that I'm optimistic to ship this feature with one of the next versions.
Regards,
Thomas.
‎2016 Sep 28 1:03 PM
Hello Thomas,
i try to use CTRL-1 but i don't get any Quick fix suggestion.
The Message "no suggestions available" appears.
regards
Marc
‎2021 Mar 22 7:54 AM
The quick fix function works - but not for, e.g.
mytext = 'This doesn''t work properly'. With this, the text This doesn''t work properly is created in the text pool, instead of This doesn't work properly.
‎2014 Apr 03 8:56 AM
This was the answer I was hoping to get 😉
A Quickfix would be great.
‎2024 Jul 24 1:02 PM - edited ‎2024 Jul 24 1:06 PM
Hi Thomas!
I know this has been already implemented long time ago and works as expected.
However, is there any chance to have a mass creation or updating of (missing, availabel) text elements? I'm missing such a feature for a long time in SAP GUI and would like to see it in ADT.
Slightly OT: Where do I find the extended code checks in ADT, latest available version?
Found 😉 : Blog: Extended Syntax Checks
Thanks, Michael