Skip to content

Commit 7fd4b21

Browse files
committed
Update README to enhance clarity and detail current features and getting started instructions
1 parent 25a7677 commit 7fd4b21

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

README.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
# functorcoder
22
**functorcoder** is an open source AI coding assistant utilizing LLM (Large Language Model) with algebraic and modular design in Scala.js. It aims at providing a clean and extensible architecture for AI coding assistants, which is helpful for understanding basic mechanics if you want to build your own AI coding assistant.
33

4+
current features implemented:
5+
- auto completion as you type
6+
- add documentation quick fix action
7+
48
features aiming to implement:
59
- code generation: completion, documentation
610
- code modification: refactoring, optimization, bug fixing
711
- code analysis: code understanding, code review, code quality
812

9-
current features implemented:
10-
- auto completion as you type
11-
- add documentation quick fix action
12-
1313
## Getting Started
14-
Visit [vscode-scalajs-hello](https://github.com/doofin/vscode-scalajs-hello) to understand how to play with scala.js for VSCode extension development. Basically, sbt is used to build the project and run the extension.
14+
Visit [vscode-scalajs-hello](https://github.com/doofin/vscode-scalajs-hello) to understand how to play with scala.js for VSCode extension development. Basically, sbt is used to build the project and run the extension. There you will learn:
15+
- setting up the development environment
16+
- building the project and running the extension
17+
- packaging the extension
18+
1519

1620
Before loading the extension, you need to add options to vscode user settings, and provide your OpenAI compatible API key and URL. Here is an example:
1721

@@ -29,7 +33,7 @@ The project is divided into two main parts: the core module and the VSCode exten
2933

3034
**To get started**, read the file `extensionMain.scala` in the VSCode extension module. It is the main entry point for the extension.
3135

32-
The first part is the core module, containing the main logic of the AI coding assistant:
36+
The first part is the core module, we aim keeping it concise. It contains the main logic of the ai coding assistant:
3337
- Large Language Model (LLM) integration
3438
- sending propmt to LLM and getting the response
3539

@@ -46,23 +50,15 @@ project file structure for the core module:
4650
```bash
4751
/functorcoder
4852
├── /src/main/scala/functorcoder
49-
│ ├── /llm
50-
│ │ ├── LLM.scala # Large Language Model (LLM) integration
53+
│ ├── /llm # Integration with LLM (e.g., OpenAI API)
5154
│ ├── /actions
52-
│ │ ├── CodeCompletion.scala # Code completion module
53-
│ │ ├── Refactor.scala # Refactor code module
54-
│ │ └── Debug.scala # Debugging module
55-
│ ├── /types
56-
│ │ ├── InputTypes.scala # Types for code, context, and user actions
57-
│ │ └── OutputTypes.scala # Types for output (formatted code, suggestions)
58-
│ ├── /editorUI
59-
│ │ ├── EditorIntegration.scala # Integration with the editor (e.g., VSCode)
60-
│ └── /tests
61-
│ ├── CoreTests.scala # Unit tests for core modules
62-
└── /docs
63-
├── README.md # Project overview and setup instructions
64-
├── ARCHITECTURE.md # Architecture details and design decisions
65-
└── API.md # API documentation for integration
55+
│ │ ├── CodeGen.scala # Code completion, generation, and documentation
56+
│ │ ├── Commands.scala # Commands from functorcoder
57+
│ │ └── Debug.scala # Debugging module
58+
│ ├── /types # Types for code, context, and user actions
59+
│ ├── /editorUI # Integration with the editor (e.g., VSCode)
60+
│ └── /tests # Unit tests for core modules
61+
└── /docs # Documentation
6662
```
6763

6864
The project file structure for the VSCode extension module:

0 commit comments

Comments
 (0)