Skip to content

Commit f79b1f0

Browse files
committed
(GH-639) Remove Bolt commands and snippets
This commit removes the Bolt VS Code commands and snippets that were deprected in efe9272. These commands and snippets are inferior to the YAML support outlined in https://puppet.com/docs/bolt/latest/vscode_and_bolt.html.
1 parent f31bed9 commit f79b1f0

File tree

4 files changed

+0
-170
lines changed

4 files changed

+0
-170
lines changed

package.json

-14
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@
123123
{
124124
"language": "puppetfile",
125125
"path": "./snippets/puppetfile.snippets.json"
126-
},
127-
{
128-
"language": "yaml",
129-
"path": "./snippets/bolt.snippets.json"
130126
}
131127
],
132128
"commands": [
@@ -183,16 +179,6 @@
183179
"dark": "./media/PreviewOnRightPane_16x_dark.svg"
184180
}
185181
},
186-
{
187-
"command": "puppet-bolt.OpenUserConfigFile",
188-
"title": "Open Bolt User Configuration File",
189-
"category": "Puppet"
190-
},
191-
{
192-
"command": "puppet-bolt.OpenUserInventoryFile",
193-
"title": "Open Bolt User Inventory File",
194-
"category": "Puppet"
195-
},
196182
{
197183
"command": "puppet.refreshFacts",
198184
"title": "Refresh",

snippets/bolt.snippets.json

-67
This file was deleted.

src/extension.ts

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import * as path from 'path';
66
import * as vscode from 'vscode';
77
import { CreateAggregrateConfiguration, IAggregateConfiguration } from './configuration';
88
import { IFeature } from './feature';
9-
import { BoltFeature } from './feature/BoltFeature';
109
import { DebuggingFeature } from './feature/DebuggingFeature';
1110
import { FormatDocumentFeature } from './feature/FormatDocumentFeature';
1211
import { PDKFeature } from './feature/PDKFeature';
@@ -83,7 +82,6 @@ export function activate(context: vscode.ExtensionContext) {
8382

8483
extensionFeatures = [
8584
new PDKFeature(extContext, logger),
86-
new BoltFeature(extContext),
8785
new UpdateConfigurationFeature(logger, extContext),
8886
statusBar,
8987
new PuppetfileHoverFeature(extContext, logger),

src/feature/BoltFeature.ts

-87
This file was deleted.

0 commit comments

Comments
 (0)