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

add folding markers for @doc, @moduledoc, #region #157

Merged
merged 2 commits into from
Dec 10, 2020

Conversation

lastobelus
Copy link
Contributor

No description provided.

@lastobelus
Copy link
Contributor Author

See #156

@lastobelus
Copy link
Contributor Author

It would probably be better if @doc and @moduledoc got the textmate scope comment.block in addition to comment.documentation, then I believe the built in folding of block comments, with the special Fold all block comments command would work.

Copy link
Member

@axelson axelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❤️ , just added typedoc support as well

@axelson
Copy link
Member

axelson commented Dec 11, 2020

And feel free to open another PR that changes/adds comment.block for type/module/docs

@axelson axelson mentioned this pull request Feb 8, 2021
2 tasks
@jbosse
Copy link

jbosse commented Mar 12, 2022

The doc folding seems to work, however I cannot seem to get a region to fold.

# region
def my_method do
  #...
end

def my_other_method do
  #...
end
# endregion

@lastobelus This is how it is supposed to be marked, correct?

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

Successfully merging this pull request may close these issues.

3 participants