cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WebIDE autocomplete for local code

vbalko-claimate
Contributor
0 Likes
355

Hi All,

in my WebIDE on SCP, code autocomplete works for library definitions eg. If I am writing some code which uses objects from sap.m library, then autocomplete works as it should. It shows suggestions of methods or properties available for that object.

But when I work (write) with some local code (eg. variable which I defined few lines up), the autocomplete does not show suggestions with that variables name. Same with all code which does not come from standard libraries. So my variables, my functions etc. is not suggested by autocomplete. I would expect that my local definitions should be suggested in same manner as code from standard libraries.

Is that ok and the functionality is not implemented in WebIDE or am I missing some configuration?

Accepted Solutions (0)

Answers (1)

Answers (1)

yuval_morad
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi

Auto complete should work in AMD based javascript files for SAPUI5 and own modules defined in the same project.

In case you develop a reuse library or a module in a different project there is no auto complete.

Please attach you sample consuming file and the dependent module