I use Sublime text
. Now I am trying Atom
. When I save any file in sublime text it does not include any trailing blank line. But saving any file in Atom
leaves a trailing blank line. How do I force Atom
not to leave trailing white spaces?
相关问题
- How to access the camera from my Windows Phone 8 a
- Virtual Environment and Atom
- Lookbehind assertion regex in atom editor
- How to replace just one whitespace with regex in p
- Textarea Adding Space To Beginning of Text?
相关文章
- Use savefig in Python with string and iterative in
- CSS white-space nowrap not working
- Flow was not found when attempting to start Atom/N
- Removing trailing white space only for edited line
- SharedPreferences Save value of Int in a TextView
- saving pictures in Core Data in 'to-many relat
- Ruby on rails DRY strip whitespace from selective
- Saving with a JFileChooser
Go to packages and find "whitespace", go to it's settings and uncheck the last checkbox.
Settings
Checkbox
On global level this can be changed using
settings
inWhitespace
package, but if you want to disable it for a specific language you have to use syntax-scoped properties in your config.cson.To see the scope of language go to
Packages
tab and search for your language.Click on the settings of the language package and you can see the scope:
Under your Atom
Preferences
go toPackages
tab and search forwhitespace
. Click on thewhitespace
package and uncheckEnsure Single Trailing Newline
option