Skip to content

Incompatible changes in 2021.x #7

Description

@devemlight

When importing .itermcolors color scheme I got an error in the logs saying:

2022-02-17 01:11:34,285 [  44093]  ERROR - tellij.openapi.util.ObjectTree - 'com.intellij.openapi.editor.colors.TextAttributesKey com.intellij.execution.process.ColoredOutputTypeRegistry.getAnsiColorKey(int)' 
java.lang.NoSuchMethodError: 'com.intellij.openapi.editor.colors.TextAttributesKey com.intellij.execution.process.ColoredOutputTypeRegistry.getAnsiColorKey(int)'
	at TerminalColorSchemeImporter.createItermcolorsMap(TerminalColorSchemeImporter.java:217)

Looks like API has been changed for 2021.x versions:

com.intellij.execution.process.ColoredOutputTypeRegistry.getAnsiColorKey(int) method removed

Use com.intellij.execution.process.ColoredOutputTypeRegistryImpl.getAnsiColorKey(int) instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions