question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EditorConfig Eclipse not working on Windows

See original GitHub issue

As mentioned in the Installation Steps, I installed the plugin.

My .editorconfig looks like this:

root = true


[*]

# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

I copied this file in my project root directory. Then I clicked on Source -> Format. It changed the indent_style from space to tab; however, as mentioned in editorconfig this Format option should let it be on space style.

Is there any other setting I need to do?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ncjonescommented, Mar 15, 2017

I’ll try to reproduce this issue on a Windows VM and get back to you.

0reactions
ptheoharcommented, Apr 13, 2018

In Eclipse Oxygen make sure to uncheck the setting “Enable project specific settings” and use work space settings, otherwise Editor Config will not be applied. I have windows and that was the reason that the plugin was not working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

457046 – Support .editorconfig (editorconfig.org) - Bugs
Hi, I'm studying the capability to support .editorconfig inside Eclipse IDE by playing ... What do you think are the most critical issues...
Read more >
how to apply .editorconfig to existing project in intellij
In the 1:Project sidepane, right click on the folder you want to apply the .editorconfig to (e.g. the root folder of your project);...
Read more >
EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >
EditorConfig | IntelliJ IDEA Documentation - JetBrains
If anything is not defined in .editorconfig or other .editorconfig files located in parent directories, it's taken from the current code ...
Read more >
EditorConfig Basics: Installing (Part 1/3) - YouTube
Want more? Explore the library at https://www.codecourse.com/lessonsOfficial sitehttps://www.codecourse.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found