Skip to content

Commit eab72c2

Browse files
Merge pull request #182 from sourcery-ai/tim/feat/update-walkthrough-for-plan-changes
feat: updated walkthrough
2 parents 0500afd + 972d349 commit eab72c2

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,17 @@
9090
"description": "Your first steps to try out the powerful tools and features that the Sourcery extension has to offer!",
9191
"when": "workspacePlatform != webworker",
9292
"steps": [
93+
{
94+
"id": "sourcery.login",
95+
"title": "Login",
96+
"description": "Unlock all of Sourcery's features, including 14 a day trial of Sourcery Pro\n[Login](command:sourcery.login)",
97+
"media": {
98+
"markdown": "walkthrough/login.md"
99+
},
100+
"completionEvents": [
101+
"onContext:sourcery.is_authenticated"
102+
]
103+
},
93104
{
94105
"id": "sourcery.openWelcomeFile",
95106
"title": "Get your first recommendation",
@@ -131,21 +142,10 @@
131142
"markdown": "walkthrough/custom_rules_tutorial.md"
132143
}
133144
},
134-
{
135-
"id": "sourcery.login",
136-
"title": "Login",
137-
"description": "Unlock all of Sourcery's features, including 30 days of Sourcery Pro\n[Login](command:sourcery.login)",
138-
"media": {
139-
"markdown": "walkthrough/login.md"
140-
},
141-
"completionEvents": [
142-
"onContext:sourcery.is_authenticated"
143-
]
144-
},
145145
{
146146
"id": "sourcery.advancedFeatures",
147147
"title": "Advanced Features",
148-
"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",
148+
"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",
149149
"media": {
150150
"markdown": "walkthrough/refactoring_scan.md"
151151
},

walkthrough/login.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
## 30 day free trial of Sourcery Pro
1+
## Use Sourcery on all your code
2+
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).
23

3-
Sourcery Pro includes more advanced features helping you to refactor private
4-
GitHub repos, analyse and refactor multiple files at once in your IDE, detect
5-
duplicate (and near duplicate) code, and includes advanced refactorings.
4+
## 14 day free trial of Sourcery Pro
65

7-
Everyone who signs up for Sourcery gets 30 days of free trial access to Sourcery
8-
Pro. After those 30 days you need to [upgrade](https://sourcery.ai/pro/) to
9-
continue using the Sourcery Pro features.
6+
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.
7+
8+
After those 14 days you can choose to upgrade to Pro or you can keep using Sourcery for Free for open source projects.
9+
10+
## Free for students and educators
11+
12+
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.
1013

1114
### Login
1215

0 commit comments

Comments
 (0)