mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 20:15:20 +00:00
Force added things in .serena
This commit is contained in:
1 parent
43fe41217d
commit
f9cea02674
4 files changed
+49
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# Available Language Servers
|
||||
|
||||
Serena supports multiple programming languages through language servers. The language servers currently available in the project are:
|
||||
|
||||
## Directly Supported (Out of the Box)
|
||||
- **Python**: Using Pyright Language Server (previously used Jedi)
|
||||
- **Java**: Using Eclipse JDTLS (Note: startup is slow, especially initial startup)
|
||||
- **TypeScript/JavaScript**: Using TypeScript Language Server
|
||||
|
||||
## Indirectly Supported (May Require Manual Setup)
|
||||
- **Ruby**: Using Solargraph
|
||||
- **Go**: Using Gopls
|
||||
- **C#**: Using OmniSharp
|
||||
- **Rust**: Using Rust-Analyzer
|
||||
|
||||
These language servers utilize the Language Server Protocol (LSP) to provide semantic code analysis capabilities. The system can be extended to support additional languages by providing adapters for new language server implementations.
|
||||
@@ -0,0 +1,16 @@
|
||||
# Project Structure
|
||||
|
||||
The Serena codebase is organized as follows:
|
||||
|
||||
- **src/serena/**: Main package with core functionality
|
||||
- **llm/**: LLM integration
|
||||
- **util/**: Utilities
|
||||
- Key files: mcp.py, agno.py, agent.py
|
||||
- **src/multilspy/**: Language server integration
|
||||
- **language_servers/**: Implementations for different languages
|
||||
- Python (pyright/jedi)
|
||||
- Java (Eclipse JDTLS)
|
||||
- TypeScript/JavaScript
|
||||
- C#, Rust, Go, Ruby, C++
|
||||
- **test/**: Tests
|
||||
- **scripts/**: Utility scripts
|
||||
@@ -0,0 +1,13 @@
|
||||
# Suggested Commands
|
||||
|
||||
## Development Tasks (using uv and poe)
|
||||
|
||||
The following tasks should generally be executed using `uv run poe <task_name>`.
|
||||
|
||||
- `lint`: This is the **only** allowed command for linting. Run as `uv run poe lint`.
|
||||
- `format`: This is the **only** allowed command for formatting. Run as `uv run poe format`.
|
||||
- `type-check`: This is the **only** allowed command for type checking. Run as `uv run poe type-check`.
|
||||
- `test`: This is the preferred command for running tests (`uv run poe test [args]`). However, running tests directly with `uv run pytest [args]` is also permitted.
|
||||
|
||||
For finishing a task, make sure format, type-check and test pass! Run them at the end of the task
|
||||
and if needed fix any issues that come up and run them again until they pass.
|
||||
@@ -0,0 +1,4 @@
|
||||
# language of the project (csharp, python, rust, java, typescript, javascript, go, or ruby)
|
||||
language: python
|
||||
# list of directories to ignore: either names (e.g. "temp") or relative paths (e.g. "build/foo")
|
||||
ignore_all_files_in_gitignore: True
|
||||
Reference in new issue
Block a user