Skip to content

Commit 2fb1bdd

Browse files
committed
fix: update name
1 parent cb140cb commit 2fb1bdd

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.changeset/wet-jokes-open.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"developer-tools": patch
3+
---
4+
5+
Update name and cleanup code

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "google-workspace-vscode",
3-
"displayName": "Google Workspace",
2+
"name": "developer-tools",
3+
"displayName": "Google Workspace Developer Tools",
44
"description": "Preview Google Workspace Card JSON, lint OAuth2 scopes, and more.",
55
"version": "0.1.0",
66
"preview": true,

src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export function activate(context: vscode.ExtensionContext) {
7373
provideHover(document, position, token) {
7474
const line = document.lineAt(position.line);
7575
const scopeRegex = /https:\/\/www.googleapis.com\/auth\/[a-zA-Z._-]+/g;
76-
console.log(line.text);
7776

7877
for (const match of line.text.matchAll(scopeRegex)) {
7978
const start = new vscode.Position(line.lineNumber, match.index ?? 0);
@@ -88,7 +87,6 @@ export function activate(context: vscode.ExtensionContext) {
8887
}
8988

9089
const matchedScope = document.getText(range);
91-
const info = SCOPES.get(matchedScope);
9290
const markdownString = new vscode.MarkdownString(
9391
getScopeMarkdown(matchedScope),
9492
);

0 commit comments

Comments
 (0)