Open RaDeleon opened 8 years ago
I can't reproduce the error. I couldn't test it on Mac because i dont have it. If someone have also this error I will be gratefull for any more situations like this
Also having this issue:
[Enter steps to reproduce below:]
Atom Version: 1.7.3 System: Mac OS X 10.11.4 Thrown From: atom-html-templates package, v0.1.0
Uncaught TypeError: Cannot read property 'setText' of undefined
At /Users/coreyk/.atom/packages/atom-html-templates/lib/atom-html-templates.coffee:85
TypeError: Cannot read property 'setText' of undefined
at Object.module.exports.AtomHtmlTemplates.toggle (/Users/coreyk/.atom/packages/atom-html-templates/lib/atom-html-templates.coffee:85:11)
at atom-workspace.subscriptions.add.atom.commands.add.atom-html-templates:toggle (/Users/coreyk/.atom/packages/atom-html-templates/lib/atom-html-templates.coffee:17:94)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160:19)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:1100:28)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/application-delegate.js:314:25)
at emitTwo (events.js:87:13)
at EventEmitter.emit (events.js:172:7)
2x -2:52.1.0 atom-html-templates:toggle (atom-pane.pane.active)
{
"core": {
"customFileTypes": {
"source.html": [
"ss"
]
},
"disabledPackages": [
"ember-snippets",
"release-notes",
"vim-mode",
"block-comment-plus",
"clipboard-plus",
"ruby-test",
"webbox-color",
"editor-stats",
"atom-html-preview",
"w3c-validation",
"rails-snippets",
"autoclose-html",
"atom-wrap-in-tag",
"scroll-searcher",
"linter-tidy",
"symbol-gen",
"symbols-tree-view",
"autocomplete-php"
],
"openEmptyEditorOnStart": false,
"themes": [
"one-dark-ui",
"solarized-dark-syntax"
]
}
}
# User
atom-cli-diff, v1.3.0
atom-html-templates, v0.1.0
atom-silverstripe, v2.0.0
autocomplete-ruby, v0.1.0
color-picker, v2.1.1
css-comb, v2.4.3
css-snippets, v0.9.0
file-icons, v1.7.11
filesize, v0.4.2
fonts, v1.2.0
highlight-line, v0.11.1
highlight-selected, v0.11.2
html-entities, v0.4.0
jquery-snippets, v11.0.0
language-apache, v1.5.0
language-pgsql, v0.2.3
linter, v1.11.4
linter-csslint, v1.3.2
linter-jshint, v2.1.0
linter-rubocop, v0.4.7
merge-conflicts, v1.4.2
pigments, v0.26.3
pretty-json, v1.2.0
sinatra-snippets, v1.4.0
sync-settings, v0.7.2
wordcount, v2.6.0
# Dev
No dev packages
meet the same problem.
+1
Same here...
It's an unhandled exception! It happens when you call atom-html-templates without specifying a template type beforehand. So create an index.html, write e.g. html
and hit ctrl-alt-o
. Then it should work.
[Enter steps to reproduce below:]
Atom Version: 1.6.0 System: Mac OS X 10.11.4 Thrown From: atom-html-templates package, v0.1.0
Stack Trace
Uncaught TypeError: Cannot read property 'setText' of undefined
Commands
Config
Installed Packages