Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 1.27 KB

Readme.md

File metadata and controls

50 lines (33 loc) · 1.27 KB

VirtualKit

An Intellij plugin to modify the SvelteKit project tree to make it easier to navigate between files.

Features

Route files are respresented by name

  • +page.svelte is modified to {route}.svelte
  • +page.server.js is modified to {route}.server.js
  • +page.js is modified to {route}.js
  • +layout.svelte is modified to {route}.layout.svelte
  • +error.svelte is modified to {route}.error.svelte

Same for ts files

Routes

Nesting

+page.server.js and +page.js are nested under +page.svelte

Nesting

Tabs

The tab titles are modified to show the route name

Tabs

Goto file

The goto file dialog is modified to show the new file names

goto-file.png

Todo

  • Add a setting toggle nesting
  • Handle layout files
  • Handle routes with params
  • Extend file search