Skip to content
New issue

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

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

Already on GitHub? # to your account

chore: auto-insertion of /// and concealment of /**/ comments #93

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

novusnota
Copy link
Member

@novusnota novusnota commented Feb 6, 2025

The regex is made in the way that /// are only auto-inserted if they don't have any non-space characters to the start of the line. That is, they're not placed at the end of the code lines.

As a bonus, I've concealed /**/ comments. This part is debatable, but generally pushing people towards more /// seems beneficial, especially if we consider removing the /**/ comments in some future.

Feel free to disagree :)

Closes #92

@novusnota novusnota requested a review from i582 February 6, 2025 23:02
Copy link
Collaborator

@i582 i582 left a comment

Choose a reason for hiding this comment

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

Great!

@i582 i582 merged commit 47d4348 into master Feb 7, 2025
4 checks passed
@i582 i582 deleted the closes-92 branch February 7, 2025 06:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add auto-insertion of /// to language-configuration.json
2 participants