https://bugs.kde.org/show_bug.cgi?id=366809

            Bug ID: 366809
           Summary: undelete "Display Prefix", "Display Arguments" and
                    "Display Postfix"
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: plugin-snippets
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: zmi...@gmail.com

I am missing additional meta fields in current snippets plug-in.

Deletion of additional  meta fields "Display Prefix", "Display Arguments" and
"Display Postfix" is a HUGE step backward in the functionality.  In previous
version of snippets plug-in it was possible to create groups of similar
snippets with single name "class" and additional comments  using  "Display
Prefix", "Display Arguments" and "Display Postfix" meta fields (if one has
snippets with similar keyword name but with slightly different functional
purpose), e.g. :
class X
class X // but with my default constructor
enhanced class X // but using inheritance from Y

where class is in name, X is in arguments, enhanced is in prefix and comments
are in postfix fields (or any other combination) and I used them intensively to
add explanations what each snippet does exactly.

Such named fields were visible in the code completion preview mode during
typing in the name "class" and one was able to select readily the right one
from the sublist.

Now this all is gone and there is no way to add any visible comment to snippet.
Moreover, one is forced to write such_ugly_and _different_names of snippets,
because the only "name" field doesn't allow to add even spaces! 

class_X
class_X_with_default_constructor
enhanced_class_X_with_default_constructor

Snippets plug-in should give overview of snippets and not only create a list of
names. I agree that this is ok if you have about 20 snippets, you can overview
all of them.  But if one has a library with about 1000 snippets with many
groups of  5-20 snippets with the same keyword name?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to