caseConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY:returnnls.localize('errorUnknownKey',"Unable to write to the configuration file (Unknown Key)");
caseConfigurationEditingErrorCode.ERROR_INVALID_KEY:returnnls.localize('errorInvalidKey',"Unable to write to the configuration file (Invalid Key)");
caseConfigurationEditingErrorCode.ERROR_INVALID_TARGET:returnnls.localize('errorInvalidTarget',"Unable to write to the configuration file (Invalid Target)");
caseConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY:returnnls.localize('errorUnknownKey',"Unable to write to {0} because {1} is not a registered configuration.",this.stringifyTarget(target),operation.key);
caseConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_CONFIGURATION:returnnls.localize('errorInvalidFolderConfiguration',"Unable to write to Folder Settings because {0} does not support the folder resource scope.",operation.key);
caseConfigurationEditingErrorCode.ERROR_INVALID_USER_TARGET:returnnls.localize('errorInvalidUserTarget',"Unable to write to User Settings because {0} does not support for global scope.",operation.key);
caseConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_TARGET:returnnls.localize('errorInvalidFolderTarget',"Unable to write to Folder Settings because no resource is provided.");
caseConfigurationEditingErrorCode.ERROR_NO_WORKSPACE_OPENED:returnnls.localize('errorNoWorkspaceOpened',"Unable to write to {0} because no workspace is opened. Please open a workspace first and try again.",this.stringifyTarget(target));
// User issues
caseConfigurationEditingErrorCode.ERROR_NO_WORKSPACE_OPENED:returnnls.localize('errorNoWorkspaceOpened',"Unable to write into settings because no workspace is opened. Please open a workspace first and try again.");
returnnls.localize('errorInvalidConfiguration',"Unable to write into settings. Please open **User Settings** to correct errors/warnings in the file and try again.");
...
...
@@ -186,6 +187,17 @@ export class ConfigurationEditingService implements IConfigurationEditingService