Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "positron-extension-template",
"displayName": "Positron Extension Template",
"description": "Template for creating extensions that integrate with Positron IDE",
"name": "auto-tabs",
"displayName": "Auto Tabs",
"description": "Positon extension to convert spaces to tabs",
"version": "0.1.0",
"publisher": "your-publisher-name",
"publisher": "R Contribution Working Group",
"repository": {
"type": "git",
"url": "https://github.com/YOUR_USERNAME/YOUR_EXTENSION_NAME"
"url": "https://github.com/r-devel/auto-tabs"
},
"engines": {
"vscode": "^1.74.0",
Expand All @@ -20,8 +20,8 @@
"contributes": {
"commands": [
{
"command": "positronExtension.demo",
"title": "Positron Extension Demo"
"command": "positronExtension.autotabs",
"title": "Positron Extension Auto Tabs"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { tryAcquirePositronApi, inPositron } from "@posit-dev/positron";

export function activate(context: vscode.ExtensionContext) {
const disposable = vscode.commands.registerCommand(
"positronExtension.demo",
"positronExtension.autotabs",
() => {

console.log(`Hello from ${inPositron() ? 'Positron': 'VSCode'}!`);
Expand Down