Hi, is there an easy way to enable/disable GTSpotter in Pharo 4 ? In GTInspector I think there is a class variable but I don't see something like that in GTSpotter. -- Cyril Ferlicot (cyril.ferlicot@synectique.eu) http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu? At the moment, this is not possible. May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem. Cheers, Doru
On Nov 18, 2015, at 12:18 PM, Ferlicot D. Cyril <cyril.ferlicot@gmail.com> wrote:
Hi,
is there an easy way to enable/disable GTSpotter in Pharo 4 ? In GTInspector I think there is a class variable but I don't see something like that in GTSpotter.
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu)
165 Avenue Bretagne Lille 59000 France
-- www.tudorgirba.com "Not knowing how to do something is not an argument for how it cannot be done."
I do not think is a problem but if you want to distribute a desktop app you might want to disable it, so I think is a good think to have a setting for it. cheers, Esteban
On 18 Nov 2015, at 09:25, Tudor Girba <tudor@tudorgirba.com> wrote:
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu?
At the moment, this is not possible.
May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem.
Cheers, Doru
On Nov 18, 2015, at 12:18 PM, Ferlicot D. Cyril <cyril.ferlicot@gmail.com> wrote:
Hi,
is there an easy way to enable/disable GTSpotter in Pharo 4 ? In GTInspector I think there is a class variable but I don't see something like that in GTSpotter.
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu)
165 Avenue Bretagne Lille 59000 France
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
On 18-11-15 13:30, Esteban Lorenzano wrote:
I do not think is a problem but if you want to distribute a desktop app you might want to disable it, so I think is a good think to have a setting for it
Ahem. Why would a setting be helpful for a desktop application? You might want to unload Spotter, or only load a specific group. I don't see this use case. Stephan
Le 18/11/2015 13:25, Tudor Girba a écrit :
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu?
At the moment, this is not possible.
May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem.
The problem is that I want a desktop application. With the spotter we can access to the code, so I just want to disable it when we are not in development mode. We can add a setting to Pharo 5 but in Pharo 4 there is no easy way to disable it. I think we should also add an easy way to create a deployment image directly inside Pharo.
Cheers, Doru
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu) http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
Hi, Ok, for that problem we already have a solution provided by the Keymapping engine: (KMRepository default globalCategories detect: [ :each | each isKindOf: GTSpotterGlobalShortcut ]) allEntries keymaps do: #disable Cheers, Doru
On Nov 18, 2015, at 1:38 PM, Ferlicot D. Cyril <cyril.ferlicot@gmail.com> wrote:
Le 18/11/2015 13:25, Tudor Girba a écrit :
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu?
At the moment, this is not possible.
May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem.
The problem is that I want a desktop application.
With the spotter we can access to the code, so I just want to disable it when we are not in development mode.
We can add a setting to Pharo 5 but in Pharo 4 there is no easy way to disable it.
I think we should also add an easy way to create a deployment image directly inside Pharo.
Cheers, Doru
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu)
165 Avenue Bretagne Lille 59000 France
-- www.tudorgirba.com "Reasonable is what we are accustomed with."
On 18 Nov 2015, at 09:50, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
Ok, for that problem we already have a solution provided by the Keymapping engine:
(KMRepository default globalCategories detect: [ :each | each isKindOf: GTSpotterGlobalShortcut ]) allEntries keymaps do: #disable
thatâs a workaround, not a solution :) (Iâm ok if thatâs the way to do it in Pharo4⦠I will still add a setting in Pharo5) cheers, Esteban
Cheers, Doru
On Nov 18, 2015, at 1:38 PM, Ferlicot D. Cyril <cyril.ferlicot@gmail.com> wrote:
Le 18/11/2015 13:25, Tudor Girba a écrit :
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu?
At the moment, this is not possible.
May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem.
The problem is that I want a desktop application.
With the spotter we can access to the code, so I just want to disable it when we are not in development mode.
We can add a setting to Pharo 5 but in Pharo 4 there is no easy way to disable it.
I think we should also add an easy way to create a deployment image directly inside Pharo.
Cheers, Doru
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu)
165 Avenue Bretagne Lille 59000 France
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
Le 18/11/2015 13:56, Esteban Lorenzano a écrit :
thatâs a workaround, not a solution :) (Iâm ok if thatâs the way to do it in Pharo4⦠I will still add a setting in Pharo5)
cheers, Esteban
Thank you Doru. I opened a bug entry to get a easier way to do it and to add it to the settings. -- Cyril Ferlicot (cyril.ferlicot@synectique.eu) http://www.synectique.eu 165 Avenue Bretagne Lille 59000 France
Le 18/11/15 13:56, Esteban Lorenzano a écrit :
On 18 Nov 2015, at 09:50, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
Ok, for that problem we already have a solution provided by the Keymapping engine:
(KMRepository default globalCategories detect: [ :each | each isKindOf: GTSpotterGlobalShortcut ]) allEntries keymaps do: #disable thatâs a workaround, not a solution :) (Iâm ok if thatâs the way to do it in Pharo4⦠I will still add a setting in Pharo5)
And a unload method.
cheers, Esteban
Cheers, Doru
On Nov 18, 2015, at 1:38 PM, Ferlicot D. Cyril <cyril.ferlicot@gmail.com> wrote:
Le 18/11/2015 13:25, Tudor Girba a écrit :
Do you mean that you want to have a different search solution when you press Shift+Enter or when you select it from the World menu?
At the moment, this is not possible.
May I ask where is the problem coming from? Perhaps there are things we can do to solve your problem.
The problem is that I want a desktop application.
With the spotter we can access to the code, so I just want to disable it when we are not in development mode.
We can add a setting to Pharo 5 but in Pharo 4 there is no easy way to disable it.
I think we should also add an easy way to create a deployment image directly inside Pharo.
Cheers, Doru
-- www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
-- Cyril Ferlicot (cyril.ferlicot@synectique.eu)
165 Avenue Bretagne Lille 59000 France
-- www.tudorgirba.com
"Reasonable is what we are accustomed with."
participants (5)
-
Esteban Lorenzano -
Ferlicot D. Cyril -
Stephan Eggermont -
stepharo -
Tudor Girba