Plugin Icon else
  • Formatting

dprint

0 загрузок
Обновлено:
8 месяцев назад
Версия:

0.9.1

Обзор
Версии

Обзор

This plugin adds support for dprint, a flexible and extensible code formatter (dprint.dev). Please report bugs and feature requests to our github.

N.B. Currently only UTF-8 file formats are supported correctly.

To use this plugin:

  • Install and configure dprint for your repository, dprint.dev/setup
  • Configure this plugin at Preferences -> Tools -> dprint.
    • Ensure Enable dprint is checked
    • To run dprint on save check Run dprint on save.
    • To enable overriding the default IntelliJ formatter check Default formatter override. If a file can be formatted via dprint, the default IntelliJ formatter will be overridden and dprint will be run in its place when using Option+Shift+Cmd+L on macOS or Alt+Shift+Ctrl+L on Windows and Linux.
    • To enable verbose logging from the underlying dprint daemon process check Verbose daemon logging
    • If your dprint.json config file isn't at the base of your project, provide the absolute path to your config in the Config file path field, otherwise it will be detected automatically.
    • If dprint isn't on your path or in node_modules, provide the absolute path to the dprint executable in the Executable path field, otherwise it will be detected automatically.
  • Use the "Reformat with dprint" action by using the "Find Action" popup (Cmd/Ctrl+Shift+A).
  • Output from the plugin will be displayed in the dprint tool window. This includes config errors and any syntax errors that may be stopping your file from being formatted.

This plugin uses a long-running process known as the editor-service. If you change your dprint.json file outside ofIntelliJ or dprint is not formatting as expected, run the Restart dprint action. If you need to reset all settingsto defaults, use the Reset to Defaults button in Preferences -> Tools -> dprint. This will reset allconfiguration values and restart the editor service.

The plugin supports both dprint schema v4 and v5 and will automatically detect the appropriate version based on your dprint installation.

Please report any issues with this Intellij plugin to thegithub repository.

Версии

Версия
Диапазон совместимости
Дата обновления
2026
0.9.1
251.0+
18.01.2026
Скачать
2025
0.8.4
241.0+
25.06.2025
Скачать
Plugin ID:
com.dprint.intellij.plugin
icon