Note: See
./src/main/resources/META-INF/change-notes.html
for all further changelog details.
-
Automatic error reporting feature implemented. All plugin's exceptions that are occurring within IntelliJ IDE can now be reported within the IDE. The issues will be added to a specific repository (https://github.com/Grav-IntelliJ-Plugin/GravSupport-Plugin-BugTracker) dedicated for automatic error reports. Additional user requests can be still submitted to the original issue tracker (https://github.com/PioBeat/GravSupport).
-
Improved notifications: Warnings are shown when PHP version does not match the Grav requirements for:
- Actions (Create Grav Theme) and Devtool plugin installation
- Create New Grav Project wizard updated. Layout is more clear now.
- Fixed some bugs concerning the detection whether Grav's devtool plugin is being installed correctly or not.
- "Create Theme" action should work now correctly again. Moreover, folder is refreshed afterwards. Prior to that, the folder has to be manually synchronized.
- Bugfixes in the Create New Grav Project wizard
- Compatibility Fix: Plugin works now for the latest IDEA platforms: 182-183.*
- Grav Tool Window is getting deactivated when plugin is disabled for the current project and vice versa
- Disabled the "create src and test directory" option in the project wizard: will be removed in the future
- Latest Grav versions are now retrieved from Github directly
- Minor user interface improvement in the Create Project wizard
- Plugin works now for the latest IDEA platforms
Bugfix release
- Grav versions 1.3.3 - 1.3.8 can now be downloaded in the new project wizard
- ToolWindow icon size is now 13x13 as recommended in
openapi.wm.impl.ToolWindowImpl
- Language Editor will only be opened if the plugin is enabled in the Settings for the current project.
- Last valid used Grav installation path is now saved in PhpStorm (like in the Community Edition) when creating a new project.
- Grav-ToolWindow: fixed a writing issue when changing to another project. Reason: the old component listeners were still attached when the old project was disposed.
- Language file editor
- Remove Key Feature: delete a key for all languages (right click on the first column -> Delete)
- Jump To Key Feature: right click on a key -> Jump To Key jumps to the specific offset in the yaml file
- if you add a key when a specific language is opened via the tabbedpane then the dialog will use this language as preset
- used
SingleRootFileViewProvider
inLanguageFileViewProvider.java
instead ofMultiplePsiFilesPerDocumentFileViewProvider
(Closes issue #3)
- Simply switch to the template from a content page. The filename of
the
.md
file is evaluated as well as thetemplate
variable in the header of the markdown file. You will find an Twig icon on the gutter and provides navigation to the related template files.
Minor update
- no duplicate Grav entries anymore in the New Project Wizard
- Project Wizard
- select Grav release version when downloading Grav in the project wizard
- decide if you want to create a
src/test
directory or not within the project base dir
- New Twig intention
- convert HTML
src
andhref
links into theme resource links
Example
Before:<img src="assets/img/picture.png"/>
After:<img src="{{ url("theme://assets/img/picture.png") }}"/>
- convert HTML
- New IntelliJ tool window for displaying and configuring basic
Grav system files. Currently supported is only
system/config/system.yaml
. This window offers an overview of the possible settings of those config files.
The relevant component of the tool window will be disabled if a settings value couldn't be found in the config file.
Hint the tool window shows the settings only for the first opened project. No multi project support for this version available
- basic project settings dialog in IntelliJ settings menu for a project
- improvements for Grav "Plugin and Theme Language Translations" files:
language file editor supports now
languages.yaml
file in theme directory (see https://learn.getgrav.org/content/multi-language#plugin-and-theme-language-translations to check what options you have for a multi-language website) - change language in add-dialog of the language file editor
- better viewing experience for language file editor by adding a horizontal scrollbar
- PhpStorm: include path of Grav is added to the PHP settings
- projects settings: added information about src/test directory
- smaller bugfixes regarding the language file editor
- solve problems opening the language files in the system directory
- actions now visible in PhpStorm
- install Devtools plugin when creating new project
GravProjectSettings
is now correctly acquired viaServiceManager
when Grav Php project is created
- language file editor (works only properly for theme language directory not inside the system directory)
- Language selection in "Add new key value pair" dialog
- Pretty print for sequence values
- PhpStorm support
- create new Grav project (File -> New Project ...)
- colors are now set correctly when values are missing in the language file editor
Initial project start
Grav version support: 1.3.1
-
Create new theme from Tools Menu or when a module is selected (Right mouse button -> New -> Grav Create Theme) A dialog opens and then a theme will be created with the details provided and the help of the plugin script (bin/plugin)
-
Create
blueprints.yaml
and<theme-name>.yaml
when right clicking on a theme directory -
basic language file editor for a theme language directory. The language directory with its language yaml file is responsible for this
- Tabular overview of all keys for different languages possible (no editing yet in the table)
- Comfortable switching between all languages through the tabs at the bottom
- add a new key-value pair through a dialog
-
Settings menu (application wide)
- set default directory for Grav downloads
-
Icons and recognition of grav specific config files
- if the language file editor shows wrong results try to close and reopen it. If no language file editor is shown: this is because a language yaml is opened. Close it and reopen the file. If the language file editor is opened, manually made changes in the languages files are not updated automatically in the table. Close and reopen the editor.