Skip to content

Conversation

@VishalRaut2106
Copy link

🎨 Overview

Implements v0.1.0 with complete syntax highlighting and file recognition for TOON files.

βœ… What's Added

  • Syntax highlighting - Complete TextMate grammar for TOON syntax
  • File recognition - .toon extension support with proper language ID
  • Language config - Indentation rules, brackets, auto-closing pairs
  • Example file - Basic TOON syntax demonstration

🌈 Syntax Support

  • Comments (#)
  • Strings (quoted and unquoted)
  • Numbers, booleans, null values
  • Object keys and nested structures
  • Array syntax with brackets

πŸ“‹ Roadmap Progress

  • v0.0.x - Initial project setup βœ…
  • v0.1.x - Basic syntax highlighting βœ… (this PR)
  • v0.2.x - Format validation (next)
  • v0.3.x - Code formatting and auto-completion (planned)
  • v1.0.0 - First stable release (planned)

πŸ§ͺ Testing

  • Builds successfully (pnpm build)
  • Passes all ESLint rules (pnpm lint)
  • Syntax highlighting works for all TOON elements
  • File recognition with .toon extension
  • Proper indentation and bracket matching

πŸš€ Ready For

  • User testing with TOON files
  • Next phase: v0.2.x validation implementation
  • Community feedback on syntax highlighting

πŸ“ Files Changed

  • package.json - Added language and grammar contributions
  • language-configuration.json - Language settings and indentation rules
  • syntaxes/toon.tmLanguage.json - Complete TextMate grammar
  • examples/basic.toon - Example TOON file for testing
  • README.md & CHANGELOG.md - Updated documentation

- TypeScript setup with strict type checking
- ESLint + formatting configured
- Build pipeline (pnpm build, pnpm dev)
- Basic extension scaffolding with hello command
- Ready for collaborative development

Follows roadmap:
- v0.0.x - Initial project setup βœ…
- v0.1.x - Basic syntax highlighting (planned)
- v0.2.x - Format validation (planned)
- v0.3.x - Code formatting and auto-completion (planned)
- v1.0.0 - First stable release (planned)
- Add TextMate grammar for TOON syntax highlighting with support for comments, strings, numbers, booleans, null values, keys, and arrays
- Add language configuration with line comments, bracket matching, auto-closing pairs, and indentation rules
- Register `.toon` file extension with VS Code language system
- Add basic example file demonstrating TOON syntax features
- Update package.json to version 0.1.0 and include language and grammar contributions
- Update README.md with features section, example code, and roadmap progress
- Update CHANGELOG.md with v0.1.0 release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant