From 8f21debd834fa1f242fa233ac07a6eac075d0c05 Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Wed, 31 Oct 2018 09:39:34 +0100 Subject: [PATCH] Add templates from other repository https://github.com/staempfli/magento2-phpstorm-templates --- fileTemplates/2M PHTML.phtml | 5 + fileTemplates/2M XML.xml | 3 + fileTemplates/2M composer.json | 17 + fileTemplates/2M js-class.js | 2 + fileTemplates/2M registration Module.php | 6 + fileTemplates/includes/stmpfl_header_js.js | 6 + fileTemplates/includes/stmpfl_header_php.php | 6 + fileTemplates/includes/stmpfl_header_xml.xml | 9 + .../includes/stmpfl_variables.txt.dist | 2 + fileTemplates/internal/PHP Class.php | 13 + templates/StmpflMagento2.xml | 780 ++++++++++++++++++ 11 files changed, 849 insertions(+) create mode 100644 fileTemplates/2M PHTML.phtml create mode 100644 fileTemplates/2M XML.xml create mode 100644 fileTemplates/2M composer.json create mode 100644 fileTemplates/2M js-class.js create mode 100644 fileTemplates/2M registration Module.php create mode 100644 fileTemplates/includes/stmpfl_header_js.js create mode 100644 fileTemplates/includes/stmpfl_header_php.php create mode 100644 fileTemplates/includes/stmpfl_header_xml.xml create mode 100644 fileTemplates/includes/stmpfl_variables.txt.dist create mode 100644 fileTemplates/internal/PHP Class.php create mode 100644 templates/StmpflMagento2.xml diff --git a/fileTemplates/2M PHTML.phtml b/fileTemplates/2M PHTML.phtml new file mode 100644 index 0000000..a57bfd1 --- /dev/null +++ b/fileTemplates/2M PHTML.phtml @@ -0,0 +1,5 @@ + diff --git a/fileTemplates/2M XML.xml b/fileTemplates/2M XML.xml new file mode 100644 index 0000000..fb284b3 --- /dev/null +++ b/fileTemplates/2M XML.xml @@ -0,0 +1,3 @@ +#parse("stmpfl_variables.txt") +#parse("stmpfl_header_xml.xml") + diff --git a/fileTemplates/2M composer.json b/fileTemplates/2M composer.json new file mode 100644 index 0000000..b430c0b --- /dev/null +++ b/fileTemplates/2M composer.json @@ -0,0 +1,17 @@ +{ + "name": "${COMPOSER_NAME}", + "description": "${DESCRIPTION}", + "require": { + "php": "~5.6.0|~7.0.0" + }, + "type": "magento2-module", + "license": [ + "BSD-3-Clause" + ], + "autoload": { + "files": [ "registration.php" ], + "psr-4": { + "${NAMESPACE}\\\\${MODULE_NAME}\\": "" + } + } +} \ No newline at end of file diff --git a/fileTemplates/2M js-class.js b/fileTemplates/2M js-class.js new file mode 100644 index 0000000..22d7333 --- /dev/null +++ b/fileTemplates/2M js-class.js @@ -0,0 +1,2 @@ +#parse("stmpfl_variables.txt") +#parse("stmpfl_header_js.js") diff --git a/fileTemplates/2M registration Module.php b/fileTemplates/2M registration Module.php new file mode 100644 index 0000000..b9adaca --- /dev/null +++ b/fileTemplates/2M registration Module.php @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/fileTemplates/includes/stmpfl_variables.txt.dist b/fileTemplates/includes/stmpfl_variables.txt.dist new file mode 100644 index 0000000..9ecd774 --- /dev/null +++ b/fileTemplates/includes/stmpfl_variables.txt.dist @@ -0,0 +1,2 @@ +#set($company = "") +#set($userEmail = "") \ No newline at end of file diff --git a/fileTemplates/internal/PHP Class.php b/fileTemplates/internal/PHP Class.php new file mode 100644 index 0000000..c80af63 --- /dev/null +++ b/fileTemplates/internal/PHP Class.php @@ -0,0 +1,13 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file