PowerShell Studio 2014: Editor Coloring

Many users like to customize their editor coloring and PowerShell Studio lets them do just that. With PowerShell Studio, users can specify the coloring for the editor’s syntax coloring and backgrounds.

To edit the font and coloring of the PowerShell Studio go to:

Options->Editor->Font and Color…

Editor Font and Color Settings

image

Using this dialog you can customize the font and coloring of PowerShell Studio’s editor.

Presets

[Requires PowerShell Studio 2014 v4.1.53 or greater]

A new addition to PowerShell Studio 2014’s font and color settings is presets. This allows you to quickly change the coloring scheme of PowerShell Studio’s editor. At the top of the dialog you will find a dropdown list that contains a list of all the coloring presets:

image

Default Presets Description
(Current Settings) Restores the settings to the last saved state.
PowerShell ISE Changes the color scheme and font to match the default settings of the Microsoft PowerShell ISE.
PowerShell Studio Changes the color scheme to the default PowerShell Studio coloring and font.
PrimalScript Changes the color scheme to the default PrimalScript coloring and font.

When you select a preset, the font and coloring settings are updated to the predefined preset. Simply click the Apply button and PowerShell Studio will use the new coloring scheme.

You can also create your own presets and share them with your colleagues if you wish. Simply configure the coloring setting and then press the Save As Preset… button.  You will be presented with a Save As dialog.

image

Give the preset a name and press the Save button. Now the preset will be displayed in the dropdown list:

image

 

Importing Presets:

To import a preset, copy the preset file (*.preset) to the following user specific folder:

C:\Users\<username>\AppData\Roaming\SAPIEN\PowerShell Studio 2014\Presets\

 

Next time you edit the font and colors, the preset will appear in the drop down list.

Editing Font and Coloring:

As before, you can change the font of the editor and its size. All bolded fonts are fixed point fonts.

In PowerShell Studio 2014, you can now change the background color of the indicator margin where the breakpoints, tracepoints and bookmarks are located:

image

We also updated the color picker:

image

You can now define custom colors by right-clicking on an empty color space:

image

The color editor allows you to manually enter RGB values or use sliders to customize and select the desired color.

 

Tip

If you want to set the background transparent for specific items, you can right-click on the background color picker

to bring up the context menu and select the Set to Automatic menu item.

image

 

PowerShell Studio 2014 adds more options for color customization and allows you to tailor your workspace to your liking.