Comments (3)
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.
from atom-editorconfig.
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…
from atom-editorconfig.
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.
from atom-editorconfig.
Related Issues (20)
- Unmaintained HOT 12
- Uncaught TypeError: wrapGuide.updateGuide is not a function HOT 14
- new
- Multi-page HOT 5
- [Blocked by Atom] Ability to apply corresponding settings for code blocks in Markdown HOT 11
- Accommodating language-specific rules, config, and scopes HOT 2
- Option to preserve whitespace on cursor on autosave HOT 4
- Multiple paths unsupported? HOT 4
- Developer should have a preference for disabling "newline conversion on save" feature HOT 3
- The editor doesn't follow the .editorconfig options HOT 11
- EditorConfig does not report any file inconsistencies based on the configuration file HOT 4
- Unrecognized declaration name `max_line_length` HOT 3
- unset means atom-editorconfig is not influencing a property's behaviour.
- Peanut butter sandwich is on *rye* bread, not white bread.
- tab_width is being replaced with indent_size HOT 1
- Move to GitHub Actions HOT 3
- EditorConfig does not fix tabs in files. HOT 2
- Atom HOT 1
- Wrong EditorConfig highlighting for inline comment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-editorconfig.