https://github.com/delta/codecharacter-lsp-2023
Language Service for Code Character 2023.
https://github.com/delta/codecharacter-lsp-2023
Last synced: 5 months ago
JSON representation
Language Service for Code Character 2023.
- Host: GitHub
- URL: https://github.com/delta/codecharacter-lsp-2023
- Owner: delta
- Created: 2023-01-08T17:56:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T10:41:16.000Z (about 2 years ago)
- Last Synced: 2024-06-21T15:44:14.554Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 28
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Codecharacter 2023 LSP Server
---
### Requirements
- [Go](https://go.dev/)
- [golangci](https://golangci-lint.run/usage/install/)
- [Docker](https://www.docker.com/)
### Setup
- Configure .vscode/settings.json
```
{
"go.lintTool":"golangci-lint",
"go.lintFlags": [
"--fast"
],
"go.lintOnSave": "package",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"go.docsTool": "gogetdoc"
}
```
- Create .env file
```sh
cp .env.example .env
```
- Init Submodules
```sh
git submodule update --init
```
- Enable githooks
```sh
git config core.hooksPath .githooks
```
### Run
- #### On Docker
```sh
docker-compose up
```