You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,16 @@ KDevCXX with AI is an innovative extension for the KDevelop IDE and Kate Editor,
14
14
## Planned Features
15
15
16
16
-**Multiple Presets** for AI query assistant working with new and existing code, explanation providing information with tools windows, refactor for refactoring old code
17
-
-**Add kdevelop settings kcm ui** for easier settings access
18
-
-**Kate plugin** reusing plugin code with conditional build as Kate plugin
19
17
-**Chat with GPT windows** producing desired result with finall button apply to move result to code editor window.
20
18
21
19
## Getting Started
22
20
23
21
### Prerequisites
24
22
25
-
- KDevelop IDE installed on your system.
23
+
- KDevelop IDE installed on your system for kdevelop plugin
24
+
- Kate Editor installed on your system for kate plugin
26
25
- Internet connection for accessing AI features.
27
26
28
-
29
27
## Required System Packages
30
28
31
29
-**CMake**: Required to configure the build system.
@@ -72,29 +70,30 @@ Use CMake to build the plugin with the following command:
72
70
```bash
73
71
cmake --workflow --preset="clang-release"
74
72
```
73
+
kate plugin will be build and if kdevplatform development headers and libraries are present then kdevelop plugin will be build also.
75
74
76
75
### 3. Install the Plugin
77
76
78
-
Use provided install.sh script it will determine location of kdevplatform plugins and install plugin into that directory
77
+
Use provided install_kdeveplugin.sh and or install_kateplugin.sh scripts it will determine location of kdevplatform plugins and qt/plugins for texteditor and install plugins into that directories
79
78
80
79
81
80
### 4. Configure OpenAI Key
82
81
83
-
Upon launching KDevelop, a modal dialog will appear, prompting you to review and update your settings in KDeelop settings dialog.
82
+
Upon launching KDevelop, a modal dialog will appear, prompting you to review and update your settings in KDevelop settings dialog.
83
+
For kate You need to go Kate settings and enable plugin and edit them.
84
+
Note that ai settings are shared between kate and kdevelop, so You only need to do it once.
84
85
85
86
## Usage
86
87
87
-
After installing the plugin, restart KDevelop. The AI features should now be seamlessly integrated into your IDE.
88
+
After installing the plugin, restart KDevelop/Kate. The AI features should now be seamlessly integrated into your IDE.
88
89
89
90
To use the AI functionality within the editor, follow these steps:
90
91
91
-
1. Write your AI request in the editor, preceded by `[AI DO something for me with that code]`, followed by the code you wish AI to analyze or modify.
92
+
1. Write your AI request in the editor, preceded by `[AI Do something for me with that code]`, followed by the code/text you wish AI to analyze or modify.
92
93
93
94
2. Highlight the request and the target code.
94
95
95
-
3. Press `Ctrl + 1` or select from Drop down menu `Process with AI` to activate the AI processing of selected request and code in format \[AI perform command \]. With 0.1.3 there is context menu available `Process With OpenAI`
96
-
97
-
96
+
3. Select from Drop down menu `Process with AI` to activate the AI processing of selected request and code in format \[AI perform command \].
98
97
99
98
100
99
## Example use
@@ -126,6 +125,10 @@ And perhaps the most weird use of AI i did with code, optimise ai query with ai
0 commit comments