summaryrefslogtreecommitdiff
path: root/IDEAS.md
blob: 8aa1c3e095147e3d6ffceec901c832d1bbd45967 (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
# Ideas

## Code quality

### Refactor

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

## Features

### Improvements

### 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: `;Implement a function counting the number of files in a directory;`
* In-place code add: `;Get number of files in a directory;`