Closed rantoniuk closed 4 years ago
What exactly is the issue, here? The explanation (and solution) was already included in the text you quoted (emphasis mine):
It is possible that the
whitespace
-package prevents the following properties from working reliably:insert_final_newline
,trim_trailing_whitespace
. You may try reconfiguring or disabling thewhitespace
‑package to solve regarding issues.
Moreover, you haven't told us anything about the affected files, or even how they're being affected…
Sorry for not stating it clearly enough, I thought that the title was descriptive enough. The problem here is that there is a warning displayed against a core built-in package - hence, no, disabling a core package is not a solution for me and I don't think that a plugin should be conflicting with core functionalities resulting in displaying a warning/error messages during startup. If you think otherwise, feel free to close as a non-bug, possibly advising how this warning can be avoided.
Atom's whitespace
package behaves differently to editorconfig
: it doesn't respect (or even acknowledge the existence of) .editorconfig
files, so when the two packages disagree about what settings to enforce for a particular editor, well… you can see how that would present a problem.
For example, given the following…
[*.foo]
insert_final_newline = false
trim_trailing_whitespace = false
# ~/.atom/config.cson
"*":
whitespace:
removeTrailingWhitespace: true
ensureSingleTrailingNewline: true
… how should trailing whitespace be handled when saving a .foo
file? Bear in mind Atom doesn't support EditorConfig, and has a different approach to syntax-specific editor-settings.
The problem here is that there is a warning displayed against a core built-in package - hence, no, disabling a core package is not a solution for me and I don't think that a plugin should be conflicting with core functionalities resulting in displaying a warning/error messages during startup.
It's also worth noting that Atom's core packages aren't infallible, and more often than not, community forks or alternatives exist to replace them. Ergo, the fact that whitespace
is a "core" package only means it's shipped with the editor and will work when booting Atom in safe mode.
1 problem affecting .editorconfig
whitespace: It is possible that the "whitespace"-package prevents the following properties from working reliably: insert_final_newline, trim_trailing_whitespace. You may try reconfiguring or disabling the "whitespace"-package to solve regarding issues.
Involved .editorconfig-files
Directory structure
irrelevant
Installed packages