JBIDE-14972 Use preferences in code snippets from Palette wizards

Used editor preferences in snippet generation.