Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vscode): add Slidev language server #1743

Merged
merged 37 commits into from
Jul 20, 2024

Conversation

johnsoncodehk
Copy link
Contributor

@johnsoncodehk johnsoncodehk commented Jul 9, 2024

Features:

  • Syntax highlighting for frontmatter, code block attributes, and import-snippets
  • Formatting frontmatter
  • A foundation to support code completion inside Slide content in the future

Todos:

  • Switch the language-server package from tsc to tsup
  • Use bundle's language-server instead of importing from node_modules
  • Replace regex with slidev parser in LanguagePlugin
  • Provide schema for volar-service-yaml (deferred to future PR)

(Edited by @KermanX)

Copy link

netlify bot commented Jul 9, 2024

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 2bb9d41
🔍 Latest deploy log https://app.netlify.com/sites/slidev/deploys/669bf70295d637000889bc5f
😎 Deploy Preview https://deploy-preview-1743--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johnsoncodehk johnsoncodehk changed the title feat: add yaml language support in formatters via Volar integration feat: add yaml language support in frontmatters via Volar integration Jul 9, 2024
@KermanX KermanX changed the title feat: add yaml language support in frontmatters via Volar integration feat(vscode): add Slidev language server Jul 12, 2024
@KermanX KermanX marked this pull request as ready for review July 17, 2024 13:59
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.

3 participants