Added example plugin with exterior assets

pull/85/head
Ruben Daniels 2015-04-03 01:35:00 +00:00 zatwierdzone przez Ruben Daniels
rodzic 46b1e9d862
commit 15d2fb2dbc
6 zmienionych plików z 277 dodań i 0 usunięć

Wyświetl plik

@ -0,0 +1,8 @@
// Create a custom Cloud9 build system - similar to the Sublime build system
// For more information see https://docs.c9.io/custom_runners.html
{
"cmd" : ["ls", "$file", "$args"],
"env" : {},
"info" : "Building $project_path/$file_name",
"selector": "source.ext"
}

Wyświetl plik

@ -0,0 +1,28 @@
// demostene.ro - Eclipse keymap for Cloud 9
// http://demostene.ro/2014/11/eclipse-keymap-for-cloud9-ide-c9-io.html
[
{
"command": "gotoline",
"keys": ["Ctrl-L"]
},
{
"command": "formatcode",
"keys": ["Ctrl-Shift-F"]
},
{
"command": "renameVar",
"keys": ["Alt-Shift-R"]
},
{
"command": "searchinfiles",
"keys": ["Ctrl-H"]
},
{
"command": "navigate",
"keys": ["Ctrl-Shift-R"]
},
{
"command": "redo",
"keys": ["Ctrl-Y"]
}
]

Wyświetl plik

@ -0,0 +1,20 @@
{
languages: ["py"],
extensions: ["py"],
guess_fargs: true,
extract_docs: true,
tags: [
{ regex: /(?:^|\n)\s*class\s+([^ \(:]+)/g, kind: "package" },
{ regex: /(?:^|\n)\s*def\s+(?!_)([^ \(:]+)/g, kind: "method" },
{ regex: /(?:^|\n)\s*def\s+(?!__[^ \(:]+__)(_[^ \(]*)/g, kind: "method2" },
{ regex: /(?:^|\n)\s*def\s+(__[^ \(:]+__)/g, kind: "property" },
{
regex: new RegExp(
"(?:^|\\n)\\s*import\\s+([^ \\(]+)"
),
kind: "import"
}
]
}

Wyświetl plik

@ -0,0 +1,8 @@
// Create a custom Cloud9 runner - similar to the Sublime build system
// For more information see https://docs.c9.io/custom_runners.html
{
"cmd" : ["ls", "$file", "$args"],
"info" : "Started $project_path$file_name",
"env" : {},
"selector" : "source.ext"
}

Wyświetl plik

@ -0,0 +1,56 @@
# scope: mako; include: html, javascript
snippet def
<%def name="${1:name}">
${2:}
</%def>
snippet call
<%call expr="${1:name}">
${2:}
</%call>
snippet doc
<%doc>
${1:}
</%doc>
snippet text
<%text>
${1:}
</%text>
snippet for
% for ${1:i} in ${2:iter}:
${3:}
% endfor
snippet if if
% if ${1:condition}:
${2:}
% endif
snippet if if/else
% if ${1:condition}:
${2:}
% else:
${3:}
% endif
snippet try
% try:
${1:}
% except${2:}:
${3:pass}
% endtry
snippet wh
% while ${1:}:
${2:}
% endwhile
snippet $
${ ${1:} }
snippet <%
<% ${1:} %>
snippet <!%
<!% ${1:} %>
snippet inherit
<%inherit file="${1:filename}" />
snippet include
<%include file="${1:filename}" />
snippet namespace
<%namespace file="${1:name}" />
snippet page
<%page args="${1:}" />

Wyświetl plik

@ -0,0 +1,157 @@
/* name: Cloud9 Day; isDark: false; cssClass: ace-cloud9-day; */
.ace-cloud9-day .ace_gutter {
background: #ECECEC;
color: #333;
}
.ace-cloud9-day .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
.ace-cloud9-day .ace_fold {
background-color: #6B72E6;
}
.ace-cloud9-day {
background-color: #FBFBFB;
color: black;
}
.ace-cloud9-day .ace_cursor {
color: black;
}
.ace-cloud9-day .ace_invisible {
color: rgb(191, 191, 191);
}
.ace-cloud9-day .ace_storage,
.ace-cloud9-day .ace_keyword {
color: rgb(24, 122, 234);
}
.ace-cloud9-day .ace_constant {
color: rgb(197, 6, 11);
}
.ace-cloud9-day .ace_constant.ace_buildin {
color: rgb(88, 72, 246);
}
.ace-cloud9-day .ace_constant.ace_language {
color: rgb(88, 92, 246);
}
.ace-cloud9-day .ace_constant.ace_library {
color: rgb(6, 150, 14);
}
.ace-cloud9-day .ace_invalid {
background-color: rgba(255, 0, 0, 0.1);
color: red;
}
.ace-cloud9-day .ace_support.ace_function {
color: rgb(60, 76, 114);
}
.ace-cloud9-day .ace_support.ace_constant {
color: rgb(6, 150, 14);
}
.ace-cloud9-day .ace_support.ace_type,
.ace-cloud9-day .ace_support.ace_class {
color: rgb(109, 121, 222);
}
.ace-cloud9-day .ace_keyword.ace_operator {
color: rgb(104, 118, 135);
}
.ace-cloud9-day .ace_string {
color: rgb(3, 106, 7);
}
.ace-cloud9-day .ace_comment {
color: rgb(76, 136, 107);
}
.ace-cloud9-day .ace_comment.ace_doc {
color: rgb(0, 102, 255);
}
.ace-cloud9-day .ace_comment.ace_doc.ace_tag {
color: rgb(128, 159, 191);
}
.ace-cloud9-day .ace_constant.ace_numeric {
color: rgb(0, 0, 205);
}
.ace-cloud9-day .ace_variable {
color: rgb(49, 132, 149);
}
.ace-cloud9-day .ace_xml-pe {
color: rgb(104, 104, 91);
}
.ace-cloud9-day .ace_entity.ace_name.ace_function {
color: #0000A2;
}
.ace-cloud9-day .ace_heading {
color: rgb(12, 7, 255);
}
.ace-cloud9-day .ace_list {
color:rgb(185, 6, 144);
}
.ace-cloud9-day .ace_meta.ace_tag {
color:rgb(0, 22, 142);
}
.ace-cloud9-day .ace_string.ace_regex {
color: rgb(255, 0, 0)
}
.ace-cloud9-day .ace_marker-layer .ace_selection {
background: rgb(181, 213, 255);
}
.ace-cloud9-day.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px white;
border-radius: 2px;
}
.ace-cloud9-day .ace_marker-layer .ace_step {
background: rgb(247, 237, 137);
}
.ace-cloud9-day .ace_marker-layer .ace_stack {
background: #BAE0A0;
}
.ace-cloud9-day .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgb(192, 192, 192);
}
.ace-cloud9-day .ace_marker-layer .ace_active-line {
background: rgba(0, 0, 0, 0.07);
}
.ace-cloud9-day .ace_gutter-active-line {
background-color : #E5E5E5;
}
.ace-cloud9-day .ace_marker-layer .ace_selected-word {
background: rgb(250, 250, 255);
border: 1px solid rgb(200, 200, 250);
}
.ace-cloud9-day .ace_indent-guide {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;
}