This coc.nvim extension provides feature split from coc-volar. split into a separate coc-extension due to the large package size used, etc.
CocInstall:
:CocInstall @yaegassy/coc-volar-tools
scoped packages
vim-plug:
Plug 'yaegassy/coc-volar-tools', {'do': 'yarn install --frozen-lockfile'}
coc-volar-tools-split-editors.mp4
Press Alt
to use go to code in Browser
coc-volar-tools-preview.mp4
The volar.action.nuxt
command has the same behavior.
volar-tools.enable
: Enable coc-volar-tools extension, default:true
volar.preview.port
: Default port for preview server, default:3333
volar.action.splitEditors
: Split<script>
,<template>
,<style>
Editorsvolar.action.vite
: Experimental Features for Vitevolar.action.nuxt
: Experimental Features for Nuxtvolar.action.previewToggleHighlightDomElements
: Toggle preview highlighting enable/disable
MIT
This extension is built with create-coc-extension