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

Add auto-insertion of /// to language-configuration.json #92

Closed
novusnota opened this issue Feb 6, 2025 · 0 comments · Fixed by #93
Closed

Add auto-insertion of /// to language-configuration.json #92

novusnota opened this issue Feb 6, 2025 · 0 comments · Fixed by #93
Assignees
Labels
vscode extension Related to extensions for VSCode and VSCodium, not the LS per se

Comments

@novusnota
Copy link
Member

novusnota commented Feb 6, 2025

{
// ...other stuff
  "onEnterRules": [
    {
      "beforeText": "^\\s*///.*$",
      "action": {
        "indent": "none",
        "appendText": "/// "
      }
    }
  ]
// ...other stuff
}

P.S.: We can also consider removing block comments from VSCode options entirely, just so people use them less:

"blockComment": ["/*", "*/"]

@novusnota novusnota added the vscode extension Related to extensions for VSCode and VSCodium, not the LS per se label Feb 6, 2025
@novusnota novusnota self-assigned this Feb 6, 2025
@i582 i582 closed this as completed in #93 Feb 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
vscode extension Related to extensions for VSCode and VSCodium, not the LS per se
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant