iCalendar Syntax
English
·
简体中文
Syntax highlighting, folding, and snippets for iCalendar files in Visual Studio Code. The grammar follows RFC 5545.
The extension automatically recognizes all of these file extensions:
.ics — standard iCalendar files
.ical — iCalendar files
.icalendar — long-form iCalendar files
.ifb — iCalendar free/busy files
Features
- Highlights components, properties, parameters, values, dates, and custom
X- properties.
- Folds
BEGIN / END blocks such as VCALENDAR, VEVENT, VTODO, and VTIMEZONE.
- Distinguishes UTC, local date-time, and date-only values.
- Supports folded content lines and case-insensitive property names.
- Provides snippets for calendars, events, tasks, time zones, alarms, and relationships.
Quick start
- Install iCalendar Syntax from the Visual Studio Marketplace.
- Open any supported iCalendar file.
- Type an
ical- prefix to view available snippets.
Snippet prefixes
ical-cal — calendar
ical-event-time — timed event
ical-event-day — all-day event
ical-todo — task
ical-timezone — time zone
ical-alarm — display alarm
ical-related — event relationship
Resources
| |