Skip to content

Commit

Permalink
check off some TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
wfraser committed Jul 5, 2020
1 parent 1852ad9 commit 3f33d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,10 @@
# Enhancements
* format the label of functions to include the signature
* probably will invole string munging, sticking the `.name` into the the `.value` of the def in the right spot
* handle impls of traits defined in other crates
* make the color scheme less ugly
* implement some form of live search, where you can start typing and rsbrowse selects the thing
* initially, within the current pane would be a nice start
* eventually, within the current crate is probably good enough
* globally is probably a bad idea
* show something when you've gotten to a leaf node
* documentation
* source code, using span info?
* should this be another pane, or should it go in the .on_select popup?
* if popup, relegate the current debug info somewhere else, it's still useful
* show visibility info (pub / pub(crate) / not pub / etc)
* probably not possible with current RLS data
* could maybe hack it by parsing the source code span?
4 changes: 2 additions & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ pub fn run(browser: Browser) {
.with(|theme| {
use cursive::theme::{
BaseColor::{Black, White, Green},
Color::{Light, Dark},
Color::{Light, Dark, Rgb},
PaletteColor,
};
theme.palette[PaletteColor::Background] = Dark(Black);
theme.palette[PaletteColor::View] = Dark(Black);
theme.palette[PaletteColor::View] = Rgb(32,32,32);
theme.palette[PaletteColor::Shadow] = Light(Black);
theme.palette[PaletteColor::Primary] = Dark(White);
theme.palette[PaletteColor::Highlight] = Dark(Green);
Expand Down

0 comments on commit 3f33d78

Please sign in to comment.