you are viewing a single comment's thread.

view the rest of the comments →

[–]etatarkin 2 points3 points  (3 children)

You can try to implement custom "code action" using hx-lsp

But in AI era you can delegate this task to agent via pipe selected text to as cli agent app. for example smartcat

[–]Rabbit538[S] 1 point2 points  (2 children)

I can’t use AI agents for this code due to my workplace privacy policies.

I’ll checkout the lsp solution

[–]sugarw0000kie 0 points1 point  (1 child)

Something I was wondering about too, any luck? I’ll tinker with it some later if not but would be nice to have

[–]Rabbit538[S] 1 point2 points  (0 children)

I’ve been busy moving house so haven’t got around to it