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
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,22 +37,23 @@ Before loading the extension, you need to add options to vscode user settings, a
37
37
}
38
38
```
39
39
40
+
41
+
to try out, after cloning the project, run `sbt open` to open a debugging instance of VSCode with the extension loaded. Then the features like auto completion is ready to use.
42
+
40
43
## Project Structure
41
-
The project is divided into two main parts: the core module and the VSCode extension module under /src/main/scala/functorcoder and /src/main/scala/vscextension respectively.
44
+
The project is divided into **two main parts**: the core module and the VSCode extension module under /src/main/scala/functorcoder and /src/main/scala/vscextension respectively.
42
45
43
-
**To get started**, read the file`extensionMain.scala` in the VSCode extension module. It is the main entry point for the extension.
46
+
To get started, start with`extensionMain.scala`, the main entry point for the extension.
44
47
45
-
The first part is the core module, we aim keeping it concise. It contains the main logic of the ai coding assistant:
48
+
The first part is the core module, the main logic of the ai coding assistant:
46
49
- Large Language Model (LLM) integration
47
50
- sending propmt to LLM and getting the response
48
51
49
-
The second part is the VSCode extension module, which integrates the core module with the VSCode editor. It contains:
52
+
The second part is the VSCode extension module, which integrates the core module with the VSCode editor:
50
53
- commands: commands to be executed in the editor
51
54
- code actions: quick fix actions
52
55
- code completion: auto completion
53
56
- editor ui: status bar, notifications, etc.
54
-
55
-
It's adopted from the [vscode-scalajs-hello](https://github.com/doofin/vscode-scalajs-hello) project. Refer to it for getting started with the VSCode extension development in Scala.js.
0 commit comments