Commit Graph
78 Commits
Author SHA1 Message Date
Josh Barnes d4e1ffe13f [lib] ensure each library object has its own config object
this effectively prevents other nbextensions from modifying the default
config, which for some reason I previously thought might be useful, rather
than just potentially dangerous.
2017-05-09 11:41:20 +01:00
Josh Barnes cd44e758f6 [lib] linting 2017-05-09 11:41:16 +01:00
Josh Barnes 73118dff3e [lib] whitespace 2017-05-09 11:41:10 +01:00
Jean-François Bercher 72f81fc3ca [code_prettify] add JSON conversion of results from the R kernel 2017-01-15 15:45:41 +01:00
Jean-François Bercher 0241650412 [code_prettify] changed JS json library string so that missing js-beautify is detected 2017-01-06 19:38:15 +01:00
Jean-François Bercher 4407b2f75c [lib] show a specific alert for missing kernel dependencies 2017-01-06 19:36:37 +01:00
Jean-François BercherandGitHub 3b1ac2fe92 Added jupyter-autopep8 plugin link in this README 2017-01-05 18:51:32 +01:00
Jean-François BercherandGitHub 299cf7aaa5 Merge pull request #6 from jcb91/docs
[docs] update readmes
2017-01-05 14:27:48 +01:00
Josh Barnes aaf264d509 [docs] update readmes
* to match each other better
* add links, options, etc
* remove README_KernelExecOnCells.md, as it was basically a copy of the main README
2017-01-04 22:38:50 +00:00
Jean-François Bercher e2aa2495e0 [autopep8] added autopep8 as an example of lib usage 2017-01-04 18:30:25 +01:00
Jean-François Bercher 038cb3a427 [doc] updated the README to show lib usage 2017-01-04 18:29:12 +01:00
Jean-François Bercher 0d56c12f7f [lib] library documentation + example of use 2017-01-04 18:28:19 +01:00
Jean-François Bercher 3e628af894 [lib] updated shared library following @jcb91 to use actions for registering keyboard shortcuts + bugfixes 2017-01-04 18:27:25 +01:00
Jean-François Bercher eee37f9f91 [2to3] use the updated shared library with registered actions 2017-01-04 18:25:28 +01:00
Jean-François Bercher 1e30869769 [code_prettify] use the updated shared library with registred actions 2017-01-04 18:24:30 +01:00
Jean-François Bercher 7138003e1b updated to OOP + added hotkeys again 2017-01-02 23:47:37 +01:00
Jean-François Bercher 9e42da818e rewritten the library as object-oriented 2017-01-02 23:46:09 +01:00
Jean-François BercherandGitHub 001c9aa6e1 Merge pull request #5 from jcb91/librarify
Librarify
2017-01-01 00:45:52 +01:00
Josh Barnes 8f7e29a00c Merge branch 'master' into librarify, resolving conflicts 2016-12-31 19:32:50 +00:00
Josh Barnes b966cf4382 [code_prettify, 2to3, kernel_exec_on_cell] bugfixes 2016-12-31 19:30:48 +00:00
Josh Barnes 81c3b9b77a [2to3] reword & reorder option descriptions 2016-12-31 19:29:22 +00:00
Josh Barnes f451929494 [code_prettify] reorder parameters 2016-12-31 19:28:19 +00:00
Josh Barnes 266fc32497 [2to3] update 2to3 to use shared library 2016-12-31 16:50:40 +00:00
Josh Barnes b81ee9edf1 [2to3] add 2to3 files into code_prettify 2016-12-31 16:32:35 +00:00
Josh Barnes 5523e88e90 [2to3] renames prior to merging into code_prettify 2016-12-31 16:28:48 +00:00
Josh Barnes 4fe4940fa4 [code_prettify] minor style fixes 2016-12-31 15:51:07 +00:00
Josh Barnes a5b949e07e [code_prettify] re-add code_prettify using new library 2016-12-31 15:50:50 +00:00
Josh Barnes a633089c4b [code-prettify] make library usable per-plugin
by wrapping everything in a closure for mod_name and cfg
2016-12-31 15:50:16 +00:00
Josh Barnes 847fc505a3 [code_prettify] rename code_prettify.js to make it a library 2016-12-31 15:45:59 +00:00
Jean-François Bercher 1b82fc980b added the python 2 to 3 converter, updated to use the shared library 2016-12-30 22:40:04 +01:00
Jean-François Bercher 09e69cea9e updated code_prettify to use the shared library 2016-12-30 22:39:05 +01:00
Jean-François Bercher e845d93744 made a library of useful and shared functions. The library can be used by any extension which has to execude some code, via the current kernel, on text from selected (or all) cells 2016-12-30 22:37:38 +01:00
Jean-François Bercher 8512d09710 added a keyboard shortcut to prettify the whole notebook 2016-12-28 23:15:45 +01:00
Jean-François BercherandGitHub a6a7950181 Merge pull request #4 from jcb91/configurable
make everything configurable
2016-12-28 22:33:55 +01:00
Josh Barnes 913c781da1 [code_prettify] add info on options to readme 2016-12-23 13:51:57 +00:00
Josh Barnes 7302f646ec [code_prettify] update readme to reflect new json-based mechanism 2016-12-23 13:51:54 +00:00
Josh Barnes 5ca8151e57 [code_prettify] fix jshint warnings 2016-12-23 13:51:52 +00:00
Josh Barnes 4500ccb742 [code_prettify] make per-kernel configs configurable 2016-12-23 13:51:49 +00:00
Josh Barnes cf3c411dda [code_prettify] need an IIFE to get each cell treated seperately 2016-12-23 13:51:34 +00:00
Josh Barnes a0b9eed219 [code_prettify] switch to a print-json model for getting formatted text from kernel 2016-12-23 13:48:58 +00:00
Josh Barnes f7211a8d63 [code_prettify] add functions for use with multiple kernels 2016-12-23 13:48:55 +00:00
Josh Barnes 4bd2c20596 [code_prettify] make sure config is loaded correctly before doing other stuff 2016-12-23 13:48:52 +00:00
Josh Barnes 2b43dc8089 [code_prettify] make hotkey & verbosity configurable 2016-12-23 13:48:28 +00:00
Josh Barnes 48e17049f3 [code_prettify] remove unused variables 2016-12-21 22:40:45 +00:00
Jean-François BercherandGitHub 0ce3aa197d Merge pull request #3 from jcb91/incorporate_downstream
Incorporate changes from jupyter_contrib_nbextensions repo
2016-12-21 22:50:50 +01:00
jfbercherandJosh Barnes e75319fd30 Update code_prettify to address #767
Removed index parameter in yapf_format function; instead get currently selected cell
2016-12-18 16:35:01 +00:00
Jean-François BercherandJosh Barnes f05299092d Updated doc to include answer to #752 2016-12-18 16:35:01 +00:00
Jean-François BercherandJosh Barnes 579198ce3c corrected insufficient re replacement 2016-12-18 16:35:01 +00:00
EWouters a5c68270fa Change display name 2016-12-12 00:09:36 +13:00
EWouters f0bfde8eeb Fix merge errors 2016-12-11 16:31:08 +13:00