Skip to content

Commit 8ef765b

Browse files
authored
Prepare 1.1.2 preview (#112)
* Use 0.4.7 dtdl lsp. * Remove legacy survey * Update/audit package-lock.json
1 parent a9be948 commit 8ef765b

File tree

5 files changed

+8
-113
lines changed

5 files changed

+8
-113
lines changed

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-dtdl",
33
"displayName": "DTDL",
44
"description": "This extension provides syntax highlighting to read and edit JSON documents using the Digital Twins Definition Language",
5-
"version": "1.1.1",
5+
"version": "1.1.2",
66
"publisher": "vsciot-vscode",
77
"aiKey": "[AIKEY PLACEHOLDER]",
88
"icon": "logo.png",
@@ -94,7 +94,7 @@
9494
"webpack-cli": "^4.7.2"
9595
},
9696
"dependencies": {
97-
"dtdl-language-server": "0.4.6",
97+
"dtdl-language-server": "0.4.7",
9898
"fs-extra": "^7.0.1",
9999
"vscode-extension-telemetry": "^0.1.6",
100100
"vscode-languageclient": "^6.1.3"

src/common/constants.ts

-2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ export class Constants {
2323

2424
public static readonly EXTENSION_ACTIVATED_MSG = "extensionActivated";
2525
public static readonly NOT_EMPTY_MSG = "could not be empty";
26-
27-
public static readonly NSAT_SURVEY_URL = "https://aka.ms/vscode-iot-workbench-survey";
2826
}

src/common/nsat.ts

-94
This file was deleted.

src/extension.ts

-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import * as vscode from "vscode";
55
import { ColorizedChannel } from "./common/colorizedChannel";
66
import { Constants } from "./common/constants";
77
import { EventType } from "./common/eventType";
8-
import { NSAT } from "./common/nsat";
98
import { ProcessError } from "./common/processError";
109
import { TelemetryClient } from "./common/telemetryClient";
1110
import { TelemetryContext } from "./common/telemetryContext";
@@ -20,8 +19,6 @@ function initCommand(
2019
context: vscode.ExtensionContext,
2120
telemetryClient: TelemetryClient,
2221
outputChannel: ColorizedChannel,
23-
nsat: NSAT,
24-
enableSurvey: boolean,
2522
event: EventType,
2623
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2724
callback: (...args: any[]) => Promise<any>
@@ -50,9 +47,6 @@ function initCommand(
5047
telemetryContext.end();
5148
telemetryClient.sendEvent(event, telemetryContext);
5249
outputChannel.show();
53-
if (enableSurvey) {
54-
nsat.takeSurvey(context);
55-
}
5650
}
5751
})
5852
);
@@ -61,7 +55,6 @@ function initCommand(
6155
export function activate(context: vscode.ExtensionContext): void {
6256
const outputChannel = new ColorizedChannel(Constants.CHANNEL_NAME);
6357
const telemetryClient = new TelemetryClient(context);
64-
const nsat = new NSAT(Constants.NSAT_SURVEY_URL, telemetryClient);
6558
const deviceModelManager = new DeviceModelManager(context, outputChannel);
6659

6760
telemetryClient.sendEvent(Constants.EXTENSION_ACTIVATED_MSG);
@@ -107,8 +100,6 @@ export function activate(context: vscode.ExtensionContext): void {
107100
context,
108101
telemetryClient,
109102
outputChannel,
110-
nsat,
111-
true,
112103
EventType.CreateInterface,
113104
async (): Promise<void> => {
114105
return deviceModelManager.createModel(ModelType.Interface);

0 commit comments

Comments
 (0)