Closed Redsandro closed 5 years ago
I too have noticed this is not working. Atom 1.30.0.
Hi @mjlehrke - thanks for reporting this.
I am seeing this as well with 1.31.1 on Ubuntu Bionic, Editor config kicks in briefly for opened files but always reverts to the Atom defaults after a few seconds.
Have two project project A: php and it is a git repo project B: php and it is not git repo
In project A editorconfig works, in projectB it does not work.
In the developers tools I noted a error about missing git repo in project B. That's the moment I run git init
, reopen the current document. And all is working now.
So the workaround around is: make the project directory a git repo.
And yes I know, its not always possible to make a directory a git repo. Let's op the fix will be created soon.
HTH
Yeah, atom-editorconfig is acting off on macOS as well.
So the workaround around is: make the project directory a git repo.
It's really odd this is happening only for non-Git projects. I'm guessing the activation of a Git-related core package triggered a refresh of open editors at startup.
Anyway, the fix I've applied in 304836a isn't perfect... the flickering is still visible, but at least it settles with the correct properties applied. If anybody's still experiencing this issue, please let me know.
Since Atom upgraded to 1.3, Atom is not setting the tab width to 4 spaces anymore.
Or it does, but then it switches back. When closing and re-opening Atom, you can clearly see every tab being 2 spaces wide, switching to 4 spaces for half a second, and switching back to 2 spaces again.
It looks like something else is overruling the
atom-editorconfig
package.Anyone else experiencing this since Atom 1.3?
Involved .editorconfig-files
Installed packages