summaryrefslogtreecommitdiff
path: root/IDEAS.md
blob: de47d6ef84eefc6a9fa00268daf51b340fbe078b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Ideas

## Code quality

### Refactor

* [ ] Refactor existing code in a more modular way
* [ ] Add unit tests

## Features

### Improvements

* [ ] TODO's in the code to be addressed

### New features

* [ ] Resolve diagnostics code action feature
* [X] LSP server to be used with the Helix text editor
* [X] Code completion using LLMs
* [X] Text completion in general
* [/] Code generation using LLMs text
* [ ] Be a replacement for 'github copilot cli'
* [ ] Be able to perform inline chats (keeping history in the document)
* [ ] Be able to switch the underlying model via a prompt
* [ ] Fine tune when LLM completions are triggered, as it seems that there are some cases where the LLM is asked but Helix is not suggesting any completions

Be able to select code blocks and perform code actions on them

* [ ] Commenting exiting code
* [ ] Code refactoring

Be able to chat with the LLM

* [ ] Have a dialog with the LLM, like in lsp-ai

Be able to switch LLMs. 

* [ ] Ollama local LLM models (e.g. Qwen Coder vs Deepseek-R1 for different purposes)
* [ ] OpenAI models
* [ ] Claude models
* [ ] Gemini models

## More

* [ ] Useful: https://deepwiki.com/helix-editor/helix/4.3-language-server-protocol` 

## Usage notes

Helix' `languages.toml`

```toml
[[language]]
name = "go"
auto-format= true
diagnostic-severity = "hint"
formatter = { command = "goimports" }
language-servers = [ "gopls", "golangci-lint-lsp", "hexai" ]
# language-servers = [ "gopls", "golangci-lint-lsp", "lsp-ai", "gpt", "hexai" ]

[language-server.hexai]
command = "hexai"
`

## Prompting

* Write a new function: ``
* In-place code add: ``

# Summary:
# - Refactor and modularize code, add unit tests
# - Address TODOs and improve diagnostics/code actions
# - Integrate LLM-based code/text completion, code generation, and inline chat
# - Support multiple LLMs (Ollama, OpenAI, Claude, Gemini)
# - Enable code block actions (commenting, refactoring)
# - Provide Helix LSP server integration and usage notes
# - Facilitate prompting for code generation and actions:w