Quantcast
Channel: SCN : Popular Discussions - ABAP in Eclipse
Viewing all articles
Browse latest Browse all 1215

Strange behavior in code formatting

$
0
0

Hello, 

 

there is a strange behavior/error when I try to use code completion and code formatting.

Take a look at the following simple program

REPORT zss_test1.

 

data: gv_test type string.

 

 

form test using iv_s type string.

write:/ iv_s.

endform.

 

 

end-of-selection.

 

* Now use code-completion

Now I want to use code-completion to call the form using the signature:

perform t  ( STRG-SPACE  , then SHIFT-ENTER ) will lead to

perform test

  USING

    iv_s

  .

So far so good.

Now I want to replace the formal parameter iv_s with an actual parameter.  Since the report is quite small gv_ should suggest only gv_test.

But replacing iv_s with gv_ and then hitting STRG-SPACE does not lead to any suggestions.  The code-completion is not working.

 

But if I reformat the coding above to

perform test USING iv_s.

which is functionally the same as the automatically created code.  But now the code completion works fine as can be seen with (again) replacing iv_s with gv_ and hitting STRG-SPACE and getting the expected suggestion gv_test.

 

 

System: 7.40, Patch 3

Eclipse: Kepler:

AdT: Installed just today with the stuff from hana.ondemand.com

 

______________________________________

live long and prosper

Stefan Schmöcker


Viewing all articles
Browse latest Browse all 1215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>