Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. ClearCase plugin for Qt Creator
Forum Updated to NodeBB v4.3 + New Features

ClearCase plugin for Qt Creator

Scheduled Pinned Locked Moved Qt Creator and other tools
22 Posts 4 Posters 10.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #6

    We do not superimpose anything in our file-based views yet. That would surely be possible though. I have not seen that feature requested much though. The icons off files in creator are rather small to add a meaningful overlay, too.

    Of course that will only effect the views of the files inside Qt Creator, not the Windows Explorer:-)

    1 Reply Last reply
    0
    • O Offline
      O Offline
      orgads
      Qt Champions 2017
      wrote on last edited by
      #7

      How about setting the text color for the filenames (e.g. green for checked-in, orange for checked-out, red for hijacked)? Is that possible?

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #8

        Not without some modifications.

        Ideally Creator would just handle all that clearcase magic transparently...

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #9

          But it woukd be nice, if the files could be represented in the same way, as in ClearCase Explorer. For ClearCase users (I am one of them) it would make it easier.

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0
          • O Offline
            O Offline
            orgads
            Qt Champions 2017
            wrote on last edited by
            #10

            Well, in ClearCase explorer it displays an icon to the right of the original icon (V for checked-out, crossed V for hijacked, none for checked-in). This is an option too...

            1 Reply Last reply
            0
            • O Offline
              O Offline
              orgads
              Qt Champions 2017
              wrote on last edited by
              #11

              to the left, pardon me

              1 Reply Last reply
              0
              • G Offline
                G Offline
                giesbert
                wrote on last edited by
                #12

                It would be great, to have those features :-)

                Nokia Certified Qt Specialist.
                Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #13

                  ClearCase is not on my ToDo list and I maintain the VCS stuff right now.

                  Feel free to implement a plugin though! Qt Creator is a open source project and you guys obviously are developers or you would not be requesting a plugin;-)

                  1 Reply Last reply
                  0
                  • O Offline
                    O Offline
                    orgads
                    Qt Champions 2017
                    wrote on last edited by
                    #14

                    That was my intention from the first place. That wasn't a feature request, but rather a request for information :)

                    I'll try to do this and see how it goes...

                    1 Reply Last reply
                    0
                    • O Offline
                      O Offline
                      orgads
                      Qt Champions 2017
                      wrote on last edited by
                      #15

                      Hey,

                      Thanks for all your help.
                      I'm almost done with the plugin :)

                      I still have a problem - when I do check-in (aka commit), I hold a FileChangeBlocker for the file (it is changed from read-write to read-only), but I still get the "file changed outside Qt Creator" message.

                      How do I avoid it?

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #16

                        Oh, good question! I think Creator triggers on all changes to the file, even if it is only meta-data... No idea how to get around that.

                        1 Reply Last reply
                        0
                        • O Offline
                          O Offline
                          orgads
                          Qt Champions 2017
                          wrote on last edited by
                          #17

                          The problem is with runVCS running synchronously, so notifies aren't blocked. Maybe you should add a real blocker for synchronous operations (e.g. expectFileChanges() should set some variable that will be tested on checkForReload())

                          1 Reply Last reply
                          0
                          • O Offline
                            O Offline
                            orgads
                            Qt Champions 2017
                            wrote on last edited by
                            #18

                            About icon overlaying - I found that function in FileIconProvider (works by mime type or extension). Problem is it cannot be replaced with a customized one...

                            What I'd like to do is use my own FileIconProvider, and use the overlay function to overlay a small status icon (or widen the icon to add a status icon next to it)

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              knutpett
                              wrote on last edited by
                              #19

                              Orgad, did you give up on icon overlaying? Is it feasible?

                              1 Reply Last reply
                              0
                              • O Offline
                                O Offline
                                orgads
                                Qt Champions 2017
                                wrote on last edited by
                                #20

                                Better ask the guys on freenode :)

                                I hardly use CC nowadays, so my motivation is low ;-)

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  knutpett
                                  wrote on last edited by
                                  #21

                                  I know ;) I'm probably the only one using CC ;)

                                  But do you remember why you gave up/didn't implement it back in 2011? Just wanted to check with you before I start digging...

                                  1 Reply Last reply
                                  0
                                  • O Offline
                                    O Offline
                                    orgads
                                    Qt Champions 2017
                                    wrote on last edited by
                                    #22

                                    It looked too complicated, and I wasn't familiar with Creator's codebase.

                                    I guess today I'd use the Git plugin as a reference rather than Subversion too...

                                    1 Reply Last reply
                                    0

                                    • Login

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Users
                                    • Groups
                                    • Search
                                    • Get Qt Extensions
                                    • Unsolved