Skip to content

Commit

Permalink
Remove obsolete 'pipeline builder' experimental code
Browse files Browse the repository at this point in the history
  • Loading branch information
kdvolder committed May 22, 2019
1 parent a247958 commit 4661e19
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 149 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
languageserver:
extension-id: vscode-spring-boot
completion-trigger-characters:
java: ""
spring-boot-properties-yaml: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.
spring-boot-properties: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.
spring:
main:
banner-mode: 'off'
28 changes: 0 additions & 28 deletions vscode-extensions/vscode-spring-boot/lib/Main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {workspace} from 'vscode';

import * as commons from '@pivotal-tools/commons-vscode';

import {generate_pipeline, UserQuestioner} from '@pivotal-tools/pipeline-builder';
import {LanguageClient} from "vscode-languageclient";

const PROPERTIES_LANGUAGE_ID = "spring-boot-properties";
Expand Down Expand Up @@ -70,30 +69,3 @@ export function activate(context: VSCode.ExtensionContext): Thenable<LanguageCli

return commons.activate(options, context);
}

// NOTE: Be sure to add this under "contributes" in package.json to enable the command:
//
// "commands": [
// {
// "command": "springboot.generate-concourse-pipeline",
// "title": "Spring Boot: Generate Concourse Pipeline"
// }
// ],
function registerPipelineGenerator(context: VSCode.ExtensionContext) {
context.subscriptions.push(VSCode.commands.registerCommand('springboot.generate-concourse-pipeline', () => {
let q = (property, defaultValue) => {
defaultValue = defaultValue || '';
return;
};
let projectRoot = VSCode.workspace.rootPath;
if (projectRoot) {
return generate_pipeline(projectRoot, (property, defaultValue) => new Promise<string>((resolve, reject) => {
VSCode.window.showInputBox({
prompt: `Enter '${property}': `,
value: defaultValue,
valueSelection: [0, defaultValue.length]
}).then(resolve, reject);
}));
}
}));
}
138 changes: 21 additions & 117 deletions vscode-extensions/vscode-spring-boot/package-lock.json

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

1 change: 0 additions & 1 deletion vscode-extensions/vscode-spring-boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@
},
"dependencies": {
"@pivotal-tools/commons-vscode": "file:../commons-vscode/pivotal-tools-commons-vscode-0.2.2.tgz",
"@pivotal-tools/pipeline-builder": "^0.0.5",
"vscode-languageclient": "5.2.1"
},
"devDependencies": {
Expand Down

0 comments on commit 4661e19

Please sign in to comment.