Skip to content

Instantly share code, notes, and snippets.

@macta
Forked from Uko/completion.st
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save macta/0c66beca3a34499bd96b to your computer and use it in GitHub Desktop.
Save macta/0c66beca3a34499bd96b to your computer and use it in GitHub Desktop.
Example prefs for Pharo. Files should reside in ~/Library/Preferences/pharo/
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Code completion setings'
code: [
NECPreferences
enabled: true;
popupShowAutomatic: true;
useController: NECController;
popupShowWithShortcut: Character space shift ]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Dark theme setup'
code: [
MCRepositoryGroup default
addRepository: (MCSmalltalkhubRepository
owner: 'estebanlm'
project: 'Pharo3DarkTheme').
Gofer it
smalltalkhubUser: 'estebanlm' project: 'Pharo3DarkTheme';
package: 'Pharo3DarkTheme';
merge.
Pharo3DarkTheme installFullTheme.
"Uncoment to also load Heaven's Sotnya background image
World
backgroundImage: (ZnEasy getPng: 'https://dl.dropboxusercontent.com/s/d60mtq71ex743ma/Sotnya-Zhuravel-inv-des.png')
layout: #scaledAspect;
color: (Color gray: 0.372)" ]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Fonts setup'
code: [
FreeTypeSystemSettings loadFt2Library: true.
FreeTypeFontProvider current updateFromSystem.
StandardFonts
setAllStandardFontsTo: (LogicalFont familyName: 'Lucida Grande' pointSize: 10);
haloFont: (LogicalFont familyName: 'Lucida Grande' pointSize: 8);
windowTitleFont: (LogicalFont familyName: 'Lucida Grande' pointSize: 12) forceBold;
balloonFont: (LogicalFont familyName: 'Lucida Grande' pointSize: 8);
codeFont: (LogicalFont familyName: 'Menlo' pointSize: 10) ]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Instaling DFlow'
code: [
Gofer new
smalltalkhubUser: 'RobertoMinelli' project: 'DevFlow';
package: 'ConfigurationOfDevFlow';
load.
(Smalltalk at: #ConfigurationOfDevFlow) perform: #loadAsUser.
DFSettings exportPath: '/Users/Uko/Dropbox/DFlow-users/Uko'
]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'PersonalSettings'
code: [ Author fullName: 'YuriyTymchuk' ]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'ShoreLine-Reporter Installer'
code: [
Gofer it
smalltalkhubUser: 'dalsat' project: 'ShoreLine-Reporter';
configuration;
load.
(Smalltalk at: #ConfigurationOfShoreLineReporter) load.
"Setting Reporter configuration - uncomment the ones that you need"
SlReporter enabled: true.
SlReporter autoSubmit: true.
SlReporter showSummary: false.
SlReporter showNotification: true ]
runOnce: true
}
StartupLoader default executeAtomicItems: {
StartupAction
name: 'Set tools to use'
code: [ SpecDebugger registerToolsOn: Smalltalk tools ]
runOnce: true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment