elixir-lsp / vscode-elixir-ls

Elixir language support and debugger for VS Code, powered by ElixirLS.
https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls
MIT License
539 stars 106 forks source link

@doc on hover quit showing recently #394

Closed phewitt closed 10 months ago

phewitt commented 10 months ago

I'm wanting to know if anyone else has recently noticed @docs and @moduledoc no longer showing on hover. The spec still shows. I've noticed this same behavior on 3 different machines (Mac, Windows, ChromeBook). So I don't think it's environment specific. Has something changed with how to enable it here or on vscode itself? Even on fresh installs.

Here is an example of what I see now.

Screenshot 2023-11-29 19 24 48

I would expect to see the doc info.

  @doc """
  Returns the list of products.

  ## Examples

      iex> list_products()
      [%Product{}, ...]

  """

Am I missing something? Has something changed? has anyone else had this problem?

lukaszsamson commented 10 months ago

Extracting docs from the current file is not implemented and never worked. It works for remote calls and modules if the remote file is compiled.

phewitt commented 10 months ago

Wow... guess I misremembered. Thank you for your reply @lukaszsamson. I guess i've noticed because i've been writing more docs and highlighting to see what they look like.