Access and manage editor preferences in Replit Apps using the editor API module. Get settings like font size, indentation, and code intelligence.
editor
api module allows you to get the current user’s editor preferences.
editor.getPreferences
Property | Type |
---|---|
__typename | string |
codeIntelligence | boolean |
codeSuggestion | boolean |
fontSize | number |
indentIsSpaces | boolean |
indentSize | number |
keyboardHandler | string |
minimapDisplay | string |
multiselectModifierKey | string |
wrapping | boolean |