id stringlengths 34 124 | type stringclasses 4
values | prompt stringlengths 0 4.95k | response stringlengths 21 4.89k | source_lang stringclasses 3
values | target_lang stringclasses 2
values | repo stringclasses 75
values | path stringlengths 10 88 | license stringclasses 1
value | commit stringlengths 40 40 | stars int64 431 18.7k | source_url stringlengths 86 176 | line_start int64 1 214 | line_end int64 3 253 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jnordberg/wintersmith:src/plugins/json-page.coffee:1:completion | completion | path = require 'path'
async = require 'async'
{Page} = require './page'
{readJSON} = require './../core/utils'
class JsonPage extends Page | JsonPage.fromFile = (env, filepath, callback) ->
async.waterfall [
async.apply readJSON, filepath.full
(metadata, callback) =>
page = new this filepath, metadata.content or '', metadata
callback null, page
], callback
module.exports = JsonPage | CoffeeScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 8ea4fef1ec1200537f0cc3fff1c3a1228ab338a5 | 3,484 | https://github.com/jnordberg/wintersmith/blob/8ea4fef1ec1200537f0cc3fff1c3a1228ab338a5/src/plugins/json-page.coffee | 1 | 17 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:raw_corpus | raw_corpus | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../core/utils'
class JsonPage extends Page
JsonPage.fromFile = (env, filepath, callback) ->
async.waterfall [
async.apply readJSON, filepath.full
(metadata, callback) =>
page = new this filepath, metadata.co... | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 1cad02556f9f384086b05d7d914be5dcacc13294 | 3,484 | https://github.com/jnordberg/wintersmith/blob/1cad02556f9f384086b05d7d914be5dcacc13294/src/plugins/json-page.coffee | 1 | 17 | ||
jnordberg/wintersmith:src/plugins/json-page.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../core/utils'
class JsonPage extends Page
JsonPage.fromFile = (env, filepath, callback) ->
async.waterfall [
async.apply readJSON, filepath.full
(metadata,... | var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../core/utils'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(env, filepath, callback) {
return async.waterfall([
async.apply(readJSON,
... | CoffeeScript | JavaScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 1cad02556f9f384086b05d7d914be5dcacc13294 | 3,484 | https://github.com/jnordberg/wintersmith/blob/1cad02556f9f384086b05d7d914be5dcacc13294/src/plugins/json-page.coffee | 1 | 17 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../core/utils'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(env, filepath, callback) ... | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../core/utils'
class JsonPage extends Page
JsonPage.fromFile = (env, filepath, callback) ->
async.waterfall [
async.apply readJSON, filepath.full
(metadata, callback) =>
page = new this filepath, metadata.co... | JavaScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 1cad02556f9f384086b05d7d914be5dcacc13294 | 3,484 | https://github.com/jnordberg/wintersmith/blob/1cad02556f9f384086b05d7d914be5dcacc13294/src/plugins/json-page.coffee | 1 | 17 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:completion | completion | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../core/utils'
class JsonPage extends Page | JsonPage.fromFile = (env, filepath, callback) ->
async.waterfall [
async.apply readJSON, filepath.full
(metadata, callback) =>
page = new this filepath, metadata.content or '', metadata
callback null, page
], callback
module.exports = JsonPage | CoffeeScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 1cad02556f9f384086b05d7d914be5dcacc13294 | 3,484 | https://github.com/jnordberg/wintersmith/blob/1cad02556f9f384086b05d7d914be5dcacc13294/src/plugins/json-page.coffee | 1 | 17 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:raw_corpus | raw_corpus | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) =>
page = new this filename, met... | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 96d9fb817e6740476e39f48e39b1effd15605dac | 3,484 | https://github.com/jnordberg/wintersmith/blob/96d9fb817e6740476e39f48e39b1effd15605dac/src/plugins/json-page.coffee | 1 | 16 | ||
jnordberg/wintersmith:src/plugins/json-page.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(m... | var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../common'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(filename, base, callback) {
return async.waterfall([
async.apply(readJSON,
... | CoffeeScript | JavaScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 96d9fb817e6740476e39f48e39b1effd15605dac | 3,484 | https://github.com/jnordberg/wintersmith/blob/96d9fb817e6740476e39f48e39b1effd15605dac/src/plugins/json-page.coffee | 1 | 16 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../common'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(filename, base, callback) {
... | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) =>
page = new this filename, met... | JavaScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 96d9fb817e6740476e39f48e39b1effd15605dac | 3,484 | https://github.com/jnordberg/wintersmith/blob/96d9fb817e6740476e39f48e39b1effd15605dac/src/plugins/json-page.coffee | 1 | 16 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:completion | completion | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) -> | async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) =>
page = new this filename, metadata.content or '', metadata
callback null, page
], callback
module.exports = JsonPage | CoffeeScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 96d9fb817e6740476e39f48e39b1effd15605dac | 3,484 | https://github.com/jnordberg/wintersmith/blob/96d9fb817e6740476e39f48e39b1effd15605dac/src/plugins/json-page.coffee | 1 | 16 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:raw_corpus | raw_corpus | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) ->
page = new JsonPage filename,... | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64 | 3,484 | https://github.com/jnordberg/wintersmith/blob/98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64/src/plugins/json-page.coffee | 1 | 16 | ||
jnordberg/wintersmith:src/plugins/json-page.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(m... | var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../common'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(filename, base, callback) {
return async.waterfall([
async.apply(readJSON,
... | CoffeeScript | JavaScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64 | 3,484 | https://github.com/jnordberg/wintersmith/blob/98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64/src/plugins/json-page.coffee | 1 | 16 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var JsonPage, Page, async, path, readJSON;
path = require('path');
async = require('async');
Page = require('./page');
({readJSON} = require('./../common'));
JsonPage = class JsonPage extends Page {};
JsonPage.fromFile = function(filename, base, callback) {
... | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) ->
async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) ->
page = new JsonPage filename,... | JavaScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64 | 3,484 | https://github.com/jnordberg/wintersmith/blob/98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64/src/plugins/json-page.coffee | 1 | 16 |
jnordberg/wintersmith:src/plugins/json-page.coffee:1:completion | completion | path = require 'path'
async = require 'async'
Page = require './page'
{readJSON} = require './../common'
class JsonPage extends Page
JsonPage.fromFile = (filename, base, callback) -> | async.waterfall [
async.apply readJSON, path.join(base, filename)
(metadata, callback) ->
page = new JsonPage filename, metadata.content or '', metadata
callback null, page
], callback
module.exports = JsonPage | CoffeeScript | CoffeeScript | jnordberg/wintersmith | src/plugins/json-page.coffee | MIT | 98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64 | 3,484 | https://github.com/jnordberg/wintersmith/blob/98712ce0ad2b01ae2c5fa855d0e41d8b82c45f64/src/plugins/json-page.coffee | 1 | 16 |
nicolaskruchten/pivottable:locales/pivot.da.coffee:1:raw_corpus | raw_corpus | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... | CoffeeScript | nicolaskruchten/pivottable | locales/pivot.da.coffee | MIT | 838ec2fc38747749c28d2fd1cb6c4ace9e9cc520 | 4,440 | https://github.com/nicolaskruchten/pivottable/blob/838ec2fc38747749c28d2fd1cb6c4ace9e9cc520/locales/pivot.da.coffee | 1 | 50 | ||
nicolaskruchten/pivottable:locales/pivot.da.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain brow... | var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") { // CommonJS
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) { // AMD
return define(["jquery"], pivotModule);
} else {
// Plain br... | CoffeeScript | JavaScript | nicolaskruchten/pivottable | locales/pivot.da.coffee | MIT | 838ec2fc38747749c28d2fd1cb6c4ace9e9cc520 | 4,440 | https://github.com/nicolaskruchten/pivottable/blob/838ec2fc38747749c28d2fd1cb6c4ace9e9cc520/locales/pivot.da.coffee | 1 | 50 |
nicolaskruchten/pivottable:locales/pivot.da.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") { // CommonJS
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) { // AMD
return defi... | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... | JavaScript | CoffeeScript | nicolaskruchten/pivottable | locales/pivot.da.coffee | MIT | 838ec2fc38747749c28d2fd1cb6c4ace9e9cc520 | 4,440 | https://github.com/nicolaskruchten/pivottable/blob/838ec2fc38747749c28d2fd1cb6c4ace9e9cc520/locales/pivot.da.coffee | 1 | 50 |
nicolaskruchten/pivottable:locales/pivot.da.coffee:1:completion | completion | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... | digitsAfterDecimal: 1,
scaler: 100,
suffix: "%",
thousandsSep: ".",
decimalSep: ","
})
$.pivotUtilities.locales.da =
localeStrings:
renderError: "Der opstod en fejl, mens du trak i feltet",
computeError: "Der opstod en fejl ved... | CoffeeScript | CoffeeScript | nicolaskruchten/pivottable | locales/pivot.da.coffee | MIT | 838ec2fc38747749c28d2fd1cb6c4ace9e9cc520 | 4,440 | https://github.com/nicolaskruchten/pivottable/blob/838ec2fc38747749c28d2fd1cb6c4ace9e9cc520/locales/pivot.da.coffee | 1 | 50 |
oozcitak/xmlbuilder-js:test/guards/dtdelement.coffee:1:raw_corpus | raw_corpus | suite 'DTDElement Guards:', ->
test 'constructor', ->
err(
() -> xml('test').dtd().ele()
Error
"Missing DTD element name. parent: <test>"
) | CoffeeScript | oozcitak/xmlbuilder-js | test/guards/dtdelement.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/guards/dtdelement.coffee | 1 | 7 | ||
oozcitak/xmlbuilder-js:test/guards/dtdelement.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
suite 'DTDElement Guards:', ->
test 'constructor', ->
err(
() -> xml('test').dtd().ele()
Error
"Missing DTD element name. parent: <test>"
)
``` | suite('DTDElement Guards:', function() {
return test('constructor', function() {
return err(function() {
return xml('test').dtd().ele();
}, Error, "Missing DTD element name. parent: <test>");
});
}); | CoffeeScript | JavaScript | oozcitak/xmlbuilder-js | test/guards/dtdelement.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/guards/dtdelement.coffee | 1 | 7 |
oozcitak/xmlbuilder-js:test/guards/dtdelement.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
suite('DTDElement Guards:', function() {
return test('constructor', function() {
return err(function() {
return xml('test').dtd().ele();
}, Error, "Missing DTD element name. parent: <test>");
});
});
``` | suite 'DTDElement Guards:', ->
test 'constructor', ->
err(
() -> xml('test').dtd().ele()
Error
"Missing DTD element name. parent: <test>"
) | JavaScript | CoffeeScript | oozcitak/xmlbuilder-js | test/guards/dtdelement.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/guards/dtdelement.coffee | 1 | 7 |
oozcitak/xmlbuilder-js:test/guards/dtdelement.coffee:1:completion | completion | suite 'DTDElement Guards:', ->
test 'constructor', ->
err( | () -> xml('test').dtd().ele()
Error
"Missing DTD element name. parent: <test>"
) | CoffeeScript | CoffeeScript | oozcitak/xmlbuilder-js | test/guards/dtdelement.coffee | MIT | ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1 | 926 | https://github.com/oozcitak/xmlbuilder-js/blob/ce625aeb9f52d1f75d5d94260794d3b5fd74a8b1/test/guards/dtdelement.coffee | 1 | 7 |
jashkenas/coffeescript:test/booleans.coffee:1:raw_corpus | raw_corpus | # Boolean Literals
# ----------------
# TODO: add method invocation tests: true.toString() is "true"
test "#764 Booleans should be indexable", ->
toString = Boolean::toString
eq toString, true['toString']
eq toString, false['toString']
eq toString, yes['toString']
eq toString, no['toString']
eq toString,... | CoffeeScript | jashkenas/coffeescript | test/booleans.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/booleans.coffee | 1 | 21 | ||
jashkenas/coffeescript:test/booleans.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
# Boolean Literals
# ----------------
# TODO: add method invocation tests: true.toString() is "true"
test "#764 Booleans should be indexable", ->
toString = Boolean::toString
eq toString, true['toString']
eq toString, false['toString']
eq toString, yes... | // Boolean Literals
// ----------------
// TODO: add method invocation tests: true.toString() is "true"
test("#764 Booleans should be indexable", function() {
var toString;
toString = Boolean.prototype.toString;
eq(toString, true['toString']);
eq(toString, false['toString']);
eq(toString, true['toString']);
... | CoffeeScript | JavaScript | jashkenas/coffeescript | test/booleans.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/booleans.coffee | 1 | 21 |
jashkenas/coffeescript:test/booleans.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
// Boolean Literals
// ----------------
// TODO: add method invocation tests: true.toString() is "true"
test("#764 Booleans should be indexable", function() {
var toString;
toString = Boolean.prototype.toString;
eq(toString, true['toString']);
eq(toString,... | # Boolean Literals
# ----------------
# TODO: add method invocation tests: true.toString() is "true"
test "#764 Booleans should be indexable", ->
toString = Boolean::toString
eq toString, true['toString']
eq toString, false['toString']
eq toString, yes['toString']
eq toString, no['toString']
eq toString,... | JavaScript | CoffeeScript | jashkenas/coffeescript | test/booleans.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/booleans.coffee | 1 | 21 |
jashkenas/coffeescript:test/booleans.coffee:1:completion | completion | # Boolean Literals
# ----------------
# TODO: add method invocation tests: true.toString() is "true"
test "#764 Booleans should be indexable", ->
toString = Boolean::toString
eq toString, true['toString']
eq toString, false['toString'] | eq toString, yes['toString']
eq toString, no['toString']
eq toString, on['toString']
eq toString, off['toString']
eq toString, true.toString
eq toString, false.toString
eq toString, yes.toString
eq toString, no.toString
eq toString, on.toString
eq toString, off.toString | CoffeeScript | CoffeeScript | jashkenas/coffeescript | test/booleans.coffee | MIT | 817c39a13065a900725943c33a79252a69d779e2 | 16,577 | https://github.com/jashkenas/coffeescript/blob/817c39a13065a900725943c33a79252a69d779e2/test/booleans.coffee | 1 | 21 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports =
config: require './config-schema'
core: null
statusBar: null
activate: ->
@core = require './core'
@statusBar = require './status-bar'
deactivate: ->
@core.destroy()
@statusBar.destroy()
@core = null
@statusBar = null
consumeStatusBar: (atomStatusBar) ->
atom.... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 1e555ee3a49902b203134072ff079ae580fdff10 | 478 | https://github.com/jeremyramin/terminal-plus/blob/1e555ee3a49902b203134072ff079ae580fdff10/lib/terminal-plus.coffee | 1 | 30 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports =
config: require './config-schema'
core: null
statusBar: null
activate: ->
@core = require './core'
@statusBar = require './status-bar'
deactivate: ->
@core.destroy()
@statusBar.destroy()
@core = null
@statusBar... | module.exports = {
config: require('./config-schema'),
core: null,
statusBar: null,
activate: function() {
this.core = require('./core');
return this.statusBar = require('./status-bar');
},
deactivate: function() {
this.core.destroy();
this.statusBar.destroy();
this.core = null;
retu... | CoffeeScript | JavaScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 1e555ee3a49902b203134072ff079ae580fdff10 | 478 | https://github.com/jeremyramin/terminal-plus/blob/1e555ee3a49902b203134072ff079ae580fdff10/lib/terminal-plus.coffee | 1 | 30 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = {
config: require('./config-schema'),
core: null,
statusBar: null,
activate: function() {
this.core = require('./core');
return this.statusBar = require('./status-bar');
},
deactivate: function() {
this.core.destroy();
t... | module.exports =
config: require './config-schema'
core: null
statusBar: null
activate: ->
@core = require './core'
@statusBar = require './status-bar'
deactivate: ->
@core.destroy()
@statusBar.destroy()
@core = null
@statusBar = null
consumeStatusBar: (atomStatusBar) ->
atom.... | JavaScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 1e555ee3a49902b203134072ff079ae580fdff10 | 478 | https://github.com/jeremyramin/terminal-plus/blob/1e555ee3a49902b203134072ff079ae580fdff10/lib/terminal-plus.coffee | 1 | 30 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports =
config: require './config-schema'
core: null
statusBar: null
activate: ->
@core = require './core'
@statusBar = require './status-bar'
deactivate: ->
@core.destroy()
@statusBar.destroy()
@core = null
@statusBar = null | consumeStatusBar: (atomStatusBar) ->
atom.config.observe 'terminal-plus.core.statusBar', (value) =>
@statusBar.destroyContainer()
switch value
when "Full"
@statusBar.setContainer atom.workspace.addBottomPanel {
item: @statusBar
priority: 100
}
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 1e555ee3a49902b203134072ff079ae580fdff10 | 478 | https://github.com/jeremyramin/terminal-plus/blob/1e555ee3a49902b203134072ff079ae580fdff10/lib/terminal-plus.coffee | 1 | 30 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 1 | 50 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Curs... | module.exports = {
statusBar: null,
activate: function() {
return this.statusBar = new (require('./status-bar'))();
},
deactivate: function() {
return this.statusBar.destroy();
},
config: {
toggles: {
type: 'object',
order: 1,
properties: {
cursorBlink: {
titl... | CoffeeScript | JavaScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
module.exports = {
statusBar: null,
activate: function() {
return this.statusBar = new (require('./status-bar'))();
},
deactivate: function() {
return this.statusBar.destroy();
},
config: {
toggles: {
type: 'object',
order: 1,
... | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink... | JavaScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink... | type: 'object'
order: 2
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on terminal initialization.'
type: 'string'
default: ''
scrollback:
title: 'Scroll Back'
description: 'How many lines of hist... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is made?'
type: 'string'
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is made?'
type: 'string'
... | fontSize:
title: 'Font Size'
description: 'Override the editor\'s default font size.'
type: 'integer'
default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
defaultPanelHeight:
title: 'Default Panel Height'
descri... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | 'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'co... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 101 | 150 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | 'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'co... | default: 'yellow'
green:
title: 'Green'
description: 'Green color used for status icon.'
type: 'color'
default: 'green'
blue:
title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 101 | 150 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:raw_corpus | raw_corpus | default: 'cyan'
magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 151 | 156 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:completion | completion | default: 'cyan'
magenta:
title: 'Magenta' | description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d | 478 | https://github.com/jeremyramin/terminal-plus/blob/0d1f835d3bd8cce8ceed3ee40ea42f1714bfb01d/lib/terminal-plus.coffee | 151 | 156 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is made?'
type: 'string'
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 08ec47d1d4fcc9ea52f72adc94f0d2875e3e651e | 478 | https://github.com/jeremyramin/terminal-plus/blob/08ec47d1d4fcc9ea52f72adc94f0d2875e3e651e/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is made?'
type: 'string'
... | fontSize:
title: 'Font Size'
description: 'Override the editor\'s default font size.'
type: 'integer'
default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
defaultPanelHeight:
title: 'Default Panel Height'
descri... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 08ec47d1d4fcc9ea52f72adc94f0d2875e3e651e | 478 | https://github.com/jeremyramin/terminal-plus/blob/08ec47d1d4fcc9ea52f72adc94f0d2875e3e651e/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports =
statusBar: null
activate: ->
atom.config.unset('terminal-plus.style.cursorBlink')
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Curs... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 1 | 50 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports =
statusBar: null
activate: ->
atom.config.unset('terminal-plus.style.cursorBlink')
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Curs... | core:
type: 'object'
order: 2
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on terminal initialization.'
type: 'string'
default: ''
scrollback:
title: 'Scroll Back'
description: 'How many l... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is m... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is m... | default: 'monospace'
fontSize:
title: 'Font Size'
description: 'Override the editor\'s default font size.'
type: 'integer'
default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
defaultPanelHeight:
title: 'Default P... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | 'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 101 | 150 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | 'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.... | type: 'color'
default: 'yellow'
green:
title: 'Green'
description: 'Green color used for status icon.'
type: 'color'
default: 'green'
blue:
title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 101 | 150 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:raw_corpus | raw_corpus | type: 'color'
default: 'cyan'
magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 151 | 157 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:completion | completion | type: 'color'
default: 'cyan'
magenta: | title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a3d3439b0545632235215fab7382a954084925b6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a3d3439b0545632235215fab7382a954084925b6/lib/terminal-plus.coffee | 151 | 157 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
core:
type: 'object'
order: 1
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on t... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 1 | 50 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
core:
type: 'object'
order: 1
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on t... | title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: do ->
if process.platform is 'win32'
path = require 'path'
path.resolve(process.env.SystemRoot, 'System32', 'WindowsPowerShell', 'v1.0', 'po... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the terminal is active?'
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the terminal is active?'
... | description: 'Default height of a terminal panel.'
type: 'integer'
default: 300
minimum: 0
theme:
title: 'Theme'
description: 'Select a theme for the terminal.'
type: 'string'
default: 'standard'
enum: [
'standard',
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.'
type: 'color'
default: 'orang... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 101 | 147 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.'
type: 'color'
default: 'orang... | title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
purple:
title: 'Purple'
description: 'Purple color used for status icon.'
type: 'color'
default: 'purple'
pink:
title: 'Pink'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 701b984e24dcb069747be5e354b9da0e99f03972 | 478 | https://github.com/jeremyramin/terminal-plus/blob/701b984e24dcb069747be5e354b9da0e99f03972/lib/terminal-plus.coffee | 101 | 147 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
core:
type: 'object'
order: 1
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on t... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 1 | 50 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports =
statusBar: null
activate: ->
@statusBar = new (require './status-bar')()
deactivate: ->
@statusBar.destroy()
config:
core:
type: 'object'
order: 1
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on t... | title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: do ->
switch process.platform
when 'win32'
path = require 'path'
path.resolve(process.env.SystemRoot, 'WindowsPowerShell',... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 1 | 50 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | animationSpeed:
title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the te... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | animationSpeed:
title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the te... | title: 'Default Panel Height'
description: 'Default height of a terminal panel.'
type: 'integer'
default: 300
minimum: 0
theme:
title: 'Theme'
description: 'Select a theme for the terminal.'
type: 'string'
default: 'standard'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.'
type: 'color'
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 101 | 148 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.'
type: 'color'
... | title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
purple:
title: 'Purple'
description: 'Purple color used for status icon.'
type: 'color'
default: 'purple'
pink:
title: 'Pink'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | f96049948e2a9bbef657e70bfdf961ffd137afce | 478 | https://github.com/jeremyramin/terminal-plus/blob/f96049948e2a9bbef657e70bfdf961ffd137afce/lib/terminal-plus.coffee | 101 | 148 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | animationSpeed:
title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the te... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 9636823c1dadd50d918fad010768b0ad5a9264e7 | 478 | https://github.com/jeremyramin/terminal-plus/blob/9636823c1dadd50d918fad010768b0ad5a9264e7/lib/terminal-plus.coffee | 51 | 100 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | animationSpeed:
title: 'Animation Speed'
description: 'How fast should the window animate?'
type: 'number'
default: '1'
minimum: '0'
maximum: '100'
cursorBlink:
title: 'Cursor Blink'
description: 'Should the cursor blink when the te... | title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
theme:
title: 'Theme'
description: 'Select a theme for the terminal.'
type: 'string'
default: 'standard'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 9636823c1dadd50d918fad010768b0ad5a9264e7 | 478 | https://github.com/jeremyramin/terminal-plus/blob/9636823c1dadd50d918fad010768b0ad5a9264e7/lib/terminal-plus.coffee | 51 | 100 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports = TerminalPlus =
statusBar: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Cursor Blink'
descripti... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 3 | 52 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports = TerminalPlus =
statusBar: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
deactivate: ->
@statusBar.destroy()
config:
toggles:
type: 'object'
order: 1
properties:
cursorBlink:
title: 'Cursor Blink'
descripti... | type: 'object'
order: 2
properties:
autoRunCommand:
title: 'Auto Run Command'
description: 'Command to run on terminal initialization.'
type: 'string'
default: ''
scrollback:
title: 'Scroll Back'
description: 'How many lines of hist... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 3 | 52 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is m... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 53 | 102 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
default: ''
workingDirectory:
title: 'Working Directory'
description: 'Which directory should be the present working directory when a new terminal is m... | 'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
fontFamily:
title: 'Font Family'
description: 'Override the editor\'s default font family.'
type: 'string'
de... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 53 | 102 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 103 | 152 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
default: 'red'
orange:
title: 'Orange'
description: 'Orange color used for status icon.... | blue:
title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
purple:
title: 'Purple'
description: 'Purple color used for status icon.'
type: 'color'
default: 'purple'
pink:
titl... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | ede9ac97206fa8586e6c3b0da1a23ae446205e7d | 478 | https://github.com/jeremyramin/terminal-plus/blob/ede9ac97206fa8586e6c3b0da1a23ae446205e7d/lib/terminal-plus.coffee | 103 | 152 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 6 | 55 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | windowAnimations:
title: 'Window Animations'
description: 'Do you want the panel to transition on open and on hide?'
type: 'boolean'
default: true
core:
type: 'object'
order: 2
properties:
autoRunCommand:
title: 'Auto Run Command'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 6 | 55 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | when 'win32'
path.resolve(process.env.SystemRoot, 'WindowsPowerShell', 'v1.0', 'powershell.exe')
else
process.env.SHELL
shellArguments:
title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 56 | 105 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | when 'win32'
path.resolve(process.env.SystemRoot, 'WindowsPowerShell', 'v1.0', 'powershell.exe')
else
process.env.SHELL
shellArguments:
title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type... | 'standard',
'inverse',
'grass',
'homebrew',
'man-page',
'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
fontFamily:
title: 'Fon... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 56 | 105 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red co... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 106 | 155 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
r... | ({
maxPanelHeight: {
title: 'Maximum Panel Height',
description: 'Maximum height of a terminal panel.',
type: 'integer',
default: 300,
minimum: 50
},
colors: {
type: 'object',
order: 4,
properties: {
red: {
title: 'Red',
description: 'Red color used for status... | CoffeeScript | JavaScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
maxPanelHeight: {
title: 'Maximum Panel Height',
description: 'Maximum height of a terminal panel.',
type: 'integer',
default: 300,
minimum: 50
},
colors: {
type: 'object',
order: 4,
properties: {
red: {
title:... | maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red co... | JavaScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red co... | green:
title: 'Green'
description: 'Green color used for status icon.'
type: 'color'
default: 'green'
blue:
title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
purple:
title:... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:raw_corpus | raw_corpus | magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 156 | 160 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta'
``` | ({
magenta: {
title: 'Magenta',
description: 'Magenta color used for status icon.',
type: 'color',
default: 'magenta'
}
}); | CoffeeScript | JavaScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 156 | 160 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
magenta: {
title: 'Magenta',
description: 'Magenta color used for status icon.',
type: 'color',
default: 'magenta'
}
});
``` | magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | JavaScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 156 | 160 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:completion | completion | magenta:
title: 'Magenta' | description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 2ec90a3290414a242a4cc62eadbded00fc305bd4 | 478 | https://github.com/jeremyramin/terminal-plus/blob/2ec90a3290414a242a4cc62eadbded00fc305bd4/lib/terminal-plus.coffee | 156 | 160 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 6 | 55 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | forceTitle:
title: 'Force Terminal Title'
description: 'Force shell to give the terminal a title.'
type: 'boolean'
default: false
windowAnimations:
title: 'Window Animations'
description: 'Do you want the panel to transition on open and on hide?'
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 6 | 55 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
shellArguments:
title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
de... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 56 | 105 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
shellArguments:
title: 'Shell Arguments'
description: 'Specify some arguments to use when launching the shell.'
type: 'string'
de... | 'grass',
'homebrew',
'man-page',
'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
'solid-colors',
]
fontFamily:
title: 'Font Family'
description: 'Override the ... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 56 | 105 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
defau... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 106 | 155 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'object'
order: 4
properties:
red:
title: 'Red'
description: 'Red color used for status icon.'
type: 'color'
defau... | description: 'Green color used for status icon.'
type: 'color'
default: 'green'
blue:
title: 'Blue'
description: 'Blue color used for status icon.'
type: 'color'
default: 'blue'
purple:
title: 'Purple'
description: 'Purple c... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:raw_corpus | raw_corpus | description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 697ff01b823375f05fa1c3701a67e381b0db70f6 | 478 | https://github.com/jeremyramin/terminal-plus/blob/697ff01b823375f05fa1c3701a67e381b0db70f6/lib/terminal-plus.coffee | 156 | 158 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:raw_corpus | raw_corpus | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 6 | 55 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:1:completion | completion | module.exports = TerminalPlus =
statusBar: null
subscriptions: null
activate: (state) ->
@statusBar = new StatusBar(state.statusBarState)
@subscriptions = new CompositeDisposable
deactivate: ->
@subscriptions.dispose()
@statusBar.destroy()
serialize: ->
statusBarState: @statusBar.serial... | sortableStatus:
title: 'Make Status Bar Sortable'
description: 'Load the sortable interface? [WARNING: This adds to startup time.]'
type: 'boolean'
default: false
forceTitle:
title: 'Force Terminal Title'
description: 'Force shell to give the terminal ... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 6 | 55 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Scroll Back'
description: 'How many lines of history should be kept?'
type: 'integer'
default: 1000
shellOverride:
title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 56 | 105 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Scroll Back'
description: 'How many lines of history should be kept?'
type: 'integer'
default: 1000
shellOverride:
title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
... | type: 'string'
default: 'standard'
enum: [
'standard',
'inverse',
'grass',
'homebrew',
'man-page',
'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 56 | 105 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:raw_corpus | raw_corpus | default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'objec... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 106 | 155 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:coffee_to_js | coffee_to_js | Convert this CoffeeScript to JavaScript.
```coffeescript
default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default:... | ({
default: (function() {
return atom.config.get('editor.fontSize')({
minimum: 1,
maximum: 100
});
})(),
maxPanelHeight: {
title: 'Maximum Panel Height',
description: 'Maximum height of a terminal panel.',
type: 'integer',
default: 300,
minimum: 50
},
colors: {
type... | CoffeeScript | JavaScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:js_to_coffee | js_to_coffee | Convert this JavaScript to CoffeeScript.
```javascript
({
default: (function() {
return atom.config.get('editor.fontSize')({
minimum: 1,
maximum: 100
});
})(),
maxPanelHeight: {
title: 'Maximum Panel Height',
description: 'Maximum height of a terminal panel.',
type: 'integer',
... | default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'objec... | JavaScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:3:completion | completion | default: do -> atom.config.get('editor.fontSize')
minimum: 1
maximum: 100
maxPanelHeight:
title: 'Maximum Panel Height'
description: 'Maximum height of a terminal panel.'
type: 'integer'
default: 300
minimum: 50
colors:
type: 'objec... | description: 'Yellow color used for status icon.'
type: 'color'
default: 'yellow'
green:
title: 'Green'
description: 'Green color used for status icon.'
type: 'color'
default: 'green'
blue:
title: 'Blue'
description: 'Blue c... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 106 | 155 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:raw_corpus | raw_corpus | description: 'Cyan color used for status icon.'
type: 'color'
default: 'cyan'
magenta:
title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 156 | 163 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:4:completion | completion | description: 'Cyan color used for status icon.'
type: 'color'
default: 'cyan'
magenta: | title: 'Magenta'
description: 'Magenta color used for status icon.'
type: 'color'
default: 'magenta' | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | 7823f6b3d383cc9aa73b1ddcb4c442547e2d51db | 478 | https://github.com/jeremyramin/terminal-plus/blob/7823f6b3d383cc9aa73b1ddcb4c442547e2d51db/lib/terminal-plus.coffee | 156 | 163 |
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:raw_corpus | raw_corpus | title: 'Scroll Back'
description: 'How many lines of history should be kept?'
type: 'integer'
default: 1000
shellOverride:
title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
... | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a2b8203c199e693f2423d5f940ee60b712d7fe73 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a2b8203c199e693f2423d5f940ee60b712d7fe73/lib/terminal-plus.coffee | 56 | 105 | ||
jeremyramin/terminal-plus:lib/terminal-plus.coffee:2:completion | completion | title: 'Scroll Back'
description: 'How many lines of history should be kept?'
type: 'integer'
default: 1000
shellOverride:
title: 'Shell Override'
description: 'Override the default shell instance to launch.'
type: 'string'
default: ''
... | type: 'string'
default: 'standard'
enum: [
'standard',
'inverse',
'grass',
'homebrew',
'man-page',
'novel',
'ocean',
'pro',
'red',
'red-sands',
'silver-aerogel',
... | CoffeeScript | CoffeeScript | jeremyramin/terminal-plus | lib/terminal-plus.coffee | MIT | a2b8203c199e693f2423d5f940ee60b712d7fe73 | 478 | https://github.com/jeremyramin/terminal-plus/blob/a2b8203c199e693f2423d5f940ee60b712d7fe73/lib/terminal-plus.coffee | 56 | 105 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.