Changelog
2023.1.2
2023-04-02
- Removed connection manager timeout from AEM connection configuration
- Changed
data-sly-*
attributes highlighting color in the Light theme - Changed dispatcher
allow
/deny
types highlighting colors
NullPointerException
is thrown when an empty array or list is typed in a Felix Configuration file- FileVault Inlay Hints configuration cannot be persisted
- FileVault features are executed for regular XML files under JCR roots
- Custom HTL scripting variables disappear after the plugin update
2023.1.1
2023-03-20
- Update icons to match the New UI
No accessors or field is found for property var AemServers.connectTimeoutInSeconds: Int
thrown when AEM Servers setting opened in 2021.3IllegalStateException: Index is not created for 'filetypes'
thrown during reparsing AEM files- XML files under JCR roots are detected as FileVault content files
- Directories under JCR roots have Java package icons
2023.1
2023-03-12
- AEM content synchronization (pushing)
- Refreshed logo
- AEM Version notification is not shown on project open
Slow operations are prohibited on EDT
thrown after modifying AEM settings
- Dropped support for 2020.3, 2021.1, 2021.2
2022.4.5
2023-02-03
- "Copy Path/Reference... | Path From JCR Root" label is not displayed
2022.4.4
2023-01-19
- Felix Configuration parser issues:
• Allow empty arrays and lists
• Allow trailing commas
• Allow no values
• Allow escaping regular characters
2022.4.3
2023-01-18
- Intention preview generation issues
- Felix Configuration parser issues:
• Add support for multiline strings
• Report unescaped=
2022.4.2
2022-10-28
- Incorrect default injection strategy calculated when static import is used for
REQUIRED
/OPTIONAL
enum - Change "Abstract @Model class" inspection's level to warning and highlighting target to annotation
- Syntax error in Dispatcher Config when
$include
term is followed by properties
2022.4.1
2022-10-22
- FileVault files structure not available in the Structure tool window
- Only HTML files are reparsed when a directory is marked/unmarked as JCR Root
- Assertion failed: Directory index can only be queried after project initialization
2022.4
2022-11-14
Sling Models
- Inferring nullity (
@Nullable
/@NotNull
) of injected elements - Suppressing "Unused symbol" and "Field is never assigned" warnings for injected elements and
@PostConstruct
methods - Inspections:
•@Model
-annotated class is abstract or not public
• Missing or empty injection name in a required context (e.g. constructor parameter)
• Injection annotations used on a non-@Inject
constructor parameters
• Invalid injection target (e.g. a final field)
• Multiple@Inject
constructors
• Multiple inject annotations applied on a member
• Redundant@Required
/@Optional
•@SlingObject
,@OSGiService
, and@Default
annotations usage correctness
• Request-specific injections used in a model not adaptable fromServletRequest
OSGi
- Suppressing "Unused symbol" and "Field is never assigned" warnings for OSGi component injected references and lifecycle methods (OSGi DS and Felix SCR annotations)
- Support for Felix Configuration files (
*.config
):
• syntax validation and highlighting
• auto-completion
• Sling paths completion, references, and refactoring support
• code inspections
Other
- Complete Sling Model adapter interfaces/classes in
data-sly-use
- The
data-sly-use
values are completed without a significant lag - Grouped all plugin inspections in "AEM" group
- Proofreading inspection descriptions
in
keyword reported as unsupported in HTL 1.4- FileVault namespace used in the node name is reported as unused and removed by code formatter
- Dispatcher Config environment variable highlighting throws
StringIndexOutOfBoundsException
- Assertion failed: Directory index can only be queried after project initialization
- Invalid family names of inspection and annotator fixes
2022.3.6
2022-08-09
- FileVault files structure not available in the Structure tool window
2022.3.5
2022-07-30
- Optimize inspections and highlighting
2022.3.4
2022-07-21
java.lang.RuntimeException: java.lang.NoSuchFieldException: ALIGN_EXPRESSION_OPTIONS
2022.3.3
2022-07-17
- Assertion failed: Directory index can only be queried after project initialization
- Environment variables in dispatcher config include terms (e.g.
$include "path/to/file_${VAR}.any"
) cause errors
2022.3.2
2022-07-05
- AEM settings page cannot be open
2022.3.1
2022-07-03
- HTL formatter and code style configuration
- Unwrapping
java.util.Optional
in HTL expressions
2022.2.2
2022-05-13
- Java packages not completed in
data-sly-use
blocks
2022.2.1
2022-04-29
- Indexing exceptions ("No such file or directory" and similar)
- IDE freezes in projects with deep directories structures
2022.2
2022-04-08
- Maven: AEM Project Archetype provider
2022.1
2022-03-19
Dispatcher Config files (*.any
/*.farm
) support:
- Syntax validation and highlighting
- Auto-completion
- References and refactoring support
- Code inspections
- Code blocks folding
- Code formatting
Other:
- AEM version set to 6.5 by default when new project opened
- Libraries update
- Performance optimizations
- Deprecated API usages removal
- Highlighting colors leak to the previous/next tokens
Cannot bind to FileVaultFile:anyNodeFile.xml
NoSuchElementException: Array contains no element matching the predicate
- Support for IntelliJ Platform 2019.3
2021.1.3
2021-09-15
java.lang.NoClassDefFoundError: com/intellij/psi/PsiMethod
in WebStorm
2021.1.2
2021-07-04
- Sling resources paths references search optimization
java.lang.Throwable: Slow operations are prohibited on EDT. See SlowOperations.assertSlowOperationsAreAllowed javadoc.
in IDEA 2021.2 EAP
2021.1.1
2021-06-05
java.lang.IllegalStateException: this.virtualFile must not be null
2021.1
2021-05-18
FileVault .content.xml
files support:
- Syntax validation and highlighting
- Auto-completion (Sling resources paths and types)
- References and refactoring support
- XML and HTML entities folding (eg.
<p>
is displayed as<p>
) - Property types folding
- Implicit types hints (disabled by default)
- Inspection: Forbidden XML characters
- Inspection: Ignored property (eg.
jcr:created
) - Inspection: Generated property (eg.
jcr:lastModified
) - Inspection: Redundant property type (eg.
{Name}
injcr:primaryType
) - Inspection: Incorrect property type
- Inspection: Missing primary type
- Inspection: Missing namespace declaration
- Inspection: Invalid namespace mapping (when wrong namespace prefix is used for a given namespace)
- Inspection: Unused namespace
FileVault filter.xml
files support:
- Auto-completion (Sling resources paths and types)
- References and refactoring support
- Default filter mode hint (disabled by default)
- Injecting regular expression language to
include
/exclude
attributes - Inspection: Ignored filter entry (when
include
/exclude
patterns are covered by the following patterns) - Inspection: Invalid filter root or pattern
- Inspection: Redundant mode (for
mode="replace"
defined explicitly) - Inspection: Unreachable pattern (when
include
/exclude
patterns cannot be matched under a given root)
Other:
java.lang.ArrayIndexOutOfBoundsException
in custom HTL scripting variables panel
- Support for IntelliJ Platform: 2018.2, 2018.3, 2019.1, 2019.2
2020.3.4
2020-11-15
- Inspection: use property syntax for variable property access (eg.
${page.title}
instead of${page.getTitle}
)
- Java usages not found/highlighted in HTL when in the same project, but not in dependencies
2020.3.3
2020-10-19
- Sling resource references in WebStorm throw
java.lang.NoClassDefFoundError: com/intellij/ide/highlighter/JavaFileType
- Parsing invalid paths on Windows throws
java.nio.file.InvalidPathException
2020.3.2
2020-10-18
- HTL files reparsed for a disposed project, resulting in throwing "XYZ is already disposed"
- Incorrect completions and references for upper-case properties, eg. "ID" in "Tag.getID()"
2020.3.1
2020-10-06
- XSS-related inspections in HTL
- Sling resource paths references support in HTL, Java, XML and JSON
- Java classes and templates paths references support in HTML attributes and HTL strings
- Custom script bindings/global objects support in HTL
- Quick documentation support for Java members in HTL
- Documentation support for
data-sly-template
- Documentation support for HTL block variables
- References for
data-sly-template
parameters - Complete all HTL expression options in second completion invocation
- Rewritten all HTL docs for easier understanding
- IDE restart is not required after changing AEM or HTL version
- Java class members completed multiple times if contained also in parent classes
- Only clicked HTL variable occurrence is highlighted, when value is evaluated from expression
- HTL variables members not resolved after variable renaming
- 0.0000... is no more falsy in "Unnecessary 'data-sly-unwrap' block" inspection
- Support for IntelliJ Platform 2018.1