View Source

From Sugar Labs
Jump to navigation Jump to search

The source code of Sugar Activities is always at most one key-stroke away (Shift-Alt-V). It is also available from a submenu of an Activity's instance on the Sugar Frame.

The source code is displayed in an Alert window.

View Source: duplicate option for an activity

094 Duplicate activity.png

There is an option to duplicate an activity has been added to the View Source alert. By selecting this option, a copy of the activity is created in the user's $HOME/Activities directory. Thus we hope to encourage Sugar users to make modifications and improvements to the code they use without the risk of breaking the original activity. Try the Develop activity!

View Source for sugar-toolkit

094 View source toolkit.png

An option to display the source code of the toolkit is to be added to the View Source alert.