<p>Yes, multiline <code>//</code> comments are common in C++, and as <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=181177" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> noted above the current Geany multiline comment behaviour is very "GNU C idiom we will force on everybody".</p>
<p>So similar to my comment on <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="407251151" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2082" data-hovercard-type="pull_request" data-hovercard-url="/geany/geany/pull/2082/hovercard" href="https://github.com/geany/geany/pull/2082">#2082</a>, this is language specific and either:</p>
<ol>
<li>
<p>should be in a plugin, or</p>
</li>
<li>
<p>it should be language agnostic and driven by settings in the filetype file.  But given the number of doxygen permutations that may be difficult.  For example Python uses <code>"""</code> strings in strategic places as doxycomments.</p>
</li>
</ol>
<p>So I suggest this is more likely a plugin thing.  Plugins should not be thought of as some sort of second class feature, and they have many advantages for developing new features like this, being outside core and because they can be disabled by users if they cause problems, they are not so heavily reviewed, so plugins and changes to them are usually accepted much faster.  They can be added to the Geany-Plugins collection and get packaged by distros, and if they become very popular they can become "core plugins" so they are automatically distributed with Geany itself.  And all still not in core.</p>
<p>Anyway, back to the actual functionality <g-emoji class="g-emoji" alias="grin" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f601.png">😁</g-emoji> <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=10910745" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/danpla">@danpla</a> your suggestion of having to delete comments to end the block doesn't sound very satisfying, it just swaps having to type the comments with having to delete them.  The plugin could have an unbound keybinding that the user could bind, eg to <code>Windows-return</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2084#issuecomment-461635015">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ0NqlKMv0fIkTPmpXGrfStN5SbDAks5vLLczgaJpZM4amCzf">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ0ERDCwF7cpJfEdYtYspTTRyxEy9ks5vLLczgaJpZM4amCzf.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #2084: Yes, multiline `//` comments are common in C++, and as @codebrainz noted above the current Geany multiline comment behaviour is very \"GNU C idiom we will force on everybody\".  \r\n\r\nSo similar to my comment on #2082, this is language specific and either:\r\n\r\n1. should be in a plugin, or\r\n\r\n2. it should be language agnostic and driven by settings in the filetype file.  But given the number of doxygen permutations that may be difficult.  For example Python uses `\"\"\"` strings in strategic places as doxycomments.\r\n\r\nSo I suggest this is more likely a plugin thing.  Plugins should not be thought of as some sort of second class feature, and they have many advantages for developing new features like this, being outside core and because they can be disabled by users if they cause problems, they are not so heavily reviewed, so plugins and changes to them are usually accepted much faster.  They can be added to the Geany-Plugins collection and get packaged by distros, and if they become very popular they can become \"core plugins\" so they are automatically distributed with Geany itself.  And all still not in core.\r\n\r\nAnyway, back to the actual functionality :grin: @danpla your suggestion of having to delete comments to end the block doesn't sound very satisfying, it just swaps having to type the comments with having to delete them.  The plugin could have an unbound keybinding that the user could bind, eg to `Windows-return`."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/2084#issuecomment-461635015"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2084#issuecomment-461635015",
"url": "https://github.com/geany/geany/issues/2084#issuecomment-461635015",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>