on 05-30-2017 9:58 AM
Hello,
i am missing some functionalities regarding the code completion / API Reference in the web ide. Maybe i didn't understand things right because i am very new to javascript and ui5 but from other languages and ide's i am used to get my API informations through the code completion. Example:
Here i was expecting that i can get a documentation for the getSource() method when i press ctrl+space after "oEvent." but as you can see in the screenshot this is not the case. All i get are those few methods which arent documented either.
Do i have to configure the ide in order to get access to a proper API Reference or is it just the dynamic type converting of javascript that makes it impossible to reference all available methods?
Kind regards,
Marvin
Hi
Javascript is non typed language, hence it is challenging to provide code completion which is a design-time feature
for a type that is actually determined on run-time.
You could get code assist for types and parameters, if you hint with jsdoc what is the run-time type.
please see https://www.youtube.com/watch?v=IuH2RdgA018
In addition I propose you have a look in the learrning center in Web IDE(left panel) and watch the code completion videos
Regards
Yuval
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I'm still missing the full code completion.
I don't undestand why it isn't possible to at least propose namespace members / methods of supported sapui5 standard libraries like e.g. sap.ui.core.
E.g. if I start writing "sap.ui.core" , I should get proposals like "UIComponent" which I don't get.
If I make a hint like /* @type sap.ui.core */, it also won't find "UIComponent". In general, the code completion is very poor for better development. Is there no more development on WebIDE related to this issue?
Regards
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.