pieces-app / plugin_neovim

Pieces for Neovim plugin
https://docs.pieces.app/extensions-plugins/neovim
MIT License
23 stars 4 forks source link

Better copilot experience #49

Open Bishoy-at-pieces opened 2 months ago

Bishoy-at-pieces commented 2 months ago
shivay-at-pieces commented 2 months ago

I received some feedback from the users on the Unofficial Discord Server for Neovim regarding Copilot Experience.

  1. Main issue: The UI, particularly the sidebar, feels crowded, especially with the input box included.

  2. Problem observed: Long lines in the query are causing grey symbols to appear, indicating text overflow.

  3. Suggested improvements: a. Use [vim.fn.input](https://neovim.io/doc/user/eval.html#vim.fn.input()) or [vim.ui.input](https://neovim.io/doc/user/ui.html#vim.ui.input()) for input handling b. Move the input buffer to a split below the main content c. Place the entire UI in a new tab instead of a crowded sidebar d. Change the layout to a horizontal split instead of vertical e. Implement a toggleable float for the UI elements

  4. Key consideration: The editor's cell-based layout limits the effectiveness of a sidebar for metadata.

  5. Recommended solution: Despite personal reservations about floats, the user suggests a toggleable float as probably the most sensible solution for this UI challenge.

The overall feedback emphasizes the need for a more space-efficient and flexible UI design that better accommodates the constraints of a cell-based editor like Neovim.

shivay-at-pieces commented 2 months ago

@Bishoy-at-pieces

shivay-at-pieces commented 2 months ago

Overall theme: don't; make a split UI, improve the accessibility experience of using the Copilot