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

SAP Web IDE: Javascript Autocomplete/Auto suggest

former_member824173
Discoverer
0 Likes
1,088

Hey experts,

today i edited some code and accidentally hit some random combination of keys. On the right side of the WEB IDE a Panel opened with javascript settings. I was confused as i've never seen that before. I ticked a box with 'autocomplete' (or maybe 'auto suggest') and after that i had dynamic autocomplete in my .js file. It showed autocompletes without pressing Ctrl + Space or using auto hints.

I tried to figure out how i opened it. Searched the web for it an found "auto hints". I ticked that box in the Code Editor Settings (Tools > Preferences > Global Preferences > Code Editor). The dynamic suggestion didnt work anymore. I dont have any clue where to find it again. The setting would help me a lot.

Does someone know that panel and knows the shortcut to it?

Its a beige panel on the right side of the tab. it had like ~20 settings on it, including: Font, Size and auto complete/suggest. Its not listed in the keyboard shortcuts and has more options than the code editor.

Regards

C. Hanisch

PS: I think i pressed some combination of ctrl+shift and maybe an arrow key, as i wanted to mark a whole word in a specific line and confused some keys. IT IS NOT 'AUTO HINTS'.


this is a screenshot i just found, but i still dont know how to open it.

EDIT: I found it after testing its ctrl + ',' in the Web IDE. This Thread can be closed.

View Entire Topic
boghyon
Product and Topic Expert
Product and Topic Expert

That's the Ace editor's default settings menu which can be opened with [Ctrl]+[,] on Windows or [Command]+[,] on macOS: https://github.com/ajaxorg/ace/blob/d2ed4316486e9e47dfa1db6981338b43acd03b8c/src/commands/default_co...

You can also try it here: https://sdk.openui5.org/entity/sap.ui.codeeditor.CodeEditor/sample/sap.ui.codeeditor.sample.CodeEdit...