Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Directly creating text elements from eclipse

Former Member
0 Likes
5,770

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

1 ACCEPTED SOLUTION
Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
4,866

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.

5 REPLIES 5
Read only

ThFiedler
Product and Topic Expert
Product and Topic Expert
4,870

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.

Read only

0 Likes
4,867

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

Read only

matt
Active Contributor
0 Likes
4,867

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.

Read only

Former Member
0 Likes
4,867

This was the answer I was hoping to get 😉

A Quickfix would be great.

Read only

0 Likes
4,415

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