About: Preview output from interpreter in new window   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

If you ever wanted to just run parts of your script and check the output without manipulating your code, read on. The output of your whole script or your snippets will be shown in the "preview window" ([help preview-window]). In my case I used Ruby and mapped the commands to F7. I just select the stuff I want to run and press F7. The output is shown in a new window! The next time I press F7 the window will be closed and replaced.

AttributesValues
rdfs:label
  • Preview output from interpreter in new window
rdfs:comment
  • If you ever wanted to just run parts of your script and check the output without manipulating your code, read on. The output of your whole script or your snippets will be shown in the "preview window" ([help preview-window]). In my case I used Ruby and mapped the commands to F7. I just select the stuff I want to run and press F7. The output is shown in a new window! The next time I press F7 the window will be closed and replaced.
Version
  • n/a
dbkwik:vim/property/wikiPageUsesTemplate
Previous
  • 1240(xsd:integer)
Author
  • Robert Retzbach
Complexity
  • basic
Created
  • 2006(xsd:integer)
ID
  • 1244(xsd:integer)
NEXT
  • 1245(xsd:integer)
Rating
  • 43(xsd:integer)
abstract
  • If you ever wanted to just run parts of your script and check the output without manipulating your code, read on. The output of your whole script or your snippets will be shown in the "preview window" ([help preview-window]). In my case I used Ruby and mapped the commands to F7. I just select the stuff I want to run and press F7. The output is shown in a new window! The next time I press F7 the window will be closed and replaced. "save code, run ruby, show output in preview window function! Ruby_eval_vsplit() range let src = tempname() let dst = tempname() execute ": " . a:firstline . "," . a:lastline . "w " . src execute ":silent ! ruby " . src . " > " . dst . " 2>&1 " execute ":pclose!" execute ":redraw!" execute ":vsplit" execute "normal \l" execute ":e! " . dst execute ":set pvw" execute "normal \h" endfunction vmap :call Ruby_eval_vsplit() nmap mzggVG`z imap a map l:bw imap a
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software