Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 870 Bytes

readme.md

File metadata and controls

50 lines (43 loc) · 870 Bytes

Codecharacter 2023 LSP Server


Requirements

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
    cp .env.example .env
  • Init Submodules
    git submodule update --init
  • Enable githooks
    git config core.hooksPath .githooks

Run

  • On Docker

    docker-compose up