From cb5b2c0633f4a60b6bfdf52b741a43c42d960058 Mon Sep 17 00:00:00 2001 From: Tim Gilboy Date: Tue, 4 Jul 2023 17:20:51 +0100 Subject: [PATCH 1/2] updated walkthrough --- package.json | 22 +++++++++++----------- walkthrough/login.md | 17 ++++++++++------- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 928ab92..4f3fc5c 100644 --- a/package.json +++ b/package.json @@ -90,6 +90,17 @@ "description": "Your first steps to try out the powerful tools and features that the Sourcery extension has to offer!", "when": "workspacePlatform != webworker", "steps": [ + { + "id": "sourcery.login", + "title": "Login", + "description": "Unlock all of Sourcery's features, including 14 a day trial of Sourcery Pro\n[Login](command:sourcery.login)", + "media": { + "markdown": "walkthrough/login.md" + }, + "completionEvents": [ + "onContext:sourcery.is_authenticated" + ] + }, { "id": "sourcery.openWelcomeFile", "title": "Get your first recommendation", @@ -131,17 +142,6 @@ "markdown": "walkthrough/custom_rules_tutorial.md" } }, - { - "id": "sourcery.login", - "title": "Login", - "description": "Unlock all of Sourcery's features, including 30 days of Sourcery Pro\n[Login](command:sourcery.login)", - "media": { - "markdown": "walkthrough/login.md" - }, - "completionEvents": [ - "onContext:sourcery.is_authenticated" - ] - }, { "id": "sourcery.advancedFeatures", "title": "Advanced Features", diff --git a/walkthrough/login.md b/walkthrough/login.md index 6ec06ea..608f20d 100644 --- a/walkthrough/login.md +++ b/walkthrough/login.md @@ -1,12 +1,15 @@ -## 30 day free trial of Sourcery Pro +## Use Sourcery on all your code +You can use Sourcery on open source code for free. In order to use it on closed source projects you'll need to sign up for a [Sourcery Pro account](https://sourcery.ai/signup/?utm_source=VS-Code). -Sourcery Pro includes more advanced features helping you to refactor private -GitHub repos, analyse and refactor multiple files at once in your IDE, detect -duplicate (and near duplicate) code, and includes advanced refactorings. +## 14 day free trial of Sourcery Pro -Everyone who signs up for Sourcery gets 30 days of free trial access to Sourcery -Pro. After those 30 days you need to [upgrade](https://sourcery.ai/pro/) to -continue using the Sourcery Pro features. +You can sign up for a 14 day free trial of Sourcery Pro (no credit card required) to try out Sourcery on all of your projects. + +After those 14 days you can choose to upgrade to Pro or you can keep using Sourcery for Free for open source projects. + +## Free for students and educators + +Sourcery is free to use for students and educators on open source and closed source projects. Email us at [students@sourcery.ai](mailto:students@sourcery.ai) and we'll get you set up with a free plan. ### Login From 972d349df539167988cbc596bc8af116f9deab23 Mon Sep 17 00:00:00 2001 From: Tim Gilboy Date: Wed, 5 Jul 2023 09:34:53 +0100 Subject: [PATCH 2/2] updated advanced features section --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4f3fc5c..a4b230d 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ { "id": "sourcery.advancedFeatures", "title": "Advanced Features", - "description": "Once you have logged in you will be able to use Sourcery's Pro features for 30 days\nThese include:\nRight click on a folder and choose 'Sourcery - Scan for refactorings'\n\n You can also try out 'Sourcery - Detect Clones' to find duplicate or near-duplicate code\nTo find out about our Team plan, including pre-commit hook and CLI:\n[Open our documentation](https://docs.sourcery.ai/Plans/Sourcery-Team/)\n", + "description": "With a Sourcery Pro account you can use Sourcery's advanced features on any project. Otherwise, you can use them on any open source project. \nThese include:\nRight click on a folder and choose 'Sourcery - Scan for refactorings'\n\n You can also try out 'Sourcery - Detect Clones' to find duplicate or near-duplicate code\nTo find out about our Team plan, including pre-commit hook and CLI:\n[Open our documentation](https://docs.sourcery.ai/Plans/Sourcery-Team/)\n", "media": { "markdown": "walkthrough/refactoring_scan.md" },