abe33 / atom-tablr Goto Github PK
View Code? Open in Web Editor NEWEdit CSV files using a table editor
License: MIT License
Edit CSV files using a table editor
License: MIT License
Atom 1.7.0
Windows 10 Professional, 1511 Build 10586
I also experienced the same failure on Windows Server 2012 R2.
1.1.2 worked fine, but the 1.2.1 update fails to install with the following output:
Updating to “[email protected]” failed.Hide output…
> [email protected] install C:\Users\JCRABT~1\AppData\Local\Temp\3\apm-install-dir-116314-4588-ud2phr\node_modules\tablr\node_modules\pathwatcher\node_modules\runas
> node-gyp rebuild
C:\Users\JCRABT~1\AppData\Local\Temp\3\apm-install-dir-116314-4588-ud2phr\node_modules\tablr\node_modules\pathwatcher\node_modules\runas>if not defined npm_config_node_gyp (node "C:\Users\jcrabtree\AppData\Local\atom\app-1.6.2\resources\app\apm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gypnpm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Users\\jcrabtree\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\jcrabtree\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\jcrabtree\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\jcrabtree\\.atom\\.apmrc" "install" "C:\\Users\\JCRABT~1\\AppData\\Local\\Temp\\3\\d-116314-4588-1rj9gzq\\package.tgz" "--target=0.34.5" "--arch=ia32"
npm ERR! node v0.10.40
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls runas
npm ERR! There is likely additional logging output above.
[Enter steps to reproduce below:]
Atom Version: 1.0.19
System: Windows 7
Thrown From: aligner package, v0.16.2
Uncaught TypeError: target.getScreenColumnIndexAtPixelPosition is not a function
At /D:/Users/%username%/.atom/packages/tablr/lib/tablr.coffee:161
TypeError: target.getScreenColumnIndexAtPixelPosition is not a function
at Object.subscriptions.add.atom.contextMenu.add.atom-table-editor.created (D:\Users\%username%\.atom\packages\tablr\lib\tablr.coffee:110:11)
at ContextMenuManager.module.exports.ContextMenuManager.templateForEvent (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\src\context-menu-manager.js:113:20)
at ContextMenuManager.module.exports.ContextMenuManager.showForEvent (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\src\context-menu-manager.js:166:27)
at HTMLDocument.<anonymous> (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\src\window-event-handler.js:157:33)
at HTMLDocument.handler (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\src\space-pen-extensions.js:112:34)
at HTMLDocument.jQuery.event.dispatch (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4681:9)
at HTMLDocument.elemData.handle (C:\Users\%username%\AppData\Local\atom\app-1.0.19\resources\app.asar\node_modules\space-pen\vendor\jquery.js:4359:46)
-2:00.4.0 settings-view:open (ul.list-inline.tab-bar.inset-panel)
{
"core": {
"disabledPackages": [
"autocomplete-emojis",
"markdown-table-formatter",
"tree-view-breadcrumb",
"metrics",
"linter-php",
"package-cop"
],
"themes": [
"atom-dark-ui",
"one-dark-syntax"
]
}
}
# User
aligner, v0.16.2
aligner-php, v1.0.0
aligner-scss, v1.1.0
autocomplete-php, v0.3.7
autohide-tree-view, v0.24.5
color-picker, v2.0.12
color-tabs, v0.1.8
compare-files, v0.6.2
editor-stats, v0.17.0
figlet, v0.4.0
file-icons, v1.6.9
foldername-tabs, v0.1.5
highlight-column, v0.5.0
highlight-selected, v0.10.1
keyboard-localization, v1.4.8
language-autoit, v0.2.1
language-batch, v0.3.3
language-ini, v1.12.0
language-pascal, v0.9.0
line-count-status, v0.0.1
line-diff-details, v1.1.3
linter, v1.6.0
linter-alex, v1.2.2
linter-htmlhint, v0.1.1
markdown-preview-opener, v0.1.1
minimap, v4.13.4
minimap-bookmarks, v0.1.0
minimap-codeglance, v0.4.2
minimap-find-and-replace, v4.3.0
minimap-git-diff, v4.1.8
minimap-hide, v0.3.0
minimap-highlight-selected, v4.3.1
minimap-linter, v1.0.0
minimap-pigments, v0.1.6
minimap-selection, v4.3.0
opened-files, v0.2.5
php-cs-fixer, v2.5.0
pigments, v0.15.0
switcheroo, v1.1.0
tablr, v0.2.0
tabs-to-spaces, v0.11.1
tidy-markdown, v1.0.0
tree-view-background, v0.4.0
# Dev
No dev packages
Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.3
Failed to load the tablr package
At .btn is undefined in /Users/wayne/.atom/packages/tablr/styles/tablr.less:896:12
LessError: .btn is undefined
at /Users/wayne/.atom/packages/tablr/styles/tablr.less:896:12
{
"core": {
"disabledPackages": [
"linter-flake8",
"node-resolver",
"linter-jshint",
"js-autoimport"
],
"themes": [
"seti-ui",
"an-old-hope-syntax"
]
}
}
# User
an-old-hope-syntax, v0.5.0
angularjs, v0.3.4
atom-django, v0.3.2
atom-handlebars, v1.3.0
atom-ternjs, v0.14.1
atom-typescript, v8.9.1
auto-run, v0.2.1
autocomplete-modules, v1.4.1
browser-plus, v0.0.60
color-picker, v2.1.1
editorconfig, v1.4.1
hyperclick, v0.0.36
js-hyperclick, v1.4.2
language-diff, v0.4.0
language-javascript-jsx, v0.3.7
language-python-django-templates, v0.1.0
linter, v1.11.4
linter-doiuse, v0.2.3
linter-eslint, v7.2.1
linter-js-yaml, v1.2.5
linter-jsonlint, v1.2.5
linter-less, v2.5.0
linter-tidy, v2.1.0
minimap, v4.23.2
minimap-autohide, v0.10.1
minimap-bookmarks, v0.3.0
minimap-find-and-replace, v4.5.1
minimap-git-diff, v4.3.0
minimap-pigments, v0.2.0
pigments, v0.26.0
pretty-json, v1.0.3
project-manager, v2.9.7
seti-ui, v1.0.3
sync-settings, v0.7.2
tablr, v1.2.3
tabs-to-spaces, v1.0.2
tool-bar, v0.4.0
webbox-color, v0.5.9
# Dev
No dev packages
I think it would be very useful, specially for big files, to display only some rows of the table in order to configure or decide if you really want to load the whole file.
Do you think this is possible or you already get the file buffered when your plugin is invoked?
Great work anyway.
[Enter steps to reproduce below:]
Atom Version: 1.2.1
System: Microsoft Windows 10 Home
Thrown From: tablr package, v0.7.0
Uncaught TypeError: Cannot read property 'name' of undefined
At /C:/Users/Dalton/.atom/packages/tablr/lib/table-element.coffee:1221
TypeError: Cannot read property 'name' of undefined
at tablr-editor.module.exports.TableElement.confirmColumnEdit (file:///C:/Users/Dalton/.atom/packages/tablr/lib/table-element.coffee:834:43)
at atom-text-editor.textEditorSubscriptions.add.atom.commands.add.core:confirm (file:///C:/Users/Dalton/.atom/packages/tablr/lib/table-element.coffee:897:10)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\src\command-registry.js:260:29)
at C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\src\command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:533:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:356:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\src\window-event-handler.js:99:36)
at HTMLDocument.<anonymous> (C:\Users\Dalton\AppData\Local\atom\app-1.2.1\resources\app.asar\src\window-event-handler.js:3:61)
-2:45.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)
3x -2:41.9.0 core:backspace (tablr-editor.)
-2:38.5.0 core:confirm (tablr-editor.)
5x -2:35 core:undo (tablr-editor.)
-2:26.1.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-2:23.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-2:13.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-2:10.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
3x -2:05.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-2:02.9.0 core:confirm (atom-text-editor.editor.mini.is-focused)
9x -1:58.7.0 core:undo (tablr-editor.)
4x -1:42.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
2x -1:40.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:06.7.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:02.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"themes": [
"atom-material-ui",
"one-dark-syntax"
]
}
}
# User
atom-material-ui, v0.8.0
language-jade, v0.6.2
linter, v1.11.2
linter-csslint, v1.1.0
linter-golinter, v1.0.0
linter-jade, v0.3.2
linter-jshint, v1.2.1
linter-jsonlint, v1.0.1
linter-scss-lint, v2.4.0
minimap, v4.16.0
minimap-bookmarks, v0.1.0
minimap-codeglance, v0.4.5
minimap-find-and-replace, v4.3.2
minimap-linter, v1.0.0
minimap-pigments, v0.1.7
pigments, v0.18.1
tablr, v0.7.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.2
Uncaught Error: Quoted field not terminated at line 162
At events.js:141
Error: Quoted field not terminated at line 162
at [object Object].Parser._flush (/Users/Benny/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:170:26)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickCallback (node.js:385:17)
{
"core": {
"disabledPackages": [
"markdown-preview"
],
"themes": [
"one-dark-ui",
"one-dark-vivid-syntax"
]
}
}
# User
markdown-preview-plus, v2.4.0
one-dark-vivid-syntax, v1.1.2
tablr, v1.2.2
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.2
Uncaught Error: Quoted field not terminated at line 1439
At events.js:141
Error: Quoted field not terminated at line 1439
at [object Object].Parser._flush (/Users/rayk/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:170:26)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickCallback (node.js:385:17)
-4:29.3.0 editor:newline (atom-text-editor.editor.is-focused)
-4:22.8.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
-4:22.4.0 dartlang:newline (atom-text-editor.editor.is-focused.autocomplete-active)
-4:22.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
-4:20.3.0 dartlang:newline (atom-text-editor.editor.is-focused.autocomplete-active)
-4:20.3.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
13x -4:18.9.0 core:backspace (atom-text-editor.editor.is-focused)
-4:15.2.0 dartlang:newline (atom-text-editor.editor.is-focused.autocomplete-active)
-4:15.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
-4:13.7.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
-4:10.9.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
-4:03.7.0 dartlang:run-application (span.name.icon.icon-file-text)
-1:45.7.0 dartlang:newline (atom-text-editor.editor.is-focused.autocomplete-active)
-1:45.7.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
-1:39.9.0 dartlang:run-application (span.name.icon.icon-file-text)
3x -0:20.1.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
{
"core": {
"followSymlinks": false,
"themes": [
"atom-dark-ui",
"firewatch-syntax"
]
}
}
# User
Sublime-Style-Column-Selection, v1.5.1
atom-toolbar, v0.1.6
dartlang, v0.6.12
dash, v1.6.0
file-icons, v1.7.6
firewatch-syntax, v1.0.1
flutter, v0.2.2
highlight-selected, v0.11.2
linter, v1.11.4
linter-dartanalyzer, v0.3.2
pretty-json, v1.0.3
sort-lines, v0.14.0
synced-sidebar, v0.4.3
tablr, v1.2.2
tool-bar, v0.4.0
tool-bar-main, v0.0.9
wakatime, v5.0.8
# Dev
No dev packages
I'm not quite sure how you would detect it but, if it has one, displaying the CSV's header would be nice.
Maybe add a pencil-everything button that would copy everything in row 1 into the A/B/C/D header displayed now?
And maybe if there are columns that are 100% digits except for the first row, you could just do this automatically?
Looking forward to auto-adjusting table widths!
When activated it raises the following error:
Uncaught TypeError: Cannot set property 'align' of undefinedmodule.exports.TableElement.alignLeft @ table-element.coffee:710
atom.commands.add.tablr:align-left @ table-element.coffee:1618
module.exports.CommandRegistry.handleCommandEvent @ /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260
(anonymous function) @ /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3
module.exports.CommandRegistry.dispatch @ /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:160
module.exports.AtomEnvironment.dispatchContextMenuCommand @ /Applications/Atom.app/Contents/Resources/app.asar/src/atom-environment.js:993
emitTwo @ events.js:87
emit @ events.js:172
ipc.sendSync @ /Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21
RemoteMemberFunction @ /Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:138
module.exports.ContextMenuManager.showForEvent @ /Applications/Atom.app/Contents/Resources/app.asar/src/context-menu-manager.js:156
module.exports.WindowEventHandler.handleDocumentContextmenu @ /Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:252
(anonymous function) @ /Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3
For me it freezes atom, when I'm trying to open an empty csv.
Disabling plugin fixes this
When using:
the labels of the selected buttons are hard to read (white on yellow):
The @button-background-color-selected
+ @text-color-selected
combo here doesn't seem to match for all themes.
Ideally, there should be a @button-text-color-selected
. Or core/themes should support "button groups" made with radio
inputs.
Hmm.. maybe you could try to use Less's contrast
function:
color: contrast(@button-background-color-selected, white, darken(@text-color-selected,80%));
There doesn't seem to be a way to remove the entire column. Would be nice to have this functionality.
Would be nice if hitting save would actually persist the sort I have on the table.
[Enter steps to reproduce below:]
Atom Version: 1.7.1
System: Mac OS X 10.10.5
Thrown From: tablr package, v1.2.2
Uncaught Error: Quoted field not terminated at line 218
At events.js:141
Error: Quoted field not terminated at line 218
at [object Object].Parser._flush (/Users/spencerthayer/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:170:26)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickDomainCallback (node.js:426:17)
{
"core": {
"disabledPackages": [
"Tern",
"Tern",
"git-blame",
"atom-autocomplete-php",
"eval-javascript"
],
"themes": [
"atom-material-ui",
"flatland"
]
}
}
# User
angularjs, v0.3.4
angularjs-snippets, v0.10.18
atom-jshint, v2.0.0
atom-less, v0.1.10
atom-material-ui, v1.2.10
atom-minify, v0.7.1
autocomplete-emojis, v2.3.0
autocomplete-modules, v1.4.1
autocomplete-paths, v1.0.2
autocomplete-php, v0.3.7
autocomplete-phpunit, v1.0.2
autocomplete-python, v1.7.2
cakephp-snippets, v0.6.1
cakephp3-snippets, v0.5.0
clipboard-plus, v0.5.1
color-picker, v2.1.1
css-snippets, v0.9.0
drunken-php, v0.2.1
drupal, v1.8.0
drupal-cinc, v0.0.3
drupal-info-file, v1.5.1
editorconfig, v1.3.0
flatland, v0.16.0
highlight-selected, v0.11.2
hyperclick-php, v0.2.1
javascript-snippets, v1.2.1
json-schema, v0.1.15
language-htaccess, v0.1.1
language-javascript-better, v1.7.1
language-php, v0.37.0
last-cursor-position, v0.9.0
less-compiler, v0.6.2
linter, v1.11.4
linter-less, v2.4.2
minimap, v4.21.0
node-debugger, v1.4.7
open-recent, v5.0.0
php-cs-fixer, v2.5.6
php-debug, v0.2.2
php-introspector, v1.0.0
pigments, v0.26.0
project-manager, v2.9.7
selector-to-tag, v0.4.1
table-editor, v0.2.0
tablr, v1.2.2
wakatime, v5.0.8
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.3.1
Uncaught TypeError: Cannot read property 'name' of undefined
At /Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:840
TypeError: Cannot read property 'name' of undefined
at tablr-editor.module.exports.TableElement.startCellEdit (/Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:840:5)
at tablr-editor.atom.commands.add.core:confirm (/Users/da_petcu21/.atom/packages/tablr/lib/table-element.coffee:1589:25)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
at /opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:98:36)
at HTMLDocument.<anonymous> (/opt/homebrew-cask/Caskroom/atom/1.7.2/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
-2:50.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:21.6.0 tree-view:toggle-focus (div.package-detail.panels-item)
-0:20.8.0 tree-view:add-file (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:19.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
2x -0:16.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"disabledPackages": [
"linter-eslint",
"omnisharp-atom",
"json-schema"
],
"packagesWithKeymapsDisabled": [
"devdocs",
"activate-power-mode"
],
"projectHome": "/Users/da_petcu21/Programare",
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
]
}
}
# User
activate-power-mode, v0.5.2
atom-jade, v0.3.0
atom-yeoman, v0.3.15
autocomplete-clang, v0.9.3
autocomplete-glsl, v0.2.3
autocomplete-paths, v1.0.2
devdocs, v0.2.1
file-icons, v1.7.9
language-glsl, v2.0.1
language-haskell, v1.7.15
language-lex-flex, v0.1.0
linter, v1.11.4
linter-clang, v3.4.4
linter-glsl, v2.0.2
linter-js-standard, v3.3.2
markdown-themeable-pdf, v1.0.1
merge-conflicts, v1.4.2
pigments, v0.26.2
python-indent, v0.4.3
react, v0.15.0
tablr, v1.3.1
the-closer, v0.6.0
vim-mode, v0.65.0
# Dev
No dev packages
[Enter steps to reproduce below:]
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.2
Uncaught Error: Quoted field not terminated at line 575
At events.js:141
Error: Quoted field not terminated at line 575
at [object Object].Parser._flush (/Users/malsmith/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:179:26)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickCallback (node.js:385:17)
7x -4:56.8.0 editor:add-selection-below (atom-text-editor.editor.is-focused)
-4:55.3.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
-4:54.1.0 core:backspace (atom-text-editor.editor.is-focused)
-4:51.7.0 editor:move-to-first-character-of-line (atom-text-editor.editor.is-focused)
2x -4:50.5.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-4:50.2.0 core:cancel (atom-text-editor.editor.is-focused)
-3:31.2.0 settings-view:open (atom-text-editor.editor.is-focused)
6x -3:22.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-3:20.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-1:05.2.0 core:cancel (a.stack-toggle)
-0:22.9.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
-0:16.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
-0:16.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
-0:16.6.0 editor:consolidate-selections (atom-text-editor.editor.is-focused)
-0:16.5.0 core:cancel (atom-text-editor.editor.is-focused)
2x -0:07.3.0 pane:reopen-closed-item (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-light-ui",
"one-light-syntax"
]
}
}
# User
json-schema, v0.1.15
tablr, v1.2.2
# Dev
No dev packages
Having a HiDPI screen, I can barely read the text in the table-view (i.e. the cells). If I double click a cell, I get my usual font in the usual size an all is fine. Presumably there is a way to set this in styles.less, but I was not able to find which class I had to adapt (I'm not really a css guy).
A setting for Font & Size would be very nice, but if you can tell me which css class I have to set, that would be rad too!
Otherwise this addon is amazing, I don't know why I didn't go looking for something like this earlier. Thank you very much for your work, it's much appreciated!
Would be nice if a column or all columns could be toggled to be narrow or be as wide as the widest value in the column.
Great tool by the way. Worked for long time with Notepad++ on csv's but not to my delight...
Would be very useful.
Most tableur uses "Ctrl -" as shortcut to delete selected row or selected column.
If you decide to do this, supper useful standard shortcut would also be:
"Shift Space": Select row
"Ctrl Space": Select column
I'm under the impression that those a re quite standard (Excel pushing the standard ?). Not sure about mac conventions though..
when i edit a cell, and press enter to close it..
the value gets saved anyway.. but i get this red Error
Atom Version: 1.6.1
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.1.0
Uncaught TypeError: Cannot read property 'getCursors' of null
At /Users/krur/.atom/packages/tablr/lib/table-element.coffee:855
TypeError: Cannot read property 'getCursors' of null
at tablr-editor.module.exports.TableElement.confirmCellEdit (/Users/krur/.atom/packages/tablr/lib/table-element.coffee:855:29)
at atom-text-editor.textEditorSubscriptions.add.atom.commands.add.core:confirm (/Users/krur/.atom/packages/tablr/lib/table-element.coffee:933:10)
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:570:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:378:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)
The csv-configuration screen gives an error when quotes are embedded and opening is blocked.
"2015-11-26","An account with a "quoted" name","231.50"
[Enter steps to reproduce below:]
Atom Version: 1.2.0-beta2
System: Microsoft Windows 7 Ultimate
Thrown From: tablr package, v0.6.1
Uncaught TypeError: atom.project.open is not a function
At /C:/Users/christiaan/.atom/packages/tablr/lib/csv-editor.coffee:221
TypeError: atom.project.open is not a function
at CSVEditor.module.exports.CSVEditor.openTextEditor (file:///C:/Users/christiaan/.atom/packages/tablr/lib/csv-editor.coffee:154:18)
at Object.formSubscriptions.add.subscribeTo.click [as __NONE__] (file:///C:/Users/christiaan/.atom/packages/tablr/lib/csv-editor-element.coffee:76:16)
at HTMLButtonElement.listener (C:\Users\christiaan\.atom\packages\tablr\node_modules\atom-utils\lib\mixins\events-delegation.js:108:41)
-9:56.2.0 core:copy (atom-text-editor.editor.is-focused)
-9:53.7.0 core:paste (atom-text-editor.editor.is-focused)
2x -9:53.3.0 core:save (atom-text-editor.editor.is-focused)
{
"core": {
"themes": [
"atom-material-ui",
"monokai"
],
"projectHome": "D:\\dev",
"disabledPackages": [
"grunt-runner",
"jshint"
],
"excludeVcsIgnoredPaths": false,
"autoHideMenuBar": true
},
"tablr": {}
}
# User
angularjs, v0.3.3
atom-beautify, v0.28.17
atom-material-ui, v0.8.0
build, v0.48.0
docblockr, v0.7.3
emmet, v2.3.14
file-icons, v1.6.11
language-blade, v0.16.0
language-dotenv, v1.0.0
language-nginx, v0.6.1
line-ending-converter, v1.3.2
monokai, v0.18.0
pretty-json, v0.4.1
project-manager, v2.6.5
tablr, v0.6.1
tool-bar, v0.1.9
tool-bar-main, v0.0.8
# Dev
No dev packages
That'd be great to support other file extensions (.tsv for example). Even greater if the user could specify the list of file extensions he wants in settings.
My workaround was to change the return unless /\.csv$/.test uriToOpen
line in lib/tablr.coffee
but this is overriden on updates.
Anyway, awesome work, I've been looking for a table editor for a while, yours is great!
Hi
Thanks again for the work. It's very useful.
A new feature that would be great would be the ability to modify column or line position.
Maybe I missed it but I couldn't find a way to invert column 2 and 3 for example.
I guess the best interface would be something a la Excel where you can Drag and Drop column header (will conflict with ordering though). It also what stuff like ExtJs does: http://dev.sencha.com/extjs/5.1.0/examples/grid/row-editing.html
An other solution (I think quite common as well) would be to have move left, move right buttons in the column header.
That would be very handy !
Hello, Thanks for the good work!
When clicking on a column name (say column F), the array will be sorted based on the content of this column, but the file is not considered modified by atom (no modified blue dot indicator in the tab selector) and the undo operation is not working (Ctrl Z does notthing).
Thanks a lot.
Hi . Generate a tsv with 150 columns, with ie. this shell command:
for i in `seq -w 000 150`; do echo -ne "$i\t"; done > tablr_column_bug.tsv
then open it with Atom: in the tablr wizard, choose "\t" as field separator then "open table editor"
scroll horizontally to the right.
At some point rendering becomes bogus, we don't see columns anymore, clicking on other columns doesn't seem to be working... scrolling with arrow keys seems to work, but nothing appears.
see the attached animated gif capture here:
Unfortunately I can't provide a sample CSV (the ones I'm working with are under lock and key and I don't have time to prepare new ones), but I have some CSVs that are inordinately large (2.5mb) that have a pretty hefty number of columns as well as just sheer length.
tablr crashes atom while generating a preview. I don't even have the chance to open it as a regular text file =/
I think it considers the rest of the line as comment, even though it is a valid entry for my table, eg:
A,#1,3
2,B,4
Is '#' considered special character in csv files?
Thanks for this package anyway!
Hey there, I'm getting this issue:
Ideally I would be able to view data that isn't "well formatted".
Here's the raw data I was trying to view:
"Golden-gate j5 v2.8.4 assembly 4/19/2016"
"Please cite: Hillson, N.J., Rosengarten, R.D., and Keasling J.D. (2012) j5 DNA Assembly Design Automation Software. ACS Synthetic Biology 1 (1), 14-21. DOI: 10.1021/sb2000116"
"Assembly Parameters:"
MASTEROLIGONUMBEROFDIGITS,MASTERPLASMIDNUMBEROFDIGITS,GIBSONOVERLAPBPS,GIBSONOVERLAPMINTM,GIBSONOVERLAPMAXTM,MAXIMUMOLIGOLENGTHBPS,MINIMUMFRAGMENTSIZEGIBSONBPS,GOLDENGATEOVERHANGBPS,GOLDENGATERECOGNITIONSEQ,GOLDENGATETERMINIEXTRASEQ,MAXIMUM_IDENTITIES_GOLDEN_GATE_OVERHANGS_COMPATIBLE,OLIGOSYNTHESISCOSTPERBPUSD,OLIGOPAGEPURIFICATIONCOSTPERPIECEUSD,OLIGOMAXLENGTHNOPAGEPURIFICATIONREQUIREDBPS,MINIMUMPCRPRODUCTBPS,DIRECTSYNTHESISCOSTPERBPUSD,DIRECTSYNTHESISMINIUMUMCOSTPERPIECEUSD,PRIMER_GC_CLAMP,PRIMER_MIN_SIZE,PRIMER_MAX_SIZE,DEFAULT_PURE_PRIMER_LENGTH_BPS,PRIMER_MIN_TM,PRIMER_MAX_TM,PRIMER_MAX_DIFF_TM,PRIMER_MAX_SELF_ANY_TH,PRIMER_MAX_SELF_END_TH,PRIMER_PAIR_MAX_COMPL_ANY_TH,PRIMER_PAIR_MAX_COMPL_END_TH,PRIMER_TM_SANTALUCIA,PRIMER_SALT_CORRECTIONS,PRIMER_DNA_CONC,MISPRIMING_3PRIME_BOUNDARY_BP_TO_WARN_IF_HIT,MISPRIMING_MIN_TM,MISPRIMING_SALT_CONC,MISPRIMING_OLIGO_CONC,OUTPUT_SEQUENCE_FORMAT,SUPPRESS_PRIMER_ANNOTATIONS,SUPPRESS_PURE_PRIMERS,ASSEMBLY_PRODUCT_TYPE,HOMOLOGY_MIN_LENGTH_BPS,HOMOLOGY_MAX_FRACTION_MISMATCHES,APPEND_UUID_TO_PLASMID_OLIGO_AND_SYNTHESIS_NAME,"Primer3 version"
5,5,26,60,70,110,250,4,GGTCTC,CACACCAGGTCTCA,2,0.1,40,60,100,0.39,159,2,18,36,26,60,70,5,47,47,47,47,1,1,250,4,45,0.05,2.5E-7,GENBANK,FALSE,TRUE,CIRCULAR,26,0.05,FALSE,2.3.7
"Note: sequence pj5_00001 is implied to be circular..."
Thanks for the help!
Feature request: I'd like to be able to quickly switch to text mode, leaving my cursors where they are, make some complex edits, and switch back to table mode when I'm done.
This might help out before some other editing features land (insert/delete rows, copy/paste, etc. Pasting especially seems tough to do well).
I wondered why my .CSV files always open in text mode. Then I renamed it to .csv and it worked as it should.
Is it possible to check the ending case insensitive?
Thanks
Hello,
Thanks for your amazing product.
I have a question.
Can I change encoding on tablr?
I'd like to use ShiftJIS.
thank you.
In Tblr setting, change de fault header property:
I've also setted ';' as default separator
Next, open a new csv file. You'll see the Header property selected as expected.
But I get an error in the Preview of the parsed CSV
Unselect the Header property and, the preview is displayed.
Next, you can select the Header property again and Open Table Editor activated.
Atom 1.7.2
Tablr 1.2.3
Mac OS X
Thanks
Hi,
I have a file named "CSVExporter.coffee". When I open it from the tree view the settings panel opens up and asks which editor to use (table or text).
Choosing the text editor and editing the file works normally but I didn't want to get asked in the first place.
Maybe this is related to the file name that contains "csv"?
I couldn't find anything that causes the problem quickly so I hope you can fix it :)
Consider the following csv:
omg
omg,wow,kittens,yeah,unicorns
It opens with only one column!
Anyway, great package. Getting a lot of use out of it. 👍
It will be great to be able to change the default column delimitator on the settings tab
Not a major issue, but when using One dark with a light theme, the tab is not seamless:
The problem is that if the type
includes the word "Editor", the One themes will use the @syntax-background-color
as the tab color. So that the tab looks seamless with the editor. See atom/tabs#118 and atom/one-dark-ui#76
And since Tablr uses CSVEditor
, the One themes assume that it uses the background color of the syntax theme. Which isn't the case here.
syntax-variables.less
instead. Probably not a small task. Plus then buttons and other controls are not available.I know, "don't call it xxxEditor" sounds a bit stupid as a convention. An easy short-term solution would be if the One themes add an exception for the Tablr package here. Something like &[data-type$="Editor"]:not([data-type="CSVEditor"]),
. But that can get messy over time.
Maybe this issue needs to be revisited in Core + themes. Somehow packages need a way to the the tab what background color the package is using. But it can't just inline the styles since not all themes like to have seamless tabs.
/cc @jessegrosjean
It seems that Atom's built-in search/replace mechanism doesn't work in table mode. This would be a really handy feature to have, since it makes modifying entire columns of data a snap (especially with regular expressions).
Is this a known limitation or am I doing something wrong?
hey there, what a beautiful plugin you have!
unfortunately, I can't use it for analysing a contact database as my address fields are exported from my contact database with newlines (out of my control) and although your parser handles these fields and places them in cells correctly, i can't copy out of the cells because the newlines aren't escaped correctly for either OSX numbers or Google Drive.
Here's some test data that u can use to reproduce my problem:
"qwe","rty","uio"
"asd","fg
h","jkl"
"zxc","vbn","m."
here are my settings
and here is my sys conf:
atom 1.7.3, tablr 1.3.0, MacBookPro11,3, OS X 10.11.4 (15E65)
Also as a side note, the ability to open a new spreadsheet from the command palette would be very helpful :)
When I edit a cell and confirm the change by pressing Enter the file is actually changed on save but has to be reloaded to reflect the change
[Enter steps to reproduce below:]
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.2
Uncaught Error: Quoted field not terminated at line 1451
At events.js:141
Error: Quoted field not terminated at line 1451
at [object Object].Parser._flush (/Users/rayk/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:170:26)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickCallback (node.js:385:17)
-7:06.0 core:move-down (atom-text-editor.editor.is-focused)
-6:58.2.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
-6:56 dartlang:run-application (span.name.icon.icon-file-text)
2x -6:23.6.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
7x -3:44.1.0 core:backspace (atom-text-editor.editor.is-focused)
-3:38.7.0 core:undo (atom-text-editor.editor.is-focused)
-3:33.2.0 dartlang:run-application (span.name.icon.icon-file-text)
3x -3:04.7.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
-0:58.5.0 core:cut (atom-text-editor.editor.is-focused)
-0:56 dartlang:newline (atom-text-editor.editor.is-focused)
-0:56 editor:newline (atom-text-editor.editor.is-focused)
-0:55.1.0 core:paste (atom-text-editor.editor.is-focused)
-0:51.9.0 core:backspace (atom-text-editor.editor.is-focused)
-0:44.5.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
-0:42.6.0 dartlang:run-application (span.name.icon.icon-file-text)
-0:00.7.0 tree-view:reveal-active-file (atom-workspace.workspace.scrollbars-visible-when-scrolling.seti-ui-no-icons.theme-firewatch-syntax.theme-atom-dark-ui)
{
"core": {
"followSymlinks": false,
"themes": [
"atom-dark-ui",
"firewatch-syntax"
]
}
}
# User
Sublime-Style-Column-Selection, v1.5.1
atom-toolbar, v0.1.6
dartlang, v0.6.12
dash, v1.6.0
file-icons, v1.7.6
firewatch-syntax, v1.0.1
flutter, v0.2.2
highlight-selected, v0.11.2
linter, v1.11.4
linter-dartanalyzer, v0.3.2
pretty-json, v1.0.3
sort-lines, v0.14.0
synced-sidebar, v0.4.3
tablr, v1.2.2
tool-bar, v0.4.0
tool-bar-main, v0.0.9
wakatime, v5.0.8
# Dev
No dev packages
This is a valid CSV file, at least from what I can see opening it in numbers.
Atom Version: 1.7.2
System: Mac OS X 10.11.4
Thrown From: tablr package, v1.2.2
Uncaught Error: Number of columns is inconsistent on line 104
At events.js:141
Error: Number of columns is inconsistent on line 104
at Error (native)
at [object Object].Parser.__push (/Users/asahin/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:208:26)
at [object Object].Parser.__write (/Users/asahin/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:378:14)
at [object Object].Parser._flush (/Users/asahin/.atom/packages/tablr/node_modules/csv/node_modules/csv-parse/lib/index.js:177:10)
at [object Object].<anonymous> (_stream_transform.js:118:12)
at [object Object].g (events.js:260:16)
at emitNone (events.js:67:13)
at [object Object].emit (events.js:166:7)
at prefinish (_stream_writable.js:458:12)
at finishMaybe (_stream_writable.js:466:7)
at afterWrite (_stream_writable.js:347:3)
at doNTCallbackMany (node.js:487:18)
at process._tickCallback (node.js:385:17)
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
}
}
# User
Stylus, v3.0.0
api-blueprint-preview, v0.7.0
atom-jinja2, v0.5.0
atom-typescript, vundefined
atom-wallaby, v1.0.7
autocomplete-go, v1.0.8
autocomplete-php, v0.3.7
autocomplete-python, v1.7.2
autocomplete-wordpress-hooks, v0.2.0
builder-go, v1.0.0
coffee-compile, v0.21.1
color-picker, v2.1.1
emmet, v2.4.3
environment, v1.2.0
go-config, v1.1.4
go-debug, v0.1.11
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.6
gometalinter-linter, v1.1.0
gorename, v1.0.2
language-api-blueprint, v1.0.2
language-babel, v2.18.2
language-ejs, v0.2.0
language-elixir, v0.12.3
language-ini, v1.16.0
language-jade, v0.7.1
language-rust, v0.4.6
less-autocompile, v1.0.0
linter, v1.11.4
linter-eslint, vundefined
linter-php, v1.2.0
linter-rust, v0.4.5
merge-conflicts, v1.4.2
navigator-godef, v1.0.3
php-cs-fixer, v2.5.6
python-tools, v0.6.7
react, v0.15.0
tablr, v1.2.2
terminal-panel, v1.14.1
tester-go, v1.0.4
wordpress-api, v1.2.2
# Dev
No dev packages
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.