Functionality of the QA Code Critic in the QA Code Formatter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Functionality of the QA Code Critic in the QA Code Formatter

Niklas Fleig
Hallo all,
So I was wondering the QA Code Critic can detect for example unnecessary parenthese or missing cascades, is there a way to format them via the QA Code Formatter. Maybe with some custom formatting rules?
And if so, how can I implement them?

So for example this method:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATsAAACiCAYAAAA+wmr4AAAVA0lEQVR4Ae2du44jNxaGlTieeF9Ajif2GxhQNrFfwZEAOxvAgRMHExibLGBhkoWx6US7wMZ20At4H8HAZk6cTMzFIfnzWqXRpdVVEj8DHkl1IQ8/Hv79k9Vib/78809n/5366i/mHwhAAAJ3RmBj8SJ0d9ZrhAsBCJxNYHOq0Om6s2tY8oanvdtuNm6z3bunF47jab91G6t7s3G7w7WVH9zOl7VzdVE6Huqxurb7l25p27Ynt99aPFt3aSglOzFMrwv0ZdtCPt8ngYdydoddM8gWEzsN+ChCV6udRK0QO7UtCqrEALGbHogS0Ku7Yrp4jt4BgQdydhKYwlFIEF7aDaje3W7GkZ2bGa3Yqa2taz24/aV26tyQZq9XbEU/zF77qRPPV1b4QfgcLvtTMXN+rQQud3Ya0CYkh12aspXOQgnWu44iiQ9hqqn79BM43FMMGNWxO7h8jc5LDPJ0bmM/wmdirH+6N/eWJ1VndE+K0TnFH+trxFTx2fViUBY7dX6zKVybZUtR93a/r0UznWvuKbJMdYi956Hz4iJXWASneGv+DaN2ilqWt9tPTGOP8CrvtXiKWDJn9XNsQHNP7hfr8rx8YG3YHZq6rY6mv4SF18cmcLmzU8Jtt2FdTAMnDYSJJEvrVzq3dVu/vhPWmtpEDQMuDmgN8LY+n7jtYIyDZjZGicTEfVr30r2pXVoPU+yFsFaDVOfjAFXcxSBWO7fbemCmgT5Rd8lC96frJ3K0Fq0QaxCFiTbH2Pp7Yhsm4znOMK/ZiccUr/lYQpN0byF2k7FExybWR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LXuL5XP7hnFTtN8dJr46LseCmIhdiEZCnEKk5b7QFIKSKlwPi2p7o0rVadjTObEruZOlLiFufLenW+PVbGqWt4xUE9Yg6swNkViSV35tfmemdXdsBzObtTXI0JRLrumNhFcfryp0IA07HQzuPicr7YVUJsbsrii+Jcxe2dVl/+8XiKvsGp4dTuPAcWcXZ+QKZfAcnT2OTsXoV1OU1b8/F+PS9NfSWUZ0xj//BrWnJV8wPbuzG5u0+InW9b4wYrN3W0zl6MOsEqnFuIv/xVleZ+i/XV6Wt2VTvvPLHLH4y8n8/tkdgs4+yqxfxW7PIanXVEJ3hRzC5ydnFNrFqk94Kg6WSesprIpKeYSZgtaYKg5DJqFxfO1wJaiZ2JyEydPvF0rnoaW/xScSl2VpYXzxyr1gaVxF7ANG3+xNNYxA5RUN484usyzq5Z03pEsHfRJhNWOVacHNPUB8+BhZyd/QQ1R1ROwfip+qICeXQ6TV+8aF88uMisheVizm4tAIgDYSMHxsiBBZ3dGIAZSPQzObCOHLjY2Q2xaT2NhAAEHobAxc7uYQjQEAhAYAgCOLshuplGQgACODtyAAIQGIIAzm6IbqaREIAAzo4cgAAEhiCAsxuim2kkBCCAsyMHIACBIQjg7IboZhoJAQjg7MgBCEBgCAI4uyG6mUZCAAI4O3IAAhAYggDObohuppEQgADOjhyAAASGIICzG6KbaSQEIICzIwcgAIEhCODshuhmGgkBCODsyAEIQGAIAji7IbqZRkIAAjg7cgACEBiCAM5uiG6mkRCAAM6OHIAABIYggLMboptpJAQggLMjByAAgSEI4OyG6GYaCQEI4OzIAQhAYAgCOLshuplGQgACODtyAAIQGIIAzm6IbqaREIAAzo4cgAAEhiCAsxuim2kkBCCAsyMHIACBIQj8H1jGyxnpN+ThAAAAAElFTkSuQmCC" alt="" data-atf="true">
should be formatted like this: 
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAR8AAADHCAYAAAAgTVe7AAATxklEQVR4Ae2drdLjxhKGTYKD9wYUfPDewVaZBecWggzCtio3sCA4rmX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EEAAjMJoHxmgqIZBCCwLAGUz7I8sQYBCMwkgPKZCYpmEIDAsgRQPsvyxBoEIDCTAMpnJiiaQQACyxJA+SzLE2sQgMBMAiifmaBoBgEILEsA5bMsT6xBAAIzCaB8ZoKiGQQgsCwBlM+yPLEGAQjMJIDymQmKZhCAwLIEUD7L8sQaBCAwkwDKZyYomkEAAssSQPksyxNrEIDATAIon5mgaAYBCCxL4P89Xx/J8f/k5AAAAABJRU5ErkJggg==" alt="" data-atf="true">

 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/73693d6e-057c-46f7-9199-9c28bade8441n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Functionality of the QA Code Critic in the QA Code Formatter

Niklas Fleig
Sorry here is the example: 

self testMethod.
self testMethod.
self testMethod.
self testMethod.
(self testMethod).

should be formatted like this: 

self 
        testMethod;
testMethod;
testMethod;
testMethod;
testMethod;
yourself
Niklas Fleig schrieb am Mittwoch, 25. November 2020 um 16:31:58 UTC+1:
Hallo all,
So I was wondering the QA Code Critic can detect for example unnecessary parenthese or missing cascades, is there a way to format them via the QA Code Formatter. Maybe with some custom formatting rules?
And if so, how can I implement them?

So for example this method:
should be formatted like this: 


 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/3f83a1e6-6ade-4aa5-99bd-29f46d64cfc4n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Functionality of the QA Code Critic in the QA Code Formatter

Mariano Martinez Peck-2
Hi Niklas,

In my opinion, that is more of a refactor than a formatting issue. You may want to look at the Refactoring Browser and things like the rewrite rules for that... but I am not even sure if that will help you. See attached examples for that. 

Cheers, 
 

On Wed, Nov 25, 2020 at 12:38 PM 'Niklas Fleig' via VA Smalltalk <[hidden email]> wrote:
Sorry here is the example: 

self testMethod.
self testMethod.
self testMethod.
self testMethod.
(self testMethod).

should be formatted like this: 

self 
        testMethod;
testMethod;
testMethod;
testMethod;
testMethod;
yourself
Niklas Fleig schrieb am Mittwoch, 25. November 2020 um 16:31:58 UTC+1:
Hallo all,
So I was wondering the QA Code Critic can detect for example unnecessary parenthese or missing cascades, is there a way to format them via the QA Code Formatter. Maybe with some custom formatting rules?
And if so, how can I implement them?

So for example this method:
should be formatted like this: 


 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/3f83a1e6-6ade-4aa5-99bd-29f46d64cfc4n%40googlegroups.com.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibHU2UwQ9EeWkJWGm8Qh3MhOdxOtkNcDkchd0xs1UC86mw%40mail.gmail.com.

Screen Shot 2020-11-27 at 11.56.28 AM.png (185K) Download Attachment
Screen Shot 2020-11-27 at 12.04.37 PM.png (196K) Download Attachment