vsc-expressionengine
🚀 The ultimate ExpressionEngine CMS extension for Visual Studio Code ✨ Now with updated EE6 support! Generate Add-onsIntelliSense and Syntax HighlightingGetting StartedStep 1: Setup your ExpressionEngine paths. By default, this extension assumes the directory to your add-ons and template files will be based on a fresh install of an ExpressionEngine site. Example: If you have changed your projects directory structure you have the option to override this within your user settings.json file. Just include the ${workspaceFolder} variable at the beginning of your definition so the project's path you currently have open within the workspace will be dynamically resolved.
The above example would resolve to something like: 📘 Note: Only one workspace is supported at this time. In order to run commands properly, you will need to open additional sites within separate windows. Step 2: Make sure to update your user settings.json to include the extensions language identifier for both ExpressionEngine and HTML files so that Emmet can autocomplete properly.
CommandsAll commands start within the
📘 Note:
When creating template variables or partials you can omit the 🔺 Known Limitations: After creating either a template, variable or partial you can still delete it from the sidebar tree in your editor as long as you don't refresh your local site either in the Control Panel or the front-end as this will cause EE to pull the latest files and sync to the database. The best option for deleting or renaming your files is likely best done within the Control Panel. Customizing ColorsYou can customize your active color theme by adding the
View the full list of available scope names to override. SettingsThis extension contributes the following variables to the settings:
SnippetsHere is a list of the most useful snippets to help you quickly set up your templates.
📘 Note: The $1 symbol denotes where the cursor position will be placed when the snippet is triggered and the next steps as you tab through. To trigger path and route variables within an anchor tag href string you should add the following to your user settings.json file to allow for IntelliSense in strings. This will provide you with a list of auto-completions.
Development Roadmap
DocumentationView the full wiki to learn about all the available options. Contributors Welcome!If you find a bug or something that could be improved upon, please let us know or submit a PR. Issues and PRs will be reviewed as soon as they can. Your support is very much appreciated! Pull Request GuidelinesIf you are planning to make significant changes to the code or add a major feature, please check the following first:
We do not want to reject a pull request that had major effort or work involved because the guidelines above were not followed or the wrong approach was made. Enjoy! DisclaimerThis is an unofficial Visual Studio Code Extension and is in no way affiliated, sponsored by or approved by Packet Tide, the makers of ExpressionEngine CMS. The ExpressionEngine mark is owned and registered by Packet Tide. |