Skip to main content Link Search Menu Expand Document (external link)

Format String Editor

The format string editor allows you to edit the various format strings that make up the application. Format strings give you the ability to customize how certain strings are built and displayed in various parts of the user interface.

Think of a format string as the body of a Javascript function that looks like this:

function format(ctx) {
  str = 'some value'      // <-- this is your format string
  return str
}

The function receives a ctx object as an argument. The properties of the ctx object varies based on the string being formatted. Your format string must assign a string to the special variable str.

If you want to put the tab’s priority in the title of a tab you can define the Tab title format string as:

str = `(${ ctx.tab.priority }) ${ ctx.tab.title }`

Format Strings

The following is the list of format strings and what their corresponding ctx object looks like.

Tabbed window title

This format string lets you customize the title of the tabbed window (the main Jancy window).

The ctx object contains the following properties:

Tab title

This format string lets you customize the title of a tab.

The ctx object contains the following properties:

Tab subtitle

This format string lets you customize the subtitle of a tab.

The ctx object contains the following properties:

Tab tooltip

This format string lets you customize the tooltip of a tab.

The ctx object contains the following properties:

Profile panel profile title

This format string lets you customize the title of the profile panel when a profile has been selected.

image info

The ctx object contains the following properties: