Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaegassy/coc-volar-tools
Additional features of coc-volar
https://github.com/yaegassy/coc-volar-tools
coc coc-extensions coc-nvim neovim vim vue
Last synced: about 2 months ago
JSON representation
Additional features of coc-volar
- Host: GitHub
- URL: https://github.com/yaegassy/coc-volar-tools
- Owner: yaegassy
- License: mit
- Archived: true
- Created: 2022-03-21T16:52:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T00:35:20.000Z (almost 2 years ago)
- Last Synced: 2024-09-24T10:03:05.728Z (about 2 months ago)
- Topics: coc, coc-extensions, coc-nvim, neovim, vim, vue
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@yaegassy/coc-volar-tools
- Size: 256 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coc-volar-tools
## What's coc-volar-tools?
This [coc.nvim](https://github.com/neoclide/coc.nvim) extension provides feature split from [coc-volar](https://github.com/yaegassy/coc-volar). split into a separate coc-extension due to the large package size used, etc.
## Install
**CocInstall**:
```vim
:CocInstall @yaegassy/coc-volar-tools
```> scoped packages
**vim-plug**:
```vim
Plug 'yaegassy/coc-volar-tools', {'do': 'yarn install --frozen-lockfile'}
```## DEMO (mp4)
### "volar.action.splitEditors" command
https://user-images.githubusercontent.com/188642/165208266-c21ed952-b930-46d1-8ab2-a0ce7bcef97d.mp4
### "volar.action.vite" command
Press `Alt` to use go to code in Browser
https://user-images.githubusercontent.com/188642/165452459-2bf6787c-ccfc-4ed6-9042-6e36e39cfb58.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 ``, `<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
- [johnsoncodehk/volar](https://github.com/johnsoncodehk/volar)
## License
MIT
---
> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)