Giter Site home page Giter Site logo

vscode-nodejs-repl's Introduction

Node.js Interactive window (REPL)

Node.js Interactive Window (REPL) for Visual Studio Code using Node.js command line right in your favorite IDE. Simply press CTRL + SHIFT + P and launch "Node.js Interactive window (REPL)".

This is a preview and I would really love some feedback if something is not working as it should.

Features

Both "return" values and console.log is supported, just as in Node.js REPL since that is used behind the scenes.

Screenshot of Node.js Interactive window (REPL)

Requirements

This extension requires Node.js v6+, but only tested with Node 7+

Known Issues

Note, this is a preview so please report any bugs

Future developement

Some want all, but right now I think it's working good. I want to look into implementing this though;

  • Import/require of external files/modules

Release Notes

0.5.10

  • output fixes (thanks @plylrnsdy)
  • require should probably work better (thanks @plylrnsdy)
  • console.log with multiline
  • ... and a few more

0.4.9

  • Small output fixes (thanks @nchursin)
  • Added console methods
  • Added a stop command
  • Import of workspace modules + a bugfix for importing from NodeJs API
  • Text editor optimizations for drawing results/console
  • Annoying bug where error/result didn't get removed when there was an empty document
  • Hoover message for result/console
  • Possibility to run REPL for any active javascript editor
  • Runs REPL for first document named Untitled-* when opening new project with opened documents
  • Dispose REPL by closing the active document

0.3.6

  • Only single window with support for console, result and error
  • Console output for Promises
  • Fix for nested methods call in newlines.
  • Fix for promise results and exceptions
  • Fix for exceptions in functions
  • Fix for positioning of results when statements returned undefined

0.2.3

  • Experimenting with single window instead of split window

0.2.0

  • Rewrite for import to require, to support Node.js v6+
  • Parsing when semicolon or new line is typed
  • Autoparsing after 2s after inactivity

0.1.0

  • Initial release

vscode-nodejs-repl's People

Contributors

lostfields avatar plylrnsdy avatar

Watchers

James Cloos avatar kyle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.