Skip to content

Commit f3df058

Browse files
committed
Update extension naming
1 parent 7aa0eb7 commit f3df058

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
All notable changes to the "dartlocaldevice" extension will be documented in this file.
3+
All notable changes to the "flutter-local-device-exposer" extension will be documented in this file.
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# dartlocaldevice README
1+
# Flutter Local Device Exposer README
22

3-
Set up local Flutter daemon for detecting devices
3+
This extension connects to local devices during Flutter development when using VS Code Remote over SSH. This extension is only relevant for developing Flutter Bazel projects with a remote machine.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "dartlocaldevice",
3-
"publisher": "helin24",
4-
"displayName": "DartLocalDevice",
5-
"description": "",
2+
"name": "flutter-local-device-exposer",
3+
"publisher": "Dart-Code",
4+
"displayName": "FlutterLocalDeviceExposer",
5+
"description": "Connects to local devices during Flutter development when using VS Code Remote over SSH. This extension is only relevant for developing Flutter Bazel projects with a remote machine.",
66
"version": "0.0.1",
77
"engines": {
88
"vscode": "^1.69.0"
@@ -12,18 +12,18 @@
1212
],
1313
"activationEvents": [
1414
"onLanguage:dart",
15-
"onCommand:dartlocaldevice.helloWorld",
16-
"onCommand:dartlocaldevice.startDaemon"
15+
"onCommand:flutter-local-device-exposer.helloWorld",
16+
"onCommand:flutter-local-device-exposer.startDaemon"
1717
],
1818
"main": "./out/extension.js",
1919
"contributes": {
2020
"commands": [
2121
{
22-
"command": "dartlocaldevice.killDaemon",
22+
"command": "flutter-local-device-exposer.killDaemon",
2323
"title": "Kill daemon"
2424
},
2525
{
26-
"command": "dartlocaldevice.startDaemon",
26+
"command": "flutter-local-device-exposer.startDaemon",
2727
"title": "Start Flutter daemon"
2828
}
2929
],
@@ -32,7 +32,7 @@
3232
"title": "main",
3333
"order": 1,
3434
"properties": {
35-
"dartlocaldevice.logFile": {
35+
"flutter-local-device-exposer.logFile": {
3636
"type": [
3737
"null",
3838
"string"

src/extension.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ let daemonProcess: child_process.ChildProcess;
66
let logStream: fs.WriteStream;
77

88
export function activate(context: vscode.ExtensionContext) {
9-
context.subscriptions.push(vscode.commands.registerCommand('dartlocaldevice.startDaemon', async ({script, command, workingDirectory}) => {
10-
const fileName = vscode.workspace.getConfiguration("dartlocaldevice").get<string>("logFile");
9+
context.subscriptions.push(vscode.commands.registerCommand('flutter-local-device-exposer.startDaemon', async ({script, command, workingDirectory}) => {
10+
const fileName = vscode.workspace.getConfiguration("flutter-local-device-exposer").get<string>("logFile");
1111
if (fileName) {
1212
logStream = fs.createWriteStream(fileName);
1313
}
@@ -31,7 +31,7 @@ export function activate(context: vscode.ExtensionContext) {
3131
}));
3232

3333
// TODO (helin24): Remove this when deactivate is fixed.
34-
context.subscriptions.push(vscode.commands.registerCommand('dartlocaldevice.killDaemon', async () => {
34+
context.subscriptions.push(vscode.commands.registerCommand('flutter-local-device-exposer.killDaemon', async () => {
3535
deactivate();
3636
}));
3737
}

0 commit comments

Comments
 (0)