Skip to content

About

radar in ycode: open reports in a panel, file new ones from a selection

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

ycode-radar

radar inside ycode, as a Lua extension.

  • radar: panel opens a right-dock panel with the open reports in the pull workspace, grouped by repo. Click a report to open its file at that line. Hover it to close it.
  • radar: report files the current editor selection. A small window shows where it points and the selected text, with a box for a note. Ctrl-Enter files it and Escape cancels.

Reports go through the radar CLI against $PULL_ROOT/issues/radar.db. The workspace is $PULL_ROOT, or else the nearest pullfile.plist above a folder open in ycode.

Bind the report action to a key in keymap.json:

{ "context": "Editor", "bindings": { "ctrl-alt-r": ["ycode::Run", { "name": "radar::Report" }] } }

Install

Link the repo into the hooks folder and reload hooks:

ln -s ~/jbisfun/ycode-radar ~/.config/zed/hooks/ycode-radar

About

radar in ycode: open reports in a panel, file new ones from a selection

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages