(*** This bug was imported into bugs.kde.org ***) Package: kdevelop Version: KDE 3.0.0 Severity: wishlist Installed from: RedHat RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified Snippet feature is very useful while doing some repetitive work(writing comment for a function basic program etc). CodeWright does support generic snippets which prompt the user for some input as specified in snippet and generates a specific text. For example a snippet can be /* * Function : %FUNCTION% * Description: %DESCRIPTION% */ When we run the above snippet it prompt the user for FUNCTION and DESCRIPTION and generates the following text. ( Assuming Values given b the user are 'MyFunction' and 'My Description' respectively) Output: /* * Function : MyFunction * Description: My Description */ A snippet file should describe the type of input fields and the data. From the description of input fields a form can be generated dynamically and shown to user ( or prompt for each input field wiered) (Submitted via bugs.kde.org)
Your wish is granted by Robert Gruber who wrote snippet part for KDevelop. It can be downloaded from http://kmp3indexer.sourceforge.net/misc/. Leaving this open till the release. Then snippet part will be included into KDevelop source tree.
snippet part is now in HEAD (KDE >= 3.2) branch of KDevelop.