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. [SOLVED] Qt Creator spelling checker
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt Creator spelling checker

Scheduled Pinned Locked Moved Qt Creator and other tools
13 Posts 5 Posters 6.2k 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.
  • M Offline
    M Offline
    Magnum
    wrote on last edited by
    #1

    Hi,

    I'd like to know if Creator is able to warn me when I misspell a method.

    For example, If I write the following It doesn't warn me about "setlayout".

    @ setlayout(mainLayout);@

    Is there anyway to enable this?

    Regards.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Magnum
      wrote on last edited by
      #2

      Does nobody have the same problem?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        While typing, you get a list of suggestions (after a little delay, or when hitting CTRL+space). That can help you in this case. For the rest, I appreciate it that Creator does not think it knows better than me what I'd like to type. Case is very relevant in C++...

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Magnum
          wrote on last edited by
          #4

          I agree with you but sometimes It would be great to have some visual indicator to realize when you misspelled a word and not to have to wait up to compilation to see it.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            raaghuu
            wrote on last edited by
            #5

            If this were so, it would get irritating very soon... Ex. - setText() and setTime() could be treated as mis-spelt and a warning pops up
            It would be difficult to implement an acceptable version of such a feature

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Magnum
              wrote on last edited by
              #6

              I mean It could warn you when you've wrote some method that is not declared(or inherited) in the class.

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

                How about setting up a different font/color/etc. for functions? Then the functions that are recognized use the new style and those that are not stay with the default.

                Just go to Tools->Options->Text Editor->Font & Color and change the settings (you will need to copy the default set op colors first as those are read-only).

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Magnum
                  wrote on last edited by
                  #8

                  I'm not sure how to do that. For example this methods have the same colors:

                  @ nameLabel->setBuddy(nameEdit);
                  nameLabel->setbuddy(nameEdit);@

                  but the second one doesn't exists, how can I change this behavior ?
                  That's what I'm looking for.

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

                    Just change the color for "Function" to be different from the default settings.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Magnum
                      wrote on last edited by
                      #10

                      "Function" doesn't appear in the list. I'm using qcreator 2.5.

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tucnak
                        wrote on last edited by
                        #11

                        There can be problems which are really more important than yours.

                        As for example - there is one problem for russian-speaking countries.

                        We have letter "а" which is really similar to latin "a" - so when it appears in code - it can cause many problems..

                        P.S. You are developer - you and only you must control your code. Qt Creator just helps you.

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

                          Hmmm... "Function" is definitely there in master:-) I currently do not have a 2.5 around to check, but I would be surprised if this was a recent addition.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            Magnum
                            wrote on last edited by
                            #13

                            I've tested it and that's what I was looking for. It doesn't appear in qtcreator 2.5.

                            Thanks.

                            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