kaitai_ide_vscode icon indicating copy to clipboard operation
kaitai_ide_vscode copied to clipboard

Add content menu items not only to the files in "Workspace" area

Open Mingun opened this issue 3 years ago • 0 comments

This is inconvenient -- sometimes you want to open a file not from the workspace, but neither the tab menu nor the "Open Editors" menu have any extension menu items.

In any case I suggest to rework how extension is work. Just add one command "Parse with KSY" that will apply to the active buffer. In that command ask what KSY to use. I suggest to show selector (similery to the select command "Ctrl+Shift+P") with variants:

  • Configured (see below)
  • Open KSY file...
  • <...list of opened editors...>

Also add extension setting with KSY associations to the file glob patterns (usually something like "<ksy path>": "*.ext"). Show this variant as "Configured"

Mingun avatar Nov 25 '20 14:11 Mingun