<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt Creator: Don&#x27;t add &quot;*&quot; to start of comment lines, (still) auto-indent inside comments]]></title><description><![CDATA[<p dir="auto">In Qt Creator, when I hit enter while typing inside a style /* .... */ comment, a "*" is normally inserted at the start of the next line. If I remove "*" from the 2nd line (before I continue typing; it won't appear automatically on the 3rd, but then the line isn't automatically indented.</p>
<p dir="auto">Is there a way I can change that? I basically want to have comments without "*" on the 2nd and subsequent lines, and with the option of auto-formatting content.</p>
<p dir="auto">Maybe this is related to clang-format (which is generally enabled), but I can't find a lot of information about comments formatting in its documentation...</p>
]]></description><link>https://forum.qt.io/topic/157092/qt-creator-don-t-add-to-start-of-comment-lines-still-auto-indent-inside-comments</link><generator>RSS for Node</generator><lastBuildDate>Tue, 07 Apr 2026 01:53:37 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/157092.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jun 2024 09:05:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Creator: Don&#x27;t add &quot;*&quot; to start of comment lines, (still) auto-indent inside comments on Wed, 12 Jun 2024 07:34:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a></p>
<p dir="auto">Yes, that works for the leading '*' at least. Never thought to look at that options page... Actually, I hardly even noticed it when I checked, although I must have reviewed its settings in the past.</p>
<p dir="auto">Thanks.</p>
<p dir="auto">Like I said, I guess the indentation bit might be a clang-format issue. It's still unclear to me (from reading the docs) how it's supposed to format comments.</p>
]]></description><link>https://forum.qt.io/post/802451</link><guid isPermaLink="true">https://forum.qt.io/post/802451</guid><dc:creator><![CDATA[toralf]]></dc:creator><pubDate>Wed, 12 Jun 2024 07:34:29 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator: Don&#x27;t add &quot;*&quot; to start of comment lines, (still) auto-indent inside comments on Mon, 10 Jun 2024 09:02:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/toralf">@<bdi>toralf</bdi></a><br />
I see <strong>Options &gt; Text Editor &gt; Completion &gt; Documentation Comments &gt; Add Leading Asterisks</strong> option.  Although it is under "Documentation Comments" this seems to work on your multiline comments in code.  I think this is as close as it gets for what you want?</p>
]]></description><link>https://forum.qt.io/post/802251</link><guid isPermaLink="true">https://forum.qt.io/post/802251</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Mon, 10 Jun 2024 09:02:02 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator: Don&#x27;t add &quot;*&quot; to start of comment lines, (still) auto-indent inside comments on Mon, 10 Jun 2024 08:06:37 GMT]]></title><description><![CDATA[<p dir="auto">Maybe I'm blind or something, but I don't quite understand what options you are referring to. I see no mention of "*" on continuation lines. Also, the "automatic indentation" settings I can find, are the ones that appear to have no effect in the situation I was taking about. So what are you taking about exactly?</p>
]]></description><link>https://forum.qt.io/post/802239</link><guid isPermaLink="true">https://forum.qt.io/post/802239</guid><dc:creator><![CDATA[toralf]]></dc:creator><pubDate>Mon, 10 Jun 2024 08:06:37 GMT</pubDate></item><item><title><![CDATA[Reply to Qt Creator: Don&#x27;t add &quot;*&quot; to start of comment lines, (still) auto-indent inside comments on Thu, 06 Jun 2024 12:34:08 GMT]]></title><description><![CDATA[<p dir="auto">Have a look at Preferences-&gt;Text Editor-&gt;Behaviour<br />
check for automatic indentation<br />
and options below.</p>
]]></description><link>https://forum.qt.io/post/801993</link><guid isPermaLink="true">https://forum.qt.io/post/801993</guid><dc:creator><![CDATA[mpergand]]></dc:creator><pubDate>Thu, 06 Jun 2024 12:34:08 GMT</pubDate></item></channel></rss>