localwriter icon indicating copy to clipboard operation
localwriter copied to clipboard

[Feature Request] Autocomplete (like Extend selection)

Open athyfr opened this issue 1 year ago • 2 comments

Optionally, there should be an option to dynamically generate a completion to the sentence or paragraph currently being typed.

This is alike to Continue's autocomplete function, which you can see below:

Feature demonstration

I understand that it may not be possible to implement a preview of the completion inline, so I suggest that it be shown in a little unformatted box below the text selection cursor.

The common shortcut across different software to apply the completion is tab, but I think it would make the most sense to make this configurable.

athyfr avatar Dec 02 '24 21:12 athyfr

I like this feature, but it really depends on LibreOffice's extension API if it will be practical to implement, so I'll have to investigate.

balisujohn avatar Dec 06 '24 09:12 balisujohn

What a banger extension ! I'm looking for similar usage of Github Copilot in VSCode but for text in LO Writer, activated automaticly, or using a shortcut, to predic few words after writing. Of course, with online or local model using ollama for exemple. I'll check your code when I'll have time to see what is possible !

CartierPierre avatar Apr 25 '25 10:04 CartierPierre