[Pharo-project] Cmd-t in OB?
hi! When I press cmd-t in an ob browser in the class category pane, I get a window titled "Selected Command". I would expect executing the test of the class category. I tried to find out where the "Selected Command" command is defined with: OBCommand allSubclasses select: [:c | c new keystroke = $t ] => an OrderedCollection(OBCmdRunTests) But apparently only running the test is associated to Cmd-t. Isn't that convenient to be able to run the test from a class category? Cheers, alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Update, this has been fixed half a year ago :-) Lukas On 8 October 2010 14:58, Alexandre Bergel <alexandre@bergel.eu> wrote:
hi!
When I press cmd-t in an ob browser in the class category pane, I get a window titled "Selected Command". I would expect executing the test of the class category.
I tried to find out where the "Selected Command" command is defined with: OBCommand allSubclasses select: [:c | c new keystroke = $t ] => an OrderedCollection(OBCmdRunTests)
But apparently only running the test is associated to Cmd-t. Isn't that convenient to be able to run the test from a class category?
Cheers, alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
I did a "ConfigurationOfOmnibrowser project lastVersion load" Apparently ConfigurationOfOmnibrowser is not maintained... Cheers, Alexandre On 8 Oct 2010, at 09:03, Lukas Renggli wrote:
Update, this has been fixed half a year ago :-)
Lukas
On 8 October 2010 14:58, Alexandre Bergel <alexandre@bergel.eu> wrote:
hi!
When I press cmd-t in an ob browser in the class category pane, I get a window titled "Selected Command". I would expect executing the test of the class category.
I tried to find out where the "Selected Command" command is defined with: OBCommand allSubclasses select: [:c | c new keystroke = $t ] => an OrderedCollection(OBCmdRunTests)
But apparently only running the test is associated to Cmd-t. Isn't that convenient to be able to run the test from a class category?
Cheers, alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I don't know, I do not maintain them. I just realize that people often report bugs that have been fixed a long time ago. I suggest that you always load the latest code using the following script: "Refactoring" Gofer new squeaksource: 'rb'; package: 'AST-Core'; package: 'AST-Semantic'; package: 'Refactoring-Core'; package: 'Refactoring-Changes'; package: 'Refactoring-Critics'; package: 'Refactoring-Environment'; package: 'Refactoring-Spelling'; load. ! "OmniBrowser" Gofer new renggli: 'omnibrowser'; package: 'OmniBrowser'; package: 'OB-Standard'; package: 'OB-Morphic'; package: 'OB-Shout'; package: 'OB-Refactory'; package: 'OB-Regex'; package: 'OB-SUnitIntegration'; load. ! "Tools" Gofer new renggli: 'unsorted'; package: 'Shout'; package: 'ShoutWorkspace'; package: 'RoelTyper'; package: 'ECompletion'; package: 'ECompletionOmniBrowser'; load. ! "Select Tools" SystemBrowser default: (Smalltalk at: #OBSystemBrowserAdaptor). Lukas On 8 October 2010 15:09, Alexandre Bergel <alexandre@bergel.eu> wrote:
I did a "ConfigurationOfOmnibrowser project lastVersion load" Apparently ConfigurationOfOmnibrowser is not maintained...
Cheers, Alexandre
On 8 Oct 2010, at 09:03, Lukas Renggli wrote:
Update, this has been fixed half a year ago :-)
Lukas
On 8 October 2010 14:58, Alexandre Bergel <alexandre@bergel.eu> wrote:
hi!
When I press cmd-t in an ob browser in the class category pane, I get a window titled "Selected Command". I would expect executing the test of the class category.
I tried to find out where the "Selected Command" command is defined with: OBCommand allSubclasses select: [:c | c new keystroke = $t ] => an OrderedCollection(OBCmdRunTests)
But apparently only running the test is associated to Cmd-t. Isn't that convenient to be able to run the test from a class category?
Cheers, alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
Ok, thanks Alexandre On 8 Oct 2010, at 09:22, Lukas Renggli wrote:
I don't know, I do not maintain them.
I just realize that people often report bugs that have been fixed a long time ago.
I suggest that you always load the latest code using the following script:
"Refactoring" Gofer new squeaksource: 'rb'; package: 'AST-Core'; package: 'AST-Semantic'; package: 'Refactoring-Core'; package: 'Refactoring-Changes'; package: 'Refactoring-Critics'; package: 'Refactoring-Environment'; package: 'Refactoring-Spelling'; load. ! "OmniBrowser" Gofer new renggli: 'omnibrowser'; package: 'OmniBrowser'; package: 'OB-Standard'; package: 'OB-Morphic'; package: 'OB-Shout'; package: 'OB-Refactory'; package: 'OB-Regex'; package: 'OB-SUnitIntegration'; load. ! "Tools" Gofer new renggli: 'unsorted'; package: 'Shout'; package: 'ShoutWorkspace'; package: 'RoelTyper'; package: 'ECompletion'; package: 'ECompletionOmniBrowser'; load. ! "Select Tools" SystemBrowser default: (Smalltalk at: #OBSystemBrowserAdaptor).
Lukas
On 8 October 2010 15:09, Alexandre Bergel <alexandre@bergel.eu> wrote:
I did a "ConfigurationOfOmnibrowser project lastVersion load" Apparently ConfigurationOfOmnibrowser is not maintained...
Cheers, Alexandre
On 8 Oct 2010, at 09:03, Lukas Renggli wrote:
Update, this has been fixed half a year ago :-)
Lukas
On 8 October 2010 14:58, Alexandre Bergel <alexandre@bergel.eu> wrote:
hi!
When I press cmd-t in an ob browser in the class category pane, I get a window titled "Selected Command". I would expect executing the test of the class category.
I tried to find out where the "Selected Command" command is defined with: OBCommand allSubclasses select: [:c | c new keystroke = $t ] => an OrderedCollection(OBCmdRunTests)
But apparently only running the test is associated to Cmd-t. Isn't that convenient to be able to run the test from a class category?
Cheers, alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
El vie, 08-10-2010 a las 15:22 +0200, Lukas Renggli escribió:
I don't know, I do not maintain them.
I just realize that people often report bugs that have been fixed a long time ago.
I suggest that you always load the latest code using the following script:
"Refactoring" Gofer new squeaksource: 'rb'; package: 'AST-Core'; package: 'AST-Semantic'; package: 'Refactoring-Core'; package: 'Refactoring-Changes'; package: 'Refactoring-Critics'; package: 'Refactoring-Environment'; package: 'Refactoring-Spelling'; load. ! "OmniBrowser" Gofer new renggli: 'omnibrowser'; package: 'OmniBrowser'; package: 'OB-Standard'; package: 'OB-Morphic'; package: 'OB-Shout'; package: 'OB-Refactory'; package: 'OB-Regex'; package: 'OB-SUnitIntegration'; load. ! "Tools" Gofer new renggli: 'unsorted'; package: 'Shout'; package: 'ShoutWorkspace'; package: 'RoelTyper'; package: 'ECompletion'; package: 'ECompletionOmniBrowser'; load. ! "Select Tools" SystemBrowser default: (Smalltalk at: #OBSystemBrowserAdaptor).
Please don't. This is not the way to go. That is the reason of Metacello and the correct way is to ask the maintainer of the Configuration to update it. This kind of scripts are good in the short term but in the long term they are bad for the users themselves and for the developers. Why? Because this script will work for the pharo that is current right now. Even so, it couldnt work in other pharo versions that are in the wild now like Pharo 1.0. When Pharo 1.9 is out and some newbie search the lists, he/she will try blindly to evaluate that code and more surely won't work, because it will be diverged a lot between now and Pharo 1.9. That is exactly the same what happens in Squeak, where the list is plaged with hundreds of such scripts that aren't working anymore in the newest Squeak versions. Dale is working in providing a standardized #bleedingEdge functionality to the Metacello configs, so that there is a explicit way to ask for the very latest package of a given software, while, at the same time, permiting to designate stable and functional versions for each Pharo release. TL;DR :) Use it just for getting the very last version of OB but don't think that this will always work for every Pharo release in the future. Cheers -- Miguel Cobá http://miguel.leugim.com.mx
participants (3)
-
Alexandre Bergel -
Lukas Renggli -
Miguel Cobá