mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-12 21:12:44 -05:00
19 lines
669 B
Markdown
19 lines
669 B
Markdown
# Quick Refactoring Feature
|
|
|
|
## Setup
|
|
|
|
Since this is actually a small chat with redirected output, the main settings of the provider, model and template are taken from the chat settings.
|
|
|
|
## Using
|
|
|
|
The request to model consist of instructions to model, selection code and cursor position.
|
|
|
|
The default instruction is: "Refactor the code to improve its quality and maintainability." and sending if text field is empty.
|
|
|
|
Also there buttons to quick call instractions:
|
|
- Repeat latest instruction, will activate after sending first request in QtCreator session
|
|
- Improve current selection code
|
|
- Suggestion alternative variant of selection code
|
|
- Other instructions[TBD]
|
|
|