Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
extended tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Dec 27, 2017
1 parent 832fc69 commit c9c1d23
Show file tree
Hide file tree
Showing 13 changed files with 304 additions and 57 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log (vscode-deploy-reloaded)

## 0.3.0 (December 27th, 2017; tools)

* bugfixes
* extended tools

## 0.2.0 (December 27th, 2017; improvements and bugfixes)

* bugfixes
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ The extension supports the following destinations:
* [Download files](#download-files-)
* [Compare files](#compare-files-)
* [List remote files](#list-remote-files-)
* [Tools](#tools-)
* [Quick code execution](#quick-code-execution-)
2. [Preview](#preview-)
3. [Install](#install-)
4. [How to use](#how-to-use-)
Expand Down Expand Up @@ -67,6 +69,12 @@ The extension supports the following destinations:

![Demo List remote files](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo6.gif)

### Tools [[↑](#demos-)]

#### Quick code execution [[↑](#tools-)]

![Demo Quick code execution](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo7.gif)

## Preview [[↑](#table-of-contents)]

Keep in mind, that this is a preview extension, which is in a good beta state.
Expand Down
13 changes: 9 additions & 4 deletions _res/css/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

h1, h2, h3, h4, h5, h6 {
border-bottom: 1px solid inherit;
clear: both;
display: block;
margin-bottom: 8px;
text-decoration: underline;
margin-bottom: 12px;
width: 100%;
}

Expand All @@ -18,5 +16,12 @@ a:hover {
}

table {
border-width: 1px;
border: 1px #777 solid;
border-spacing: 0;
border-collapse: separate;
}

table td, table th {
border: 1px #777 solid;
padding: 6px 10px;
}
Binary file added img/demo7.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-deploy-reloaded",
"displayName": "Deploy (Reloaded)",
"description": "Deploys files of a workspace to a destination.",
"version": "0.2.0",
"version": "0.3.0",
"publisher": "mkloubert",
"engines": {
"vscode": "^1.19.0"
Expand Down Expand Up @@ -556,10 +556,6 @@
"description": "The name of the target from where to sync.",
"type": "string"
},
{
"description": "The name of the target from where to sync.",
"type": "object"
},
{
"type": "object",
"properties": {
Expand Down Expand Up @@ -35886,6 +35882,7 @@
"nodemailer": "^4.4.1",
"parse-listing": "^1.1.3",
"pug": "^2.0.0-rc.4",
"random-float": "^1.0.0",
"sanitize-filename": "^1.6.1",
"ssh2-sftp-client": "^2.0.1",
"tmp": "0.0.33",
Expand Down
5 changes: 3 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ async function activateExtension(context: vscode.ExtensionContext) {
{
action: async () => {
await deploy_tools.showPackageFiles(
WORKSPACES
getAllPackagesSorted()
);
},
label: '$(microscope) ' + i18.t('tools.showPackageFiles.label'),
Expand All @@ -1148,7 +1148,8 @@ async function activateExtension(context: vscode.ExtensionContext) {
// skip icons
return i.label.substr(
i.label.indexOf(' ')
).trim();
).toLowerCase()
.trim();
}
)
);
Expand Down
4 changes: 4 additions & 0 deletions src/i18.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export interface Translation {
onChange?: {
activated?: string;
failed?: string;
text?: string;
waitingBeforeActivate?: string;
};
package?: {
Expand Down Expand Up @@ -114,10 +115,12 @@ export interface Translation {
onChange?: {
activated?: string;
failed?: string;
text?: string;
waitingBeforeActivate?: string;
};
onSave?: {
failed?: string;
text?: string;
};
package?: {
description?: string;
Expand Down Expand Up @@ -303,6 +306,7 @@ export interface Translation {
errors?: {
allFailed?: string;
};
text?: string;
};
};
targets?: {
Expand Down
4 changes: 4 additions & 0 deletions src/lang/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const translation: Translation = {
onChange: {
activated: "Automatisches Löschen wurde für den Arbeitsbereich{0:trim,surround,leading_space} aktiviert.",
failed: "Das automatische Löschen von{0:trim,surround,leading_space} in{1:trim,surround,leading_space} ist fehlgeschlagen:{2:trim,surround,leading_space}",
text: "Automatisches Löschen",
waitingBeforeActivate: "Automatisches Löschen wird für ca.{0:trim,leading_space} Sekunden für den Arbeitsbereich{1:trim,surround,leading_space} deaktiviert.",
},
package: {
Expand Down Expand Up @@ -107,10 +108,12 @@ export const translation: Translation = {
onChange: {
activated: "Das Bereitstellen nach dem Ändern wurde für den Arbeitsbereich{0:trim,surround,leading_space} aktiviert.",
failed: "Das Bereitstellen nach dem Ändern von{0:trim,surround,leading_space} nach{1:trim,surround,leading_space} ist fehlgeschlagen:{2:trim,surround,leading_space}",
text: "Bereitstellen beim Ändern",
waitingBeforeActivate: "Das Bereitstellen nach dem Ändern wird für ca.{0:trim,leading_space} Sekunden für den Arbeitsbereich{1:trim,surround,leading_space} deaktiviert.",
},
onSave: {
failed: "Das Bereitstellen nach dem Speichern von{0:trim,surround,leading_space} nach{1:trim,surround,leading_space} ist fehlgeschlagen:{2:trim,surround,leading_space}",
text: "Bereitstellen nach dem Speichern",
},
package: {
description: "Stellt die Dateien eines Paketes bereit",
Expand Down Expand Up @@ -297,6 +300,7 @@ export const translation: Translation = {
errors: {
allFailed: "Alle Synchronisierungs-Operationen sind feldgeschlagen!",
},
text: "Synchronisieren beim Öffnen",
},
},
targets: {
Expand Down
4 changes: 4 additions & 0 deletions src/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const translation: Translation = {
onChange: {
activated: "Remove on change has been activated for workspace{0:trim,surround,leading_space}.",
failed: "Remove on change for{0:trim,surround,leading_space} in{1:trim,surround,leading_space} failed:{2:trim,surround,leading_space}",
text: "Remove on change",
waitingBeforeActivate: "Remove on change is deactivated for about{0:trim,leading_space} seconds for workspace{1:trim,surround,leading_space}.",
},
package: {
Expand Down Expand Up @@ -107,10 +108,12 @@ export const translation: Translation = {
onChange: {
activated: "Deploy on change has been activated for workspace{0:trim,surround,leading_space}.",
failed: "Deploy on change from{0:trim,surround,leading_space} to{1:trim,surround,leading_space} failed:{2:trim,surround,leading_space}",
text: "Deploy on change",
waitingBeforeActivate: "Deploy on change is deactivated for about{0:trim,leading_space} seconds for workspace{1:trim,surround,leading_space}.",
},
onSave: {
failed: "Deploy on save from{0:trim,surround,leading_space} to{1:trim,surround,leading_space} failed:{2:trim,surround,leading_space}",
text: "Deploy on save",
},
package: {
description: "Deploys the files of a package",
Expand Down Expand Up @@ -298,6 +301,7 @@ export const translation: Translation = {
errors: {
allFailed: "All sync operations failed!",
},
text: "Sync when open",
},
},
targets: {
Expand Down
2 changes: 1 addition & 1 deletion src/resources/css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const REPOSITORY = {
// END: hl.railscasts.css

// START: style.css
"style.css": new Buffer("H4sIAAAAAAAACn1Q2woCIRB9F/wHX3proe1G2Ne4OqTkOos71Ub07w2lBUEJ5+XMucwohW/nyi8ZK8aasWFs1U0Kxa/D7CA3HRJhr1U7TGrEGJwKyUMOtH/JbASTNavJF8aFcYjmylxEeyxkb/IhpHfabpjKgGCixoHFbChg0uqUuDaGBEVwCY489y8WM2buUkhh6o4WI3J5BvcrLSEH8aA6tccz5Or/U/7xkOkifP1KXep5Bqse88c+ik0BAAA=", 'base64'),
"style.css": new Buffer("H4sIAAAAAAAACo1Q3crCMAy9H+wdAuKdg82/Qfc02RpssTal7fc5Ed/doJswvLFwoJyfnJCyMM0GzFawE+wFB8ER7mUB8gZHGBX0nE33ZrRNweFNOMfDeSIvGE/WV2LLfFHQbMM4KVersxGmrtfCPMqiLPAznB3L8Eh6Mmcac6Vp4IjZslfg2VMnwpxUhv8pzvkv+5/XFJ1dZDL2juZEz1Ecsk4YYdW2LSR2dm5/i1UKOFh/UlAvednWYUikIFFAqaRuUZH1Bqaf+akvoNavoqOoTf06mcx7AlJvfWSTAQAA", 'base64'),
// END: style.css

};
Expand Down
Loading

0 comments on commit c9c1d23

Please sign in to comment.