Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

yaegassy/coc-volar-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coc-volar-tools

What's coc-volar-tools?

This coc.nvim extension provides feature split from coc-volar. split into a separate coc-extension due to the large package size used, etc.

Install

CocInstall:

:CocInstall @yaegassy/coc-volar-tools

scoped packages

vim-plug:

Plug 'yaegassy/coc-volar-tools', {'do': 'yarn install --frozen-lockfile'}

DEMO (mp4)

"volar.action.splitEditors" command

coc-volar-tools-split-editors.mp4

"volar.action.vite" command

Press Alt to use go to code in Browser

coc-volar-tools-preview.mp4

The volar.action.nuxt command has the same behavior.

Configuration options

  • volar-tools.enable: Enable coc-volar-tools extension, default: true
  • volar.preview.port: Default port for preview server, default: 3333

Commands

  • volar.action.splitEditors: Split <script>, <template>, <style> Editors
  • volar.action.vite: Experimental Features for Vite
  • volar.action.nuxt: Experimental Features for Nuxt
  • volar.action.previewToggleHighlightDomElements: Toggle preview highlighting enable/disable

Thanks

License

MIT


This extension is built with create-coc-extension