GemTalk / JadeiteForPharo

IDE for GemStone Smalltalk application development in Pharo using Rowan code management
MIT License
0 stars 0 forks source link

Startup preferences infrastructure #60

Open LisaAlmarode opened 9 months ago

LisaAlmarode commented 9 months ago

JforD has a lot of toggle settings and startup preferences. I don't find a compelling need for any of them currently... there are a lot more important things.

However, we probably eventually will want some way to set preferences on startup. This may be handled differently in a Pharo dev environment than it would be on a windows-based application; it would be nice to not have to use a file, although a file may make it easier to move from image to image. It would be good to have a design for this in place.

I suggest autocommitEnabled as a preference that would be useful and easy (you'll need something for testing with).

ericwinger commented 6 months ago

I've ported the beginnings of the JfD preferences on startup system to JfP. Several things work like opening browsers, etc. https://github.com/GemTalk/JadeiteForPharo/commit/a51f50b7e0e0f180cd9760f68e7bbb1023ed5d80

ericwinger commented 2 months ago
ericwinger commented 2 months ago
ericwinger commented 2 months ago

Preferences file was using superclass workspace file menu options it shouldn't. Ctrl-S saves locally and a local save option was added to the menu. https://github.com/GemTalk/JadeiteForPharo/commit/0ab209ee9cba6e847ddaa328dcd48b3694ca078a

Autocommit button display updates properly in console now. Preference was working but not displaying correctly.

ericwinger commented 2 months ago

I did some experimenting and was able to integrate a JfP setting into the Pharo settings browser. Pharo settings are, by default, universal to all images so (in theory) you'd just need to hit Store Settings in the Pharo browser to save the settings for all your images.

Not sure which settings are universally helpful, but autocommit is one. Need to explore further. image

ericwinger commented 1 day ago

Added open browser on class after connect setting. https://github.com/GemTalk/JadeiteForPharo/commit/7312ad0bf134b389cc847139e212a8ab82415534