<p><a class="user-mention" data-hovercard-user-id="181177" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> and <a class="user-mention" data-hovercard-user-id="811085" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a></p>
<p>Yes, the intention is to avoid duplicating the same information, the <a href="https://en.wikipedia.org/wiki/Don%27t_repeat_yourself" rel="nofollow">DRY</a> principle. And also the .gitignore allows for quite advanced file inclusion/exclusion rules that is hard to replicate in the project files list anyway as well. So I think it would be very beneficial to leverage this functionality from git / libgit2 instead of parsing the .gitignore ourself.</p>
<p>And, I really like the idea to also get untracked files via the "git status" command. This way it would also be possible to color code or otherwise mark files in the tree depending on their git status like Modified/Untracked.</p>
<p>This is a feature available in atom and vscode but it is very helpful because you get an immediate visual overview of the project when you are working. The terminal and git status commands are just some clicks away but a colormarker in the tree is just a glance and some milliseconds away.</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-plugins/issues/740#issuecomment-387293229">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ-cuxv_XRKzXtlzVlmAXhGXXwoM3ks5twTOHgaJpZM4T1DBJ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ47sb21v9CoG5rvqnnXkXN_poTBhks5twTOHgaJpZM4T1DBJ.gif" height="1" width="1" alt="" /></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-plugins/issues/740#issuecomment-387293229"></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-plugins","title":"geany/geany-plugins","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-plugins"}},"updates":{"snippets":[{"icon":"PERSON","message":"@gntech in #740: @codebrainz and @elextr \r\n\r\nYes, the intention is to avoid duplicating the same information, the [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) principle. And also the .gitignore allows for quite advanced file inclusion/exclusion rules that is hard to replicate in the project files list anyway as well. So I think it would be very beneficial to leverage this functionality from git / libgit2 instead of parsing the .gitignore ourself.\r\n\r\nAnd, I really like the idea to also get untracked files via the \"git status\" command. This way it would also be possible to color code or otherwise mark files in the tree depending on their git status like Modified/Untracked.\r\n\r\nThis is a feature available in atom and vscode but it is very helpful because you get an immediate visual overview of the project when you are working. The terminal and git status commands are just some clicks away but a colormarker in the tree is just a glance and some milliseconds away. "}],"action":{"name":"View Issue","url":"https://github.com/geany/geany-plugins/issues/740#issuecomment-387293229"}}}</script>