Replies: 3 comments
-
I am really interested in the completer, drop downs, and most importantly to me, syntax highlighting that prompt kit offers. |
Beta Was this translation helpful? Give feedback.
-
Hi @ECon87, this is a really neat idea! Unfortunately, it doesn't look like prompt_toolkit allows you to specify an existing curses screen to use, so you'd have to wrap the |
Beta Was this translation helpful? Give feedback.
-
@ECon87 Looking forward to this plugin. I hope you make it into a regular plugin and share with the world. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As the title suggests I am trying to create an autocomplete feature for when I manually enter data in cells.The idea is similar to most GUI spreadsheet editors: take values from the current column, and use those as suggestions when I type new entries.
Below is my first attempt using the "prompt_toolkit" package to provide a completer. It works but it's not pretty. The following are the main flaws of my solution:
It does not provide a nice drop-down menu as you type. Instead the prompt opens a new buffer I guess. I would prefer to figure out how to use the "editCell" command, if possible.
It requires extra keystrokes to go back to the original sheet ("enter" and "q"). However, the new cell value is recorded.
After returning to the original sheet, the status line is funky.
Any suggestions/feedback would be greatly appreciated.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions