DevTools Workspace

Many of the features of the DevTools can be turned off and on using the code in the supplied DevTools.wsb file. It is presented here in a modified form to provide links back to the documentation for each feature.

"To reconfigure the key mappings for the different text editors,
select the following lines and pick 'do it' from the pop-up menu.
All open text editors will be updated with the changed keymaps.
For more information see: Keystroke remapping"

ParagraphEditor mapKeystrokes.
TextEditorController mapKeystrokes.
InputBoxController mapKeystrokes.

“To remap the Ctrl+c keystroke to something other than the ‘break’ function
select the following line and pick ‘do it’ from the pop-up menu.
This key value can be changed to any that matches the programmer’s need.
For more information see InputState class>>interruptKeyValue: and the
documentation for Special Key combinations in the Keystroke remapping."

InputState interruptKeyValue: ( TextConstants at: #Ctrlb ).

"To change the default sort that is to be used when a SortedInspector is opened,
select any of the following lines and pick 'do it' from the pop-up menu.
For more information see the documentation for the Sort menu in SortedInspector"

SortedInspector defaultSortIsHierarchy. "Instance variables are sorted while listing the inherited class Hierarchy."
SortedInspector defaultSortIsAlpha. "Instance variables are sorted alphabetically."
SortedInspector defaultSortIsNone. "Instance variables are sorted like the standard inspector."


"To change the speed of the scroll bars, select the following
lines and pick 'do it' from the pop-up menu.

Note: These changes will only work on windows that have been opened after the
DevTools have been loaded. For more information see the documentation for the
ScrollBar speed governor and the DevToolsScrollingApp."

EmulationScrollBarControllerWithGovernor pageDelay: 400.
EmulationScrollBarControllerWithGovernor lineDelay: 120.


"===== Browsing Options ======="

"To change any of the default browsing options, modify its true or false value,
select the line and pick 'do it' from the pop-up menu.
The default value of all these options is true.“

"This flag controls whether or not to automatically select a specified
method when opening class or class hierarchy browsers.
For more information see senders of DevToolsBrowsingApp>>autoSelectFirstMethod,
and the documentation for the Browse menu in SortedInspectors, documentation
for the browse method menu item on the Code view subpane menu in the TextEditor
Keystroke remapping, documentation for the browse class and browse hierarchy
menu items in the Methods browser, documentation for the browse class and
browse hierarchy menu items in the Application Manager and documentation for
the method call... menu item on the Paste Special Menu in the
Text Editor pop-up menus."

DevToolsBrowsingApp autoSelectFirstMethod: true.

"This flag controls whether or not new browser windows should be opened
near each other. (cascaded)
For more information see senders of DevToolsBrowsingApp>>cascadeBrowserWindows
and the documentation for Cascading Browser Windows."

DevToolsBrowsingApp cascadeBrowserWindows: true.


"This flag controls whether or not, when versioning a class, to check and
see if there are any methods in the 'As yet unassigned' protocol.
For more information see senders of
DevToolsBrowsingApp>>checkForUnclassifiedMethods and documentation for the
check of unclassified methods in the Application Manager."

DevToolsBrowsingApp checkForUnclassifiedMethods: true.

"This flag controls whether or not double clicking in some methods will
bring up a browser on the selected item.
For more information see senders of
DevToolsBrowsingApp>>doubleClickToBrowseClass, documentation for the Application
and Class version comments browsers associated with the Application Manager,
documentation for the Subpane Menu associated with the TextEditor keystroke
remapper, and documentation for the double clicking on methods feature in the
Methods list pane pop-up menu in the Methods Browser."

DevToolsBrowsingApp doubleClickToBrowseClass: true.


"This flag controls whether or not double clicking in class methods will
bring up a spec editor on the selected item.
For more information see senders of DevToolsBrowsingApp>>doubleClickToEditSpec
and documentation for the double clicking on class methods feature in the
Methods list pane menu in the Class Hierarchy Browser."

DevToolsBrowsingApp doubleClickToEditSpec: true.


"This flag controls whether or not notations should be made in an applications
version comments each time it is loaded in the image.
For more information see senders of
DevToolsBrowsingApp>>logApplicationLoad and documentation for
the load menu in the Application pane pop-up menu in the Application Manager.“

DevToolsBrowsingApp logApplicationLoad: true.


"This flag controls whether or not notations should be made in a config map‘s
comments each time it is loaded in the image.
For more information see senders of DevToolsBrowsingApp>>logConfigMapLoad
and documentation for the load menu item in the Editions and Versions pane
pop-up menu in the Config Maps Browser"

DevToolsBrowsingApp logConfigMapLoad: true.


"This flag controls whether or not to show the 'browse receiver hierarchy'
menu item on the debugger context menu.
For more information see senders of
DevToolsBrowsingApp>>showBrowseHierarchyMenuItem and documentation for the
browse receiver hierarchy menu item in the Context list pane pop-up menu in
the PDP Debugger."

DevToolsBrowsingApp showBrowseHierarchyMenuItem: true.


"This flag controls whether or not to show the 'browse version comments' menu
item on the application and class menus.
For more information see senders of
DevToolsBrowsingApp>>showBrowseVersionCommentsMenuItem and documentation for
the Application and Class pane pop-up menus in the Application Manager and
the documentation for the browse editions comments menu item in the
Applications pane pop-up menu in the Config Maps Browser."

DevToolsBrowsingApp showBrowseVersionCommentsMenuItem: true.


"This flag controls whether or not to show the 'find' menu item on the config map
browser main menu.
For more information see senders of
DevToolsBrowsingApp>>showFindApplicationInConfigMapMenuItem and documentation for
the find... menu item in the Names pane pop-up menu in the Configuration Maps
Browser."

DevToolsBrowsingApp showFindApplicationInConfigMapMenuItem: true.


"This flag controls whether or not to show the 'browse all instances' menu item in
class hierarchy browsers.
For more information see senders of
DevToolsBrowsingApp>>showInspectAllInstancesMenuItem and documentation for
the inspect all instances menu item in the Class pane pop-up menu in the
Class Hierarchy browser."

DevToolsBrowsingApp showInspectAllInstancesMenuItem: true.


"This flag controls whether or not to show the 'reset list' menu item in class
hierarchy browsers.
For more information see senders of
DevToolsBrowsingApp>>showResetHierarchyMenuItem and documentation for
the reset list menu item in the Class pane pop-up menu in the
Class Hierarchy browser."

DevToolsBrowsingApp showResetHierarchyMenuItem: true.


"This flag controls whether or not to show the 'find string...' menu item in
application manager browsers.
For more information see senders of
DevToolsBrowsingApp>>showSearchApplicationsMenuItem and documentation for
the find string... menu item in the Applications pane pop-up menu in the
Application Manager."

DevToolsBrowsingApp showSearchApplicationsMenuItem: true.


"This flag controls whether or not to show the 'find next scratch edition' menu
item in application manager browsers.
For more information see senders of
DevToolsBrowsingApp>>showSearchForScratchEditionsMenuItem and documentation for
the find next scratch edition menu item in the Applications pane pop-up menu in the
Application Manager."

DevToolsBrowsingApp showSearchForScratchEditionsMenuItem: true.


"This flag controls whether or not to show the 'version | name each with comments ...'
menu item in application manager browsers.
For more information see senders of
DevToolsBrowsingApp>>showVersionWithCommentsMenuItem and documentation for
the Application and Class pane pop-up menus in the Application Manager."

DevToolsBrowsingApp showVersionWithCommentsMenuItem: true.


"===== Editing Options ======="

"To change any of the default editing options, modify its true or false value,
select the line and pick 'do it' from the pop-up menu.
The default value of all these options is true.


"This flag controls whether or not to automatically copy the text of a 'do it',
'inspect it', ect... to the stack in the paste history buffer.
For more information see senders of DevToolsEditingApp>>copyDoItsToPasteHistory
and documentation for the do it, print it or inspect menu items
in the Text Editor pop-up menus."

DevToolsEditingApp copyDoItsToPasteHistory: true.


"This flag controls whether or not to show the 'browse ...' sub menu item on
the text pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showBrowseMenuItem
and documentation for the Browse Menu in the Text Editor pop-up menus
and the browse menu in the Workspace Browser changes."

DevToolsEditingApp showBrowseMenuItem: true.


"This flag controls whether or not to show the 'copy method call' menu item on
the method list pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showCopyMethodCallMenuItem,
documentation for the copy method call menu item in the Methods list pane pop-up
menu in the Class Hierarchy Browser and documentation for the copy method call menu
item in the Methods list pane pop-up menu in the Methods Browser."

DevToolsEditingApp showCopyMethodCallMenuItem: true.


"This flag controls whether or not to show the 'debug it...' menu item on the
text pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showDebugItMenuItem
and documentation for the debug it... menu item in the Text Editor pop-up menus."

DevToolsEditingApp showDebugItMenuItem: true.


"This flag controls whether or not to show the 'font' sub menu item on the text
pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showFontMenuItem
and documentation for the Font Menu in the Text Editor pop-up menus."

DevToolsEditingApp showFontMenuItem: true.


"This flag controls whether or not to show the 'map keystrokes...' menu item on
the text pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showMapKeystrokesMenuItem
and documentation for the map keystrokes... menu item in the Text Editor pop-up
menus."

DevToolsEditingApp showMapKeystrokesMenuItem: true.


"This flag controls whether or not to show the 'paste special' submenu item on
the text pane pop-up menu.
For more information see senders of DevToolsEditingApp>>showPasteSpecialMenuItem
and documentation for the Paste Special Menu in the Text Editor pop-up menus."

DevToolsEditingApp showPasteSpecialMenuItem: true.


"===== Smaller screens ===== "

"To reset the default window size for *all* the the Browser windows,
select the following lines and pick 'do it' from the pop-up menu.
For more information see senders of EtBrowser class>>defaultWindowSize
and the documentation for Initial browser window size."

EtBrowser withAllSubclasses do: [ :aBrowserClass | aBrowserClass defaultWindowSize: ( 700 @ 500 ). ].

"To change the default window size for just one of the
browsers, then substitute the class name in the following line
and pick 'do it' from the pop-up menu."

EtClassesBrowser defaultWindowSize: ( 700 @ 500 ).



"===== Larger screens ===== "

"To reset the default window size for *all* the the Browser windows,
select the following lines and pick 'do it' from the pop-up menu.
For more information see senders of EtBrowser class>>defaultWindowSize
and the documentation for Initial browser window size."

EtBrowser withAllSubclasses do: [ :aBrowserClass | aBrowserClass defaultWindowSize: ( 1000 @ 700 ). ].

"To change the default window size for just one of the
browsers, then substitute the class name in the following line
and pick 'do it' from the pop-up menu."

EtClassesBrowser defaultWindowSize: ( 1000 @ 700 ).

[ < Keystroke Methods Documentation ]

[ Main ] [ Table of Contents ] [ Contact info ] [ Index ]

[ Home ]

This work is licensed under a Creative Commons License.

Creative Commons License