Repository navigation
Releases: ahayman/ObsidianNewFileTemplates
Releases · ahayman/ObsidianNewFileTemplates
Release list
New File Templates v1.1.0
Release Notes - Version 1.1.0
New Features
List and Multi-List Picker Prompts
Select from predefined options instead of typing free-form text:
- List picker: Single selection dropdown
{% Category:list:Work,Personal,Archive %} - Multi-list picker: Multiple selection with checkmarks
{% Tags:multilist:Important,Urgent,Review,Later %}
Features include:
- Auto-opens dropdown on focus
- Full keyboard navigation (arrows, Enter, Escape)
- Clear button to remove selection
- Multi-list shows "N items selected" count
- Selected values joined with comma-space for output
Intelligent Bracket Auto-Closure
Smart auto-completion when typing prompt syntax:
- Auto-insert closing brackets for
{%,{%?,{{, and( - Auto-delete closing brackets when removing opening brackets
- Cursor positioned for easy
?addition (optional prompts) - Handles Obsidian's auto-close behavior to prevent duplicates
- Toggle on/off in settings (default: on)
Live Format Preview in Settings
Settings autocomplete now matches the main editor experience:
- Live Moment.js format preview when typing inside
format(...) - Shows actual date/time output for format presets
- Cleaner single-pane rendering with inline details
Date/Time Picker Improvements
Enhanced Keyboard Navigation
Navigate the calendar entirely with the keyboard:
- Arrow keys work immediately when tabbing into a date field (no click required)
- Edge-based navigation creates a continuous calendar experience:
- Left from Sunday → previous month (focus Saturday, same row)
- Right from Saturday → next month (focus Sunday, same row)
- Up from top row → previous year (focus bottom row, same column)
- Down from bottom row → next year (focus top row, same column)
- Alt+Arrow keys jump months/years while keeping the same grid position
- Shift+PageUp/PageDown for year navigation
- Navigating over greyed-out days keeps the current view
Slide Animations
Smooth visual transitions when navigating:
- Previous month: slides from left
- Next month: slides from right
- Previous year: slides from top
- Next year: slides from bottom
- Works with keyboard, header buttons, and swipe gestures
Clear Buttons for Optional Fields
- Date, Time, and DateTime pickers now show a Clear button when the field is optional
- Easily reset fields without manually clearing
TimePicker Improvements
- 12h/24h toggle now changes picker columns (2 vs 3 columns)
- Cleaner interface with redundant preview removed
- Configurable "Now" button visibility
Better Focus Management
- CollapsiblePicker header is now the single tab stop
- Enter/Space toggles picker, Escape collapses, ArrowDown expands
- Fixed UX bug where picker closed immediately when clicking from another field
- Arrow keys no longer scroll the modal when focused on date picker
Documentation
- Updated README with BRAT installation instructions
Testing
- 21 new tests for list parsing
- 16 new tests for list syntax highlighting
- Additional tests for list autocomplete
New File Templates v1.0.0
New File Templates v1.0.0
Release Date: 2026-01-18
Create new notes with dynamic, template-driven file names using date formats, counters, and custom template syntax.
Features
Template Management
- Create, edit, and manage multiple title templates
- Drag-and-drop reordering of templates
- Searchable template selection with fuzzy search
Multiple Access Points
- Command palette: "Create New Templated File"
- Per-template commands for quick access
- Folder context menu integration
- Ribbon icon for one-click access
- Full mobile support (iOS and Android)
Dynamic Variables
Built-in variables for title patterns:
{{date}},{{time}},{{datetime}}- Current date/time with customizable formats{{timestamp}}- Unix timestamp{{year}},{{month}},{{day}}- Individual date components{{counter}}- Auto-incrementing number based on existing files- Custom formats supported:
{{variable:FORMAT}}using moment.js syntax
Interactive Prompts
{% Prompt Name %}- Request user input when creating files{%? Optional Prompt ?%}- Optional input fields- Multiple value types: text, numeric, date, time, datetime
- Built-in format presets and custom moment.js formats
- Inline syntax configuration:
{% Name:type:format %}
Syntax Highlighting & Autocomplete
- Visual highlighting for template syntax in editor and settings
- Smart autocomplete for variables, prompts, types, and formats
- Moment.js token suggestions with live preview examples
- Context-aware token ordering
File Template Integration
- Apply content templates to new files
- Variable substitution in content:
{{title}},{{date}},{{time}} - Prompt syntax works in file content
- Templater plugin integration with auto-detection
Additional Features
- Automatic filename sanitization (handles special characters)
- Configurable default folders per template
- "Current folder" targeting option
- Conflict handling for duplicate filenames
- "Enter File Prompts" command for processing prompts in existing files
Installation
- Open Obsidian Settings
- Navigate to Community Plugins
- Search for "New File Templates"
- Click Install, then Enable
Getting Started
- Go to Settings → New File Templates
- Click "Add Template" to create your first template
- Enter a name and title pattern (e.g.,
{{date}} - Meeting Notes) - Optionally select a file template and default folder
- Use the command palette or ribbon icon to create new files
Requirements
- Obsidian v1.0.0 or higher