Skip to content

Releases: nuxtlabs/vscode-mdc

v0.3.0

15 Apr 15:18
Compare
Choose a tag to compare

🎉 Highlights

The extension provides intelligent auto-completion for MDC components and their props when provided with nuxt-component-meta module or from custom mdc.componentMetadataURL in your VS Code project's settings.

Component Names

When typing a colon (:) at the start of a line, it suggests available component names.

completion provider example

Component props

Within MDC component YAML frontmatter sections (between ---), it provides contextual property suggestions with proper types and documentation.

image

Note

To enable component completions set enableComponentMetadataCompletions to true in VScode config.

🚀 Enhancements

  • Component and prop suggestions (#43)

🩹 Fixes

  • completions: Prop type value (#50)
  • completions: Detect object prop type (#51)

🏡 Chore

  • release: Release v0.3.0 (62edfac)

🤖 CI

❤️ Contributors

v0.2.4

06 Mar 14:16
Compare
Choose a tag to compare
  • fix: show markdown preview menus (#49) (d58b6ef)

v0.2.3

04 Mar 15:57
Compare
Choose a tag to compare

Important

As of this version, the extension introduces executable code to format and fold documents(#41). Due to this change, VSCode auto-update does not update the extension automatically; you need to manually update it.

🚀 Features

  • add document formatting and code folding providers (#41) (866de6e)

🩹 Bug Fixes

  • create mdc.standalone to use separately outside of markdown language (45d4f42)
  • formatting: make formatting opt-in (#45) (58a8bed)
  • packaging: properly package dependencies (#46) (545791f)
  • standalone: include inline syntax (#42) (96f619c)

❤️ Contributors

Special thanks to @adamdehaven for his work on document formatting and component folding.