ZIm/crates/language_tools/src
Nathan Sobo 5f98b9617a
Start on a database-backed prompt library (#12468)
Using the file system as a database seems like it's easy, but it's
actually a real pain. I'd like to use LMDB to store the prompts locally
so we have more control. We can always add an export option, but I want
the source of truth to be somewhere other than the file system.

So far, I have a PromptStore which is global to the application and can
be initialized on startup. Then there's a `PromptLibrary` which is
intended to be the root of a new kind of Zed window. I haven't actually
seen pixels yet, but I've sketched out the basics needed to create a new
prompt, save, etc.

Still lots to figure out but the foundations of being backed by a DB and
rendering in an independent window are in place.

/cc @iamnbutler @as-cii 

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
2024-06-03 15:58:43 +02:00
..
language_tools.rs Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
lsp_log.rs Add telemetry for supermaven (#11821) 2024-05-16 17:18:32 -04:00
lsp_log_tests.rs Add initial support for defining language server adapters in WebAssembly-based extensions (#8645) 2024-03-01 16:00:55 -08:00
syntax_tree_view.rs Start on a database-backed prompt library (#12468) 2024-06-03 15:58:43 +02:00