clutcher / bh

Issue tracker for Better Highlights Intellij IDEA plugin
6 stars 0 forks source link

ability to export/import settings #117

Closed DenniLa2 closed 1 month ago

DenniLa2 commented 2 months ago

Ру: Привет! Благодарю за один из трех моих самых любимых плагинов! Добавь, плз, возможность экспорта / импорта настроек и возможность хранить их в .editorconfig файле.

En: Hi there! Thank you for creating one of my three favorite plugins! Could you please add the ability to export/import settings and the ability to store them in an .editorconfig file?

njki commented 1 month ago

I want it too.

clutcher commented 1 month ago

@DenniLa2 You can use out of the box Intellij functionality to import/export settings.

  1. File->Manage IDE Settings->Export Settings
  2. Put checkboxes for:
    1. ComplexityConfiguration - cognitive complexity settings
    2. HighlightTokenConfiguration - list of highlight tokens settings(keyword/comment...)
    3. Editor Colors and Editor Colors (schemes) - color configuration for highlight tokens
    4. TokenSeverityConfiguration - severity configuration for highlight tokens
    5. WikilinkConfiguration - wikilink settings
  3. Press "OK" to create .zip file with settings

For import use File->Manage IDE Settings->Import Settings

@DenniLa2 Can you explain more about .editorconfig? Are you suggesting to read settings from it? Right now I don't see much value from that, as it would have value only if devs of similar plugin in other editors would support same settings scheme. Also I don't see any default settings of editorconfig for highlight configuration, so I would need to define a new standard and somehow coordinate with similar plugin devs to have some generic and consistent edirotconfig settings (not sure that I want to do that at all).

FYI: @njki

Upd: Created a separate page on marketplace with that information - https://plugins.jetbrains.com/plugin/12895-better-highlights/settings-import-export