PsTodoTxt.Format.ps1xml
<?xml version="1.0" encoding="utf-8" ?>
<Configuration> <ViewDefinitions> <View> <Name>Todo</Name> <ViewSelectedBy> <TypeName>TodoTxt</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> <Label>D</Label> <Width>1</Width> </TableColumnHeader> <TableColumnHeader> <Label>Created</Label> <Width>12</Width> </TableColumnHeader> <TableColumnHeader> <Label>Pri</Label> <Width>3</Width> <Alignment>Center</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Context</Label> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Label>Project</Label> <Width>10</Width> </TableColumnHeader> <TableColumnHeader> <Label>Addon</Label> <Width>15</Width> </TableColumnHeader> <TableColumnHeader> <Label>Task Description</Label> <Width>100</Width> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <Wrap/> <TableColumnItems> <TableColumnItem> <ScriptBlock>if ($_.DoneDate) { "Y" }</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>CreatedDate</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>Priority</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Context -join ", "</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>$_.Project -join ", "</ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock>@(ForEach ($key in $_.Addon.keys) { "$($key):$($_.Addon.$key)" }) -join ", "</ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>Task</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> </ViewDefinitions> </Configuration> |