lukaszlenart opened a new issue, #151:
URL: https://github.com/apache/struts-intellij-plugin/issues/151

   ## Context
   
   IntelliJ Platform **2026.3** deprecates the `com.intellij.colorSettingsPage` 
extension point. The replacement is the declarative 
`com.intellij.colorSettings` extension, which registers the page name, id, and 
order in XML. The IDE builds Settings | Editor | Color Scheme from that 
declaration and instantiates `ColorSettingsPage` only when the page is opened.
   
   The old extension still loads. It is scheduled for removal, so the OGNL page 
should move during the 2026.3 cycle (#149).
   
   Current registration in `src/main/resources/META-INF/ognl.xml`:
   
   ```xml
   <colorSettingsPage 
implementation="com.intellij.lang.ognl.highlight.OgnlColorSettingsPage"/>
   ```
   
   `OgnlColorSettingsPage` implements `ColorSettingsPage` and returns 
`OgnlLanguage.INSTANCE.getDisplayName()` from `getDisplayName()`. The page 
class can stay; only the extension registration changes.
   
   ## Proposed change
   
   Replace the `colorSettingsPage` registration in `ognl.xml` with 
`com.intellij.colorSettings`, supplying the display name, a stable id, and 
order. See [Registering a Color Settings 
Page](https://plugins.jetbrains.com/docs/intellij/color-settings-page.html) for 
the attributes supported on 2026.3, including plugins that also support earlier 
versions. This plugin's since-build will be `263` once #149 lands, so the old 
extension does not need to be kept for older IDEs.
   
   ## Acceptance criteria
   
   - [ ] `ognl.xml` no longer registers `colorSettingsPage`
   - [ ] Settings | Editor | Color Scheme | OGNL still lists the existing 
descriptors (keywords, strings, numbers, expression bounds, and the rest of 
`OgnlColorSettingsPage`)
   - [ ] Changing an OGNL color updates highlighting in an OGNL fragment
   - [ ] `CHANGELOG.md` updated
   
   ## References
   
   - [Notable changes in 2026.3 — declarative color settings 
pages](https://plugins.jetbrains.com/docs/intellij/api-notable-list-2026.html)
   - [Registering a Color Settings 
Page](https://plugins.jetbrains.com/docs/intellij/color-settings-page.html)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to