The Welkin Suite Forum

Don't Show Code Completion when typing plain text literals



Don't Show Code Completion when typing plain text literals

  • Please log in to reply

#1

al.hotchkiss

    Posted 09 Jan 2017

    Hello,

    In an Apex class, when I type a single quote (') and start typing some literal text, the code completion list keeps popping up trying to offer suggestions.

    For example, typing this: 

    System.assertEquals('the sky is 

    results in the code completion list popping up after typing the ' and as I type each word of text.

    Since I am not typing code, this is unnecessary and always auto-selects an incorrect word from the list when i press spacebar when typing a sentence.  This is making the product nearly unusable for me.

    Can you please fix this?  I don't feel it is necessary to provide code completion when typing literal text within single quotes or comments.

    As a suggestion, when I enter a quote (') I would like to see the ending quote (') immediately auto-inserted with the cursor placed before it so that all I have to do is type the text within it.  I believe this is how most text editors like Sublime Text handles things.

    Thank you,

    Al



    3 replies to this topic

    #2

    kate.dulko

      Posted 10 Jan 2017

      Hi Al,


      Thank you for your contacting us with this information and for the detailed description of the issue you are faced with.


      The verification for a literal text isn't yet implemented in a frame of improving the Code Completion functionality. Our developers will work on this soon.

      Right now, as a workaround, you can disable the preselection option for Code Completion suggestions. This is available for you in the next way: Main Menu -> Tools -> Options -> Text Editor -> Code Assistance, in the Code Completion section you can find the 'Preselect Completions in Completion List' item. Please disable it, if this workaround is acceptable for you.


      If you have any additional questions or suggestions, please contact us. We will be happy to assist.

      Regards,

      Kate




      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      al.hotchkiss

        Posted 10 Jan 2017

        Thank you for the suggestion.  FYI - I also had to remove the single quote (') from the list of characters in the "Commit completion by typing following characters" field as typing the ending quote was causing an item from the Completion List to be selected.



        #4

        kate.dulko

          Posted 11 Jan 2017

          Hi Al,


          Thank you for your update.

          I'm glad that there are acceptable for you workarounds to use the IDE till our developers will work on implementing the required by you functionality.

          Please let us know, if you would have any other questions.


          Regards,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            





          Boost Your Productivity. Get Started Today

          Try Free Trial