You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
use command 'EditorConfig: Generate Config' to generate config file.
Atom Version: 1.8.0 System: Mac OS X 10.11.5 Thrown From: editorconfig package, v1.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'removeTrailingWhitespace' of undefined
At /Users/santanajames/.atom/packages/editorconfig/commands/generate.js:40
TypeError: Cannot read property 'removeTrailingWhitespace' of undefined
at atom-workspace.init (/Users/santanajames/.atom/packages/editorconfig/commands/generate.js:40:45)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
This is the final reorder of the PRs around the next minor release fulfilling containing the following changes:
* Clicking in the statusbar-icon displays a notification, showing the currently applied config and helpful tips if something seems misconfigured (fixes#89)
* Added clickable statusbar-icon to reflect the state of atom-editorconfig for the currently displayed TextBuffer
* Editing `.editorconfig`-files from within Atom now reapplies the settings to all open editors (fixes#85)
* The `trim_trailing_whitespace`-property is now implemented (fixes#3)
* The `insert_final_newline`-property is now implemented (fixes#4)
* The `generate`-command now uses `config.get()` to fetch the defaults for `trim_trailing_whitespace` and `insert_final_newline` (fixes#94)
* The `tab_width`-property now falls back to `indent_size` if missing (fixes#91)
This PR takes the PRs #104 & #102 over.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Mac OS X 10.11.5
Thrown From: editorconfig package, v1.4.1
Stack Trace
Uncaught TypeError: Cannot read property 'removeTrailingWhitespace' of undefined
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: