Skip to content

Conversation

@yesudeep
Copy link
Collaborator

@yesudeep yesudeep commented Jan 24, 2026

feat(promptly): add lsp, fmt, and check implementations

Add the promptly CLI tool with LSP server, formatter, and linter
capabilities for .prompt files.

Core features:

  • LSP server with diagnostics, hover, and completion support
  • Formatter for consistent .prompt file formatting
  • Linter with YAML validation and Handlebars syntax checking
  • Shell completions generation (bash, zsh, fish, powershell)

Parser improvements:

  • Support license headers and shebangs before frontmatter
  • Allow blank lines mixed with comments before ---
  • Updated regex in all 5 runtimes (Rust, Python, Java, JS, Go)
  • Added tests for new frontmatter parsing behavior

CI/CD improvements:

  • Add format checks to Java, Go, and JS workflows
  • Rename test.yml to js.yml for consistency
  • Tests now depend on format checks passing

Editor support:

  • JetBrains plugin with syntax highlighting and LSP integration
  • Enhanced VS Code extension with LSP client and snippets
  • Updated Emacs and Vim plugins
  • Tree-sitter grammar for .prompt files

New packages:

  • rs/promptly - Rust CLI implementation
  • packages/promptly - npm wrapper for cross-platform distribution
  • packages/jetbrains - IntelliJ/WebStorm plugin
  • packages/treesitter - Tree-sitter grammar

@yesudeep yesudeep requested a review from MengqinShen January 24, 2026 22:22
@github-actions github-actions bot added documentation Improvements or additions to documentation config root js feature rust Pull requests that update rust code bazel kotlin labels Jan 24, 2026
@yesudeep yesudeep force-pushed the yesudeep/feat/promptly branch 2 times, most recently from 18e15d4 to 855614d Compare January 24, 2026 22:40
@yesudeep yesudeep force-pushed the yesudeep/feat/promptly branch 5 times, most recently from dc16fc2 to ef43779 Compare January 24, 2026 23:02
Add the promptly CLI tool with LSP server, formatter, and linter
capabilities for .prompt files.

Core features:
- LSP server with diagnostics, hover, and completion support
- Formatter for consistent .prompt file formatting
- Linter with YAML validation and Handlebars syntax checking
- Shell completions generation (bash, zsh, fish, powershell)

Parser improvements:
- Support license headers and shebangs before frontmatter
- Allow blank lines mixed with comments before ---
- Updated regex in all 5 runtimes (Rust, Python, Java, JS, Go)
- Added tests for new frontmatter parsing behavior

CI/CD improvements:
- Add format checks to Java, Go, and JS workflows
- Rename test.yml to js.yml for consistency
- Tests now depend on format checks passing

Editor support:
- JetBrains plugin with syntax highlighting and LSP integration
- Enhanced VS Code extension with LSP client and snippets
- Updated Emacs and Vim plugins
- Tree-sitter grammar for .prompt files

New packages:
- rs/promptly - Rust CLI implementation
- packages/promptly - npm wrapper for cross-platform distribution
- packages/jetbrains - IntelliJ/WebStorm plugin
- packages/treesitter - Tree-sitter grammar
@yesudeep yesudeep force-pushed the yesudeep/feat/promptly branch from ef43779 to 0d07d0b Compare January 24, 2026 23:05
@yesudeep yesudeep merged commit 27fd3d4 into main Jan 24, 2026
41 checks passed
@yesudeep yesudeep deleted the yesudeep/feat/promptly branch January 24, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bazel config documentation Improvements or additions to documentation dotpromptz feature go java js kotlin python root rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants