From a879b74b7d8edd9d7d117cdf24c58eb8b14a5efb Mon Sep 17 00:00:00 2001 From: Amjith Ramanujam Date: Tue, 30 Dec 2014 22:56:06 -0800 Subject: [PATCH] Major TODO cleanup. --- TODO | 33 ++++----------------------------- 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/TODO b/TODO index 6abf7a00..1a3320c6 100644 --- a/TODO +++ b/TODO @@ -1,37 +1,12 @@ # vi: ft=vimwiki -* [X] Reading a config file is broken if an option doesn't exist. -* [X] Change the Promise to Responsibility. -* [ ] Add a page to keep track of changelog in pgcli.com -* [X] Change the phrasing for multi-line to say 'In multi-line mode you can break your sql statement into multiple lines. A semi-colon is needed to end the line.' -* [ ] Add the difference between smart completion and naive completion. -* [ ] Add a word about C compilers and the dependence on libpq. Needs libpq-dev on linux. -* [X] Column completion for nested sql. -* [ ] Refactor to sqlcompletion to consume the text from left to right and use -a state machine to suggest cols or tables instead of relying on hacks. * [ ] Add JOIN to the list of keywords and provide proper autocompletion for it. +* [ ] Add a page to keep track of changelog in pgcli.com +* [ ] Refactor to sqlcompletion to consume the text from left to right and use + a state machine to suggest cols or tables instead of relying on hacks. * [ ] Add a few more special commands. (\l pattern, \di, \dp, \ds, \dv, \dy, \z etc) * [ ] Write a doc about how to add new pgspecial commands.(psql -E) * [ ] Show/hide docs for a statement using a keybinding. -* [ ] Cmd-K breaks in OS X iterm. - This might be a prompt_toolkit bug. -* [ ] Check why Indexes have a invalid at the end when \d is called on them. * [ ] Check how to add the name of the table before printing the table. * [ ] Add logging. -* [ ] Setup the pgcli.com website. -* [ ] Add a new trigger for M-/ that does dumb completion. -* [ ] Find a way to add documentation to sql commands. This could get tricky. -* [ ] Refactor the execution and output into a separate class. -* [ ] Create a class for the config and make it easy to access. -* [X] Set multi-line via config file. +* [ ] Add a new trigger for M-/ that does naive completion. * [ ] New Feature List - Write the current version to config file. At launch if the version has changed, display the changelog between the two versions. -* [X] Separate the column completions to be table specific. (SELECT, INSERT, UPDATE) -* [X] Fix: Autocompletion won't go away after semi-colons. This an artifact of stripping special chars in the partially typed words. Need to selectively remove parens. -* [X] Fix: SELECT id, FROM django_migrations; - Auto-completion for the second column name is broken. Find the last keyword and use it for completion. -* [X] Show only table sensitive columns in autocompletion. -* [X] Skip the password prompt by default. It should only be presented if -W option is provided. -* [X] Detect a '.' and parse the word before it and get it's real name. -* [X] Multiple cols for dot is failing. -* [X] Table detection for INSERT INTO is not stopping after it encounters the lparen. -* [X] Improve the smart completion for Update statement. (Needs table specific columns) -* [X] Add some tests. Sanity, Unit, Completion, Config. -* [X] Add tests for smart completion. -* [X] Improve the smart completion for Insert statement. (Needs table specific columns)