Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
j. redhead edited this pageMay 14, 2024 ·12 revisions

How to propose changes to the format, including new properties and values?

To propose changes, please open an issue at theissue tracker. Then, after short discussion, we will start reviewing the format change following the rules describedhere to be voted by current board members.

My files are not automatically reformatted, the EditorConfig plugin is not working!

Existing files are not reformatted by the plugin (only newly input lines are formatted in the format given in the.editorconfig files) but if you would like to use a separate tool to do this then see the next question.

Are there any tools to check or/and reformat existing files against EditorConfig rules?

Yes! You might like to try:

You could use one of these tools to tidy up existing code in a repository, and then set it torun as a continuous integration test to ensure code stays tidy in the future, but please note that none of these tools work perfectly at the moment. In addition, aGitHub Action exists to check and enforce project style against a top-level.editorconfig usingeclint.

When using the Vim plugin, I gotE887: Sorry, this command is disabled, the Python's site module could not be loaded.

It is likely to happen on macOS with Vim and Python installed using Homebrew. It usually happens after a Python upgrade, at which time the old Vim installation does not recognize the new Python installation. To fix it, runbrew reinstall vim orbrew reinstall macvim. If it didn't help, try to recompile Vim locally runningbrew reinstall vim --with-custom-python orbrew reinstall macvim --with-custom-python. For more info, checkbrew info vim /brew info macvim.

The executable of EditorConfig core does not accept relative paths. How can I fix that?

Since EditorConfig core executables are usually not supposed to be called by humans from command line, we did not support relative paths for simplicity across all implementations of EditorConfig cores. However, if you really need to call it from the command line (e.g., for debugging), you can use the following way to call it on a POSIX system, if therealpath utility is available on your system:

editorconfig "$(realpath my-file.ext)"

or use the following command, ifrealpath is unavailable:

editorconfig "$(pwd)/my-file.ext"

The wiki is disabled from public edits due to spams. If you would like to request a change in wiki, please open anew discussion.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp