Right click on a class or function and the correctly formatted string for Sitecore config will be copied to the clipboard.