plafue / markdown-preview-opener Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When disabling this package it does not got disabled, because it still opens the markdown preview.
Only after a restart it is disabled.
For me, nothing happens after installing this extension. Does it still work?
cmd+w
; markdown preview should close but instead the error happens and markdown preview stays open.Atom Version: 1.8.0
System: Mac OS X 10.10.5
Thrown From: markdown-preview-opener package, v0.1.1
Uncaught TypeError: item.getURI is not a function
At /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33
TypeError: item.getURI is not a function
at /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33:48
at /Users/[redacted]/.atom/packages/markdown-preview-opener/lib/markdown-preview-opener.coffee:33:15
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:125:28)
at TextEditor.module.exports.TextEditor.destroyed (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:295:27)
at TextEditor.module.exports.Model.destroy (/Applications/Atom.app/Contents/Resources/app.asar/src/model.js:31:58)
at Pane.module.exports.Pane.destroyItem (/Applications/Atom.app/Contents/Resources/app.asar/src/pane.js:639:18)
at atom-tabs.TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/tabs/lib/tab-bar-view.js:688:17)
3x -9:42.8.0 core:move-up (atom-text-editor.editor.is-focused)
-9:41.7.0 editor:delete-line (atom-text-editor.editor.is-focused)
2x -9:41.3.0 core:move-down (atom-text-editor.editor.is-focused)
2x -9:39.9.0 editor:delete-line (atom-text-editor.editor.is-focused)
-9:20.9.0 core:close (atom-text-editor.editor.is-focused)
2x -8:59.3.0 editor:delete-line (atom-text-editor.editor.is-focused)
-8:54.7.0 core:save (atom-text-editor.editor.is-focused)
-3:35.9.0 editor:select-to-end-of-line (atom-text-editor.editor.is-focused)
2x -3:35.6.0 core:select-left (atom-text-editor.editor.is-focused)
6x -3:34.6.0 find-and-replace:select-next (atom-text-editor.editor.is-focused)
-3:30.1.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
2x -3:26.4.0 editor:delete-line (atom-text-editor.editor.is-focused)
-3:21 core:backspace (atom-text-editor.editor.is-focused)
-3:18 core:save (atom-text-editor.editor.is-focused)
-1:51.3.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-1:41.3.0 markdown-preview:toggle (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-light-theme.theme-one-light-ui.seti-ui-no-icons)
{
"core": {
"closeEmptyWindows": false,
"disabledPackages": [
"tab-switcher"
],
"ignoredNames": [
".DS_Store",
"*.mk",
".tern-project",
".git"
],
"openEmptyEditorOnStart": false,
"packagesWithKeymapsDisabled": [
"tab-switcher"
],
"projectHome": "[redacted]",
"themes": [
"one-light-ui",
"base16-tomorrow-light-theme"
]
},
"markdown-preview-opener": {
"closePreviewWhenClosingEditor": true
}
}
# User
atom-beautify, v0.29.7
atom-easy-jsdoc, v4.6.0
file-icons, v1.7.13
git-control, v0.7.1
highlight-selected, v0.11.2
indent-guide-improved, v1.4.8
language-lua, v0.9.4
linter, v1.11.5
linter-eslint, v7.2.2
markdown-preview-opener, v0.1.1
merge-conflicts, v1.4.4
minimap, v4.24.3
minimap-cursorline, v0.1.0
minimap-find-and-replace, v4.5.1
minimap-highlight-selected, v4.4.0
minimap-linter, v1.1.1
tidy-tabs, v0.3.0
# Dev
No dev packages
Can the opener open the same file and preview only once?
It would be nice if the preview (tab) could be automatically closed, when switching the tab from a markdown file to an non-md-file.
So that you only see the preview if the currently focused file is a markdown file.
When switching two markdown files in two tabs the preview should also switch based on what file you currently focus.
If a preview is not opened for one file it should be opened.
Possibly related to #1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.