Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-108566

As a fragment developer, I would like to have autocomplete in the Fragment editor for the variables and taglibs available

Details

    Description

      Currently, freemarker fragments are available to use in master, however there are no ways for the user to be able to easily find out available objects to use such as themeDisplay, etc. The goal of this story is to solve this by providing auto-complete for:

      1. Variables when the developer types ${
      2. Taglibs when the developer types [@
      3. Resources when the developer types [resources:

       

      Test Scenarios

      Test Scenarios Test Strategy Kind of test Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd ? (unit or integration)
      When type ${ in HTML section, the IntelliSense containing available variables popups and Auto-Complete works Smoke Manual No No
      When type [@ in HTML section, the IntelliSense containing available taglibs popups and Auto-Complete works Smoke Manual No No
      When type [resources: in HTML section of fragment, the IntelliSense containing available resources only from current collection popups and Auto-Complete works Smoke Manual No No
      If current collection doesn't has resources, when type [resources: in HTML section of fragment, the IntelliSense won't popup Sanity Manual No No
      When type ${@[ and [resources: in CSS, JavaScript and JSON sections, the IntelliSense won't popup Regression Manual No No
      When type <lfr in HTML section, the IntelliSense containing available <lfr> tags popups and Auto-Complete works Regression Manual No No

      Attachments

        Issue Links

          Activity

            People

              pavel.savinov Pavel Savinov (Inactive)
              pavel.savinov Pavel Savinov (Inactive)
              Pavel Savinov Pavel Savinov (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master