ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
Komodo
Tutorials
Feature Showcase
Live Projects
Remote Files
Custom Toolbars
Directory Shortcut
Export/Import a Project Package
Filesystem in Project
Custom Keybindings
Custom Template in a Project
Preview Cascading Style Sheets
Simple Snippets
Create a Prompting Snippet
Code Completion Snippet
Break on a Variable Value
Debug an XSLT Program
Fast String Finder
Incremental Searching
The Open/Find Toolbar
Installing Extensions
Using SCC
Google Run Command
Using Interactive Shells
Test a Regular Expression

MyASPN >> Reference >> Komodo >> Tutorials >> Feature Showcase
Komodo documentation

Feature Showcase: Snippet that Prompts for Input


Create a snippet that prompts for input. This showcase uses an interpolation shortcut to prompt for a string that is interpolated into the snippet.

Before you start: If necessary, display the Toolbox tab (View|Tabs|Toolbox).

Click in the Add button to create a new snippet in the Toolbox.




Configure the snippet. The %ask segment is an interpolation shortcut that prompts for an entry when the snippet is used.




Double-click the snippet. A dialog box is displayed prompts for the "Company Name" value.




The value is interpolated into the comment configured in the snippet.



Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved