Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable collapsing whole @moduledoc blocks #181

Closed
Hajto opened this issue Mar 18, 2021 · 2 comments
Closed

Enable collapsing whole @moduledoc blocks #181

Hajto opened this issue Mar 18, 2021 · 2 comments

Comments

@Hajto
Copy link

Hajto commented Mar 18, 2021

I would like to collapse whole module docs blocks. I noticed that I couldn't do so when I was contributing to this project:
https://github.com/dashbitco/broadway

These cannot be collapsed

@moduledoc ~S"""

These can be though:

@moduledoc """

Environment

Most of this can be filled out by running the VSCode command (by default bound to Ctrl+Shift+P) "ElixirLS: Copy Debug Info"

  • Elixir & Erlang versions (elixir --version): Erlang/OTP 22 [erts-10.7] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] Elixir 1.11.3 (compiled with Erlang/OTP 21)
  • VSCode ElixirLS version: 0.6.5
  • Operating System Version: darwin 19.6.0
@axelson
Copy link
Member

axelson commented Mar 18, 2021

FYI soon this will be handled by elixir-lsp/elixir-ls#492
If you want to give that branch a try it would be greatly appreciated (the contribution instructions are helpful for running a custom branch locally https://github.com/elixir-lsp/vscode-elixir-ls/#contributing)

@axelson
Copy link
Member

axelson commented Mar 29, 2021

This is fixed in elixir-lsp/elixir-ls#492 and will be released soon

@axelson axelson closed this as completed Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants