summaryrefslogtreecommitdiff
path: root/SCRATCHPAD.md
blob: e03ca818aad9ffd926f00291dda9b52998e45409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Project scratch pad

This document shows future items and items in progress. Already completed ones are deleted from this document as updates occur.

## Features

* [ ] For in-editor chat add a way to print current hexai status such as
  * active LLM
  * active stats
  * current config printed out
  * could use a special keyword like /status?TRIGGER (e.g. > as TRIGGER)
  * what other slasm commands could we think of?
* [ ] Be able to switch LLMs ad-hoc.

## More

* [ ] Configure hexai-lsp multiple times, but with different LLM backends? E.g. a remote cloud one and a local one?
* [/] Review documentation
* [/] Manual review the code 
* [ ] Useful: https://deepwiki.com/helix-editor/helix/4.3-language-server-protocol
* [/] Code review with another LLM 

## Additional Ideas (Nice to Have)

*   **LSP: Inlay Hints (`textDocument/inlayHint`)**: Use AI to provide dynamic, inline hints like inferred types, performance warnings (e.g., `O(n^2)`), or security alerts.
*   **LSP: Hover (`textDocument/hover`)**: Enrich hover popups with AI-generated natural language explanations of code, usage examples, and complexity analysis.
*   **LSP: Semantic Tokens (`textDocument/semanticTokens`)**: Implement semantic tokenization to build a deeper understanding of the code, which would improve the accuracy and context-awareness of all other AI features.
*   **LSP: Rename (`textDocument/rename`)**: Add safe rename capabilities, potentially enhanced with AI to proactively suggest better, more descriptive names for variables and functions.