Create a command to automatically add imports like: import JSONModel = sap.ui.model.json.JSONModel; to the sap.ui.define Command can be called via autocomplete, too.