As global variable, add editor.config.pbckcode_filetypes to save DEFAULT_SETTINGS.modes, and, for-each this array to build allowedContent/requiredContent