src/vs/workbench/services/preferences/browser/preferencesService.ts/PreferencesService/workspaceSettingsResource
class PreferencesService:	get workspaceSettingsResource(): URI | null {
		if (this.contextService.getWorkbenchState() === WorkbenchState.EMPTY) {
			return null;
		}
		const workspace = this.contextService.getWorkspace();
		return workspace.configuration || workspace.folders[0].toResource(FOLDER_SETTINGS_PATH);
	}