Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24415

Snippets definition unclear

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.14.0-beta1
    • Qt Creator 4.13.0-beta1
    • Editors
    • None
    • All
    • 6bed13db89145cb9306f700ad56a0ef8da974aa8 (qt-creator/qt-creator/master)

    Description

      Hi!

      I am using snippets for my code completion in a plugin.

      This is very helpfull. I provide a snippet xml together with my plugin. Works fine.

      I tried to add a snippet via the gui, but the gui then refused the snippet (invalid).

      Question:

      • Wy are my snippets acceppted in xml, but not via UI?
      • Should the snippets in xml restricted to the same rule as the UI or the UI be not so restrivited

      The later solution would be the better from my point of view

      Attached my snippet xml (example).

      For explanation: The plugin is for Sphinx (Python Doc) ReST support, the snippets are (docutils) directives.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-24415
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            j.kreuzberger Joerg Kreuzberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes