elixir-lsp / coc-elixir

Elixir language server extension based on elixir-ls for coc.nvim
MIT License
168 stars 11 forks source link

Add trace config option #16

Closed dbernheisel closed 4 years ago

dbernheisel commented 4 years ago

This adds the "elixir.trace.server" option

After enabling and using some of the LS features, this should give some details in the output channel. For example, I saw this:

[Trace - 1:38:53 AM] Sending notification 'initialized'.
Params: {}

[Trace - 1:38:53 AM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
    "settings": {
        "elixirLS": {
            "dialyzerEnabled": false,
            "dialyzerWarnOpts": [],
            "dialyzerFormat": "dialyzer",
            "mixEnv": "test",
            "fetchDeps": true,
            "suggestSpecs": true,
            "trace": {
                "server": "off"
            }
        }
    }
}

Mirrors from vscode extension: https://github.com/elixir-lsp/vscode-elixir-ls/pull/10