User forums > Using Code::Blocks

C::B plugin to show current git branch?

<< < (2/2)

stahta01:

--- Code: ---git branch --show-current
--- End code ---

Shows current branch

christo:

--- Quote from: cacb on April 12, 2025, 04:50:03 pm ---Trouble is, I use C::B a lot under windows and for that I rely on the Windows nightly builds (that I do not build myself) available via this forum. The nightly builds work perfectly fine, but there does not seem to be an easy way to install a plugin like cbvcs in this situation. Or maybe I am mistaken?

--- End quote ---
Hi cacb, you are right,  installing without source code is not possible unless nightly installation contains header files as well. Also, I've never built the plugin for Windows as I don't have a Windows machine I use for development.

I just added the feature to cbvcs plugin as it is useful for me.

Just changes is plugin is not enough, CB core code also need some changes. For any other plugins to show the branch also similar change is required. Attaching the change.

Thanks, Christo

cacb:

--- Quote from: christo on April 13, 2025, 06:53:55 am ---I just added the feature to cbvcs plugin as it is useful for me.

--- End quote ---
Thanks, I appreciate your efforts even though it it is not available to me using Nightly Builds on Windows

Navigation

[0] Message Index

[*] Previous page

Go to full version