The Welkin Suite Forum

[Fixed] Code format doesn't handle generic type parameters nicely



[Fixed] Code format doesn't handle generic type parameters nicely

  • Please log in to reply

#1

logan.moore

    Posted 20 Jul 2015

    After pressing Ctrl+Q
     

    Lists:

    List<SObject> sObjectList;

    becomes

    List <SObject > sObjectList;


    Maps:

    Map<Id,SObject> sObjectMap;

    becomes

    Map <Id, SObject > sObjectMap;

    So at least it got the space in between "<Id," and "SObject>" :).



    5 replies to this topic

    #2

    vlgubanovich

      Posted 20 Jul 2015

      Hi logan.moore,


      Thanks for raising this with us.

      We are working at the moment to fix this issue and aim to release it with the next release.


      Thanks,

      Vladimir


      Vladimir Gubanovich
      Head of Product
       
      The Welkin Suite
      skype id: vladimir.gubanovich
      e-mail: vladimir.gubanovich@welkinsuite.com


      #3

      vlgubanovich

        Posted 24 Jul 2015

        Hi logan.moore,


        Finally we've released 0.21.6 version with fix for this issue. Hope you'll enjoy code formatting without this bug :)

        Please let me know if it works for you as you expect.



        Thanks,

        Vladimir


        Vladimir Gubanovich
        Head of Product
         
        The Welkin Suite
        skype id: vladimir.gubanovich
        e-mail: vladimir.gubanovich@welkinsuite.com


        #4

        vlgubanovich

          Posted 28 Jul 2015

          Hi logan.moore,


          We've noticed that there's still one issue left with handling generics - for example Map<Id,List<String>> is handled incorrectly.

          We'll add this as well to the current release.


          Vladimir


          Vladimir Gubanovich
          Head of Product
           
          The Welkin Suite
          skype id: vladimir.gubanovich
          e-mail: vladimir.gubanovich@welkinsuite.com


          #5

          vlgubanovich

            Posted 31 Jul 2015

            Hi,


            Finally to close all the issues with Code format we've just released fixes for 2 bugs in it's behavior. Now it should be bug-free at all.


            Thanks,

            Vladimir


            Vladimir Gubanovich
            Head of Product
             
            The Welkin Suite
            skype id: vladimir.gubanovich
            e-mail: vladimir.gubanovich@welkinsuite.com


            #6

            logan.moore

              Posted 05 Aug 2015

              Awesome Thanks, I was back in sublime for a while. Going to spend another couple of days with Welkin.



              Boost Your Productivity. Get Started Today

              Try Free Trial