Commit Graph
25 Commits
Author SHA1 Message Date
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 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
Josh Barnes b966cf4382 [code_prettify, 2to3, kernel_exec_on_cell] bugfixes 2016-12-31 19:30:48 +00:00
Josh Barnes a5b949e07e [code_prettify] re-add code_prettify using new library 2016-12-31 15:50:50 +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 8512d09710 added a keyboard shortcut to prettify the whole notebook 2016-12-28 23:15:45 +01: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
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 579198ce3c corrected insufficient re replacement 2016-12-18 16:35:01 +00:00
Jean-François Bercher 013d21a74e (Python/yapf) corrected issue with continuation lines) 2016-09-03 14:31:56 +02:00
Jean-François Bercher 6372c378a1 - corrected issue with Python 2
- changed detectioof messages returned by yapf (sometimes between simple quotes, sometimes between double)
2016-09-03 11:07:30 +02:00
Jean-François Bercher ea1ab39590 now read kernel language from metadata and use it to select the prettifier + cleanup 2016-08-20 21:29:32 +02:00
Jean-François Bercher dcc8eb83b2 read kernel language from kernelspecs and use it to select the prettifier + cleanup 2016-08-19 20:21:25 +02:00
Jean-François Bercher 0284b32711 read kernel language from kernelspecs and use it the prettifier 2016-08-19 19:52:39 +02:00
Jean-François Bercher eb6afcbc92 use kernelLanguage to select the prettifier 2016-08-19 17:38:43 +02:00
Jean-François Bercher 19ca31b06a first version (update of yapf_ext) 2016-08-18 22:44:21 +02:00