<p>The highlighting of comments is the Scintilla lexer, which highlights several similar versions of properties files and is hard coded to use <code>#</code>, <code>!</code> and <code>;</code> for comments.  There is not way to change that without changing Scintilla, which is a separate project from Geany, you can raise a request <a href="https://sourceforge.net/p/scintilla/feature-requests/">here</a>.  But since all such properties files tend to use the extensions <code>.ini</code>, <code>.conf</code> etc interchangably its hard to tell them apart and  I suggest it should remain general despite the fact that an occasional error may occur in highlighting.</p>

<p>The symbol parser is hard coded to use <code>#</code> and <code>//</code> as comments.  There is no way of changing that without changing the ctags parser.  The parsers mostly come from the <a href="https://github.com/universal-ctags/ctags/">universal-ctags</a> project.  The Geany one is the parent of the <a href="https://github.com/universal-ctags/ctags/blob/master/parsers/iniconf.c">uctags</a> one, but that has been changed to look for <code>;</code> as well.  There is an ongoing exercise to align Geany's parsers with uctags.  <a href="https://github.com/techee" class="user-mention">@techee</a>, maybe this should be added to the TODO list if it isn't already.</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/1220#issuecomment-246075312">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxSW1MejEIvXAEgw0yjgOTHt7dxgks5qofuKgaJpZM4J5LIN">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ0HwDaxO1k2TgbBSYTAChi8bwY_Kks5qofuKgaJpZM4J5LIN.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1220#issuecomment-246075312"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@elextr in #1220: The highlighting of comments is the Scintilla lexer, which highlights several similar versions of properties files and is hard coded to use `#`, `!` and `;` for comments.  There is not way to change that without changing Scintilla, which is a separate project from Geany, you can raise a request [here](https://sourceforge.net/p/scintilla/feature-requests/).  But since all such properties files tend to use the extensions `.ini`, `.conf` etc interchangably its hard to tell them apart and  I suggest it should remain general despite the fact that an occasional error may occur in highlighting.\r\n\r\nThe symbol parser is hard coded to use `#` and `//` as comments.  There is no way of changing that without changing the ctags parser.  The parsers mostly come from the [universal-ctags](https://github.com/universal-ctags/ctags/) project.  The Geany one is the parent of the [uctags](https://github.com/universal-ctags/ctags/blob/master/parsers/iniconf.c) one, but that has been changed to look for `;` as well.  There is an ongoing exercise to align Geany's parsers with uctags.  @techee, maybe this should be added to the TODO list if it isn't already.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1220#issuecomment-246075312"}}}</script>