@phoenix-plugin-registry/deddy.runscript

0.6.1 • Public • Published

#Brackets Run Script extension

Use it to run a selected/all text from opened document as JS inside brackets without opening developer tools.

Usefull if you developing a brackets extension or just to try/test your script inside brackets.

especially if you have extension like console plus (https://github.com/sixertoy/brackets-console-plus), so you don't have to open developer console at all.

Now with Python, Ruby, Perl and PHP support!!! Just make sure that you have Python, Ruby and PHP installed on your system and Python, Ruby, Perl and PHP path already set (you can invoke python and PHP from cmd).

#Usage

Just select the text that you want to run -> right click -> Run Script as JS/Python/PHP/Ruby/Perl. or Right click -> Run Script as JS/Python/PHP/Ruby/Perl, if you want to run all text in opened document

For running a php script, it must have a php tag () in your document/selected text, example:

<?php 
    print "Hello word";
?>

if you select those script it will be printed "Hello word" on the console.

You can do this too:

this text is not from php code, 
<?php
    echo "this text is from php";
?>

will be printed "this text is not from php code, this text is from php" in javascript console. #Todo

  • Run script as Python
  • Run script as PHP
  • Run script as Ruby
  • Run script as Perl
  • Run script as Lua

#Requested Functionality Added quick run (press F9 for running script) request by https://github.com/Hirse issue https://github.com/caphodel/brackets-runscript/issues/1

Readme

Keywords

none

Package Sidebar

Install

npm i @phoenix-plugin-registry/deddy.runscript

Weekly Downloads

0

Version

0.6.1

License

MIT

Unpacked Size

1.32 MB

Total Files

5

Last publish

Collaborators

  • ushmajit
  • core.ai