[Pharo-users] file-dialog
Hi everyone, I've been working to "rescue" the new file-dialog originally published by Peter Uhnak with additions of other contributors. This should load in Pharo 10 and 11: https://github.com/hernanmd/file-dialog One thing I've been doing is trying to use it a little bit to evaluate its usability and add details to improve the filters, make all tests pass and minor issues for example. As you can see there are some layout alignment details left, but they are not so important as to make the dialog unusable. Cheers, Hernán
[Pharo-users] Is there a pragma to disable a critic for a particular method?
Hello Everyone, While I take the critiques seriously, there are times when I will intentionally disregard a specific warning. In these cases, in other languages, I have found it useful to indicate that I am disregarding a warning by adding a pragma to disable that particular warning. I have been looking for similar functionality in Pharo. I found an old (circa 2009) reference to and pragmas, but those seem to no longer work. Is there currently a way to disable a specific warning in a method? Thank you, Eric
[Pharo-users] Re: Is there a pragma to disable a critic for a particular method?
Hello, I don't know about any pragma, but you can deactivate the lint rule to only one method. You need to click on the "x" that is next to the name of the rule and then select the option that you prefer. This will create a Manifiesto class that contains the information of which rules to ban on to which context. Cheers, Sebastian Jordan > De: "Eric Merritt" > À: "pharo-users" > Envoyé: Mercredi 31 Août 2022 15:18:07 > Objet: [Pharo-users] Is there a pragma to disable a critic for a particular > method? > Hello Everyone, > While I take the critiques seriously, there are times when I will > intentionally > disregard a specific warning. In these cases, in other languages, I have found > it useful to indicate that I am disregarding a warning by adding a pragma to > disable that particular warning. I have been looking for similar functionality > in Pharo. I found an old (circa 2009) reference to and > pragmas, but those seem to no longer work. > Is there currently a way to disable a specific warning in a method? > Thank you, > Eric