Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtCreator parse large source file

QtCreator parse large source file

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 762 Views 2 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.
  • M Offline
    M Offline
    Marek
    wrote on last edited by
    #1

    Hi all,

    I have source files generated by KDSoap tool from wsdl. Header is 10MB and cpp 25 MB when I open them in QtCreator it does not parse them (no colors, no tips) so I'm working blind. With any smaller files generated from wsdl the same method sources are parsed.
    Is there some settings in QtCreator to change this ? I mean force it to parse the files ?

    Best,
    Marek

    aha_1980A 1 Reply Last reply
    0
    • M Marek

      Hi all,

      I have source files generated by KDSoap tool from wsdl. Header is 10MB and cpp 25 MB when I open them in QtCreator it does not parse them (no colors, no tips) so I'm working blind. With any smaller files generated from wsdl the same method sources are parsed.
      Is there some settings in QtCreator to change this ? I mean force it to parse the files ?

      Best,
      Marek

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Marek IIRC, there is a setting 'max. file size' in Tools > Options.

      Its rather a question if such big files can be parsed properly (memory/time). Why do you edit them anyway?

      Regards

      Qt has to stay free or it will die.

      aha_1980A 1 Reply Last reply
      0
      • M Offline
        M Offline
        macfanpl
        wrote on last edited by macfanpl
        #3

        @aha_1980 Its none of you business why @Marek needs files this size..... btw 10/25 mb is far from being big.....

        And hell no, setting which you describe is not for this. Its for completely different thing: it sets max size of file that Qt will write to; after save file reaches size specifed with this option, new save file is created and _1, _2 etc is added to file's name.

        SGaistS 1 Reply Last reply
        -8
        • M macfanpl

          @aha_1980 Its none of you business why @Marek needs files this size..... btw 10/25 mb is far from being big.....

          And hell no, setting which you describe is not for this. Its for completely different thing: it sets max size of file that Qt will write to; after save file reaches size specifed with this option, new save file is created and _1, _2 etc is added to file's name.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @macfanpl you have already been warned in another thread: stay polite.

          People can make mistakes in their answer, that does not allow you to be agressive when pointing such a mistake.

          25 mega bytes for one source file is not common at all so it's a legitimate question.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          M 1 Reply Last reply
          3
          • SGaistS SGaist

            @macfanpl you have already been warned in another thread: stay polite.

            People can make mistakes in their answer, that does not allow you to be agressive when pointing such a mistake.

            25 mega bytes for one source file is not common at all so it's a legitimate question.

            M Offline
            M Offline
            macfanpl
            wrote on last edited by macfanpl
            #5

            @SGaist said in QtCreator parse large source file:

            @macfanpl you have already been warned in another thread: stay polite.

            People can make mistakes in their answer, that does not allow you to be agressive when pointing such a mistake.

            25 mega bytes for one source file is not common at all so it's a legitimate question.

            Asking what one need files for is ok for you? And how am I not polite? Im not. And what mistake are you talking about? The only one Iam ablwe to find in post #2 is being noisy. Thats, by convention, rude (or aggressive using your language).....

            Ive been warned? Yes, but what this fact has to do with this topic?

            1 Reply Last reply
            -3
            • aha_1980A aha_1980

              @Marek IIRC, there is a setting 'max. file size' in Tools > Options.

              Its rather a question if such big files can be parsed properly (memory/time). Why do you edit them anyway?

              Regards

              aha_1980A Offline
              aha_1980A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi @Marek,

              IIRC, there is a setting 'max. file size' in Tools > Options.

              Its rather a question if such big files can be parsed properly (memory/time). Why do you edit them anyway?

              I just looked it up, it's Tools > Options > C++ > Code Model > "Do not index files greated than X MB".

              Still be warned that increasing this limit may lead to excessive memory and CPU consumption.

              Regards

              Qt has to stay free or it will die.

              M 1 Reply Last reply
              3
              • aha_1980A aha_1980

                Hi @Marek,

                IIRC, there is a setting 'max. file size' in Tools > Options.

                Its rather a question if such big files can be parsed properly (memory/time). Why do you edit them anyway?

                I just looked it up, it's Tools > Options > C++ > Code Model > "Do not index files greated than X MB".

                Still be warned that increasing this limit may lead to excessive memory and CPU consumption.

                Regards

                M Offline
                M Offline
                Marek
                wrote on last edited by
                #7

                Hi @aha_1980

                Thanks for this, now files are parsed and most important when I write code in some other class I have this context menu with class members and so on.
                I'm parsing these files because it is source generated from wsdl, so there are all methods to interact with remote SOAP objects.

                Best,
                Marek

                1 Reply Last reply
                1

                • Login

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