Replies: 3 comments
-
Sure, we'd happily take any contributions here. You can learn more about contributing a walkthrough here: https://code.visualstudio.com/api/references/contribution-points#contributes.walkthroughs |
Beta Was this translation helpful? Give feedback.
-
i asked chatgpt and here is what i got for detailed instructions, just as a starting point. Certainly! Here’s a step-by-step guide to create a walkthrough for learning F# using Ionide in Visual Studio Code, referencing a NuGet package, and learning the fundamentals of 1. Setting up the WalkthroughFirst, you'll need to create a new walkthrough for your extension in the Step 1: Add the Walkthrough ContributionOpen the "contributes": {
"walkthroughs": [
{
"id": "fsharp-getting-started",
"title": "Getting Started with F#",
"description": "Learn the basics of F# with Ionide in VS Code.",
"steps": [
"fsharp-getting-started.install-ionide",
"fsharp-getting-started.create-fsx",
"fsharp-getting-started.let-fundamentals",
"fsharp-getting-started.nuget-reference"
]
}
],
"walkthroughSteps": [
{
"id": "fsharp-getting-started.install-ionide",
"title": "Install Ionide",
"description": "Ensure you have the Ionide-fsharp extension installed. Ionide brings F# support to Visual Studio Code.",
"media": {
"image": "images/install-ionide.png"
},
"completionEvents": ["onCommand:workbench.extensions.search"]
},
{
"id": "fsharp-getting-started.create-fsx",
"title": "Create an .fsx Script",
"description": "Create a new F# script file (.fsx) to start writing F# code.",
"media": {
"image": "images/create-fsx.png"
},
"completionEvents": ["onCommand:workbench.action.files.newUntitledFile"]
},
{
"id": "fsharp-getting-started.let-fundamentals",
"title": "Learn `let` Fundamentals",
"description": "Understand how to use `let` to define values in F#.",
"media": {
"image": "images/let-fundamentals.png"
},
"completionEvents": ["onCommand:editor.action.insertSnippet"]
},
{
"id": "fsharp-getting-started.nuget-reference",
"title": "Reference a NuGet Package",
"description": "Learn how to reference a NuGet package in your F# script using `#r`.",
"media": {
"image": "images/nuget-reference.png"
},
"completionEvents": ["onCommand:editor.action.insertSnippet"]
}
]
} 2. Creating the Walkthrough StepsStep 2: Install IonideTitle: Install Ionide {
"id": "fsharp-getting-started.install-ionide",
"title": "Install Ionide",
"description": "Ensure you have the Ionide-fsharp extension installed. Ionide brings F# support to Visual Studio Code.",
"media": {
"image": "images/install-ionide.png"
},
"completionEvents": ["onCommand:workbench.extensions.search"]
} Step 3: Create an .fsx ScriptTitle: Create an .fsx Script {
"id": "fsharp-getting-started.create-fsx",
"title": "Create an .fsx Script",
"description": "Create a new F# script file (.fsx) to start writing F# code.",
"media": {
"image": "images/create-fsx.png"
},
"completionEvents": ["onCommand:workbench.action.files.newUntitledFile"]
} Step 4: Learn
|
Beta Was this translation helpful? Give feedback.
-
what could be the steps? 1 - check dotnet-sdk is intalled, if not link to install dotnet (ionide is already installed else this tutorial wouldnt be available by defaut in vscode) |
Beta Was this translation helpful? Give feedback.
-
C# and python have it, seems many extensions provide this, can we add one for F# as well? maybe it can help adoption/test for new comers?
Beta Was this translation helpful? Give feedback.
All reactions