Skip to content

Commit 24728c5

Browse files
authored
Minor fixes for F# content (dotnet#2884)
* fixed links and formatting * fixed broken link * fixed wrong source paths * fixed broken link and formatting * fixed broken link and formatting * fixed broken link and formatting * fixed broken link and formatting
1 parent c58ed1b commit 24728c5

File tree

6 files changed

+35
-69
lines changed

6 files changed

+35
-69
lines changed

.openpublishing.redirection.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,22 +881,22 @@
881881
"redirect_url": "/dotnet/visual-basic/getting-started/breaking-changes-in-visual-studio"
882882
},
883883
{
884-
"source_path": "fsharp/tutorials/getting-started/getting-started-visual-studio.md",
884+
"source_path": "docs/fsharp/tutorials/getting-started/getting-started-visual-studio.md",
885885
"redirect_url": "/dotnet/fsharp/get-started/getting-started-visual-studio",
886886
"redirect_document_id": true
887887
},
888888
{
889-
"source_path": "fsharp/tutorials/getting-started/getting-started-visual-studio-for-mac.md",
889+
"source_path": "docs/fsharp/tutorials/getting-started/getting-started-visual-studio-for-mac.md",
890890
"redirect_url": "/dotnet/fsharp/get-started/getting-started-visual-studoi-for-mac",
891891
"redirect_document_id": true
892892
},
893893
{
894-
"source_path": "fsharp/tutorials/getting-started/getting-started-vscode.md",
894+
"source_path": "docs/fsharp/tutorials/getting-started/getting-started-vscode.md",
895895
"redirect_url": "/dotnet/fsharp/get-started/getting-started-vscode",
896896
"redirect_document_id": true
897897
},
898898
{
899-
"source_path": "fsharp/tutorials/getting-started/getting-started-command-line.md",
899+
"source_path": "docs/fsharp/tutorials/getting-started/getting-started-command-line.md",
900900
"redirect_url": "/dotnet/fsharp/get-started/get-started-command-line",
901901
"redirect_document_id": true
902902
},

docs/fsharp/get-started/get-started-visual-studio.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Getting Started with F# in Visual Studio
2+
title: Get started with F# in Visual Studio
33
description: Learn how to use F# with Visual Studio.
44
keywords: visual f#, f#, functional programming
55
author: cartermp
@@ -12,15 +12,15 @@ ms.devlang: fsharp
1212
ms.assetid: 8db75596-19a9-4eda-b20d-a12d517c8cc1
1313
---
1414

15-
# Getting started with F# in Visual Studio
15+
# Get started with F# in Visual Studio
1616

1717
F# and the Visual F# tooling are supported in the Visual Studio IDE. To begin, you should [download Visual Studio](https://www.visualstudio.com/downloads/download-visual-studio-vs), if you haven't already. This article uses the Visual Studio 2017 Community Edition, but you can use F# with the version of your choice.
1818

1919
## Installing F# #
2020

21-
If you're downloading Visual Studio for the first time, it will first install the Visual Studio installer. Install any version of Visual Studio 2017 from the installer. If you already have it installed, click **Modify**.
21+
If you're downloading Visual Studio for the first time, it will first install the Visual Studio installer. Install any version of Visual Studio 2017 from the installer. If you already have it installed, click **Modify**.
2222

23-
You'll next see a list of Workloads. You can install F# through any of the following workloads:
23+
You'll next see a list of Workloads. You can install F# through any of the following workloads:
2424

2525
|Workload|Action|
2626
|--------|------|
@@ -107,7 +107,7 @@ val isOdd : x:int -> bool
107107
val it : bool = false
108108
```
109109

110-
The above defines a new function, `isOdd`, which takes an `int` and checks to see if it's odd! You can call this function to see what it returns with different inputs. You can call functions within function calls:
110+
The above defines a new function, `isOdd`, which takes an `int` and checks to see if it's odd! You can call this function to see what it returns with different inputs. You can call functions within function calls:
111111

112112
```
113113
> isOdd (square 15);;
@@ -123,20 +123,15 @@ val it : bool = true
123123

124124
The pipe-forward operator, and more, are covered in later tutorials.
125125

126-
This is only a glimpse into what you can do with F# Interactive. To learn more, check out [Interactive Programming with F#](tutorials/fsharp-interactive/index.md).
126+
This is only a glimpse into what you can do with F# Interactive. To learn more, check out [Interactive Programming with F#](../tutorials/fsharp-interactive/index.md).
127127

128128
## Next steps
129129

130130
If you haven't already, check out the [Tour of F#](../tour.md), which covers some of the core features of the F# language. It will give you an overview of some of the capabilities of F#, and provide ample code samples that you can copy into Visual Studio and run. There are also some great external resources you can use, showcased in the [F# Guide](../index.md).
131131

132132
## See also
133-
134-
[Visual F#](index.md)
135-
136-
[Tour of F#](../tour.md)
137-
138-
[F# language reference](../language-reference/index.md)
139-
140-
[Type inference](../language-reference/type-inference.md)
141-
142-
[Symbol and operator reference](../language-reference/symbol-and-operator-reference/index.md)
133+
[Visual F#](index.md)
134+
[Tour of F#](../tour.md)
135+
[F# language reference](../language-reference/index.md)
136+
[Type inference](../language-reference/type-inference.md)
137+
[Symbol and operator reference](../language-reference/symbol-and-operator-reference/index.md)

docs/fsharp/get-started/get-started-with-visual-studio-for-mac.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Getting Started with F# in Visual Studio for Mac
2+
title: Get started with F# in Visual Studio for Mac
33
description: Learn how to use F# with Visual Studio for Mac.
44
keywords: visual f#, f#, functional programming
55
author: mizzle-mo
@@ -12,7 +12,7 @@ ms.devlang: fsharp
1212
ms.assetid: 8db75596-19a9-4eda-b20d-a12d517c8cc1
1313
---
1414

15-
# Getting started with F# in Visual Studio for Mac
15+
# Get started with F# in Visual Studio for Mac
1616

1717
F# and the Visual F# tooling are supported in the Visual Studio for Mac IDE. To begin, you should [download Visual Studio for Mac](https://www.visualstudio.com/downloads/download-visual-studio-vs), if you haven't already. This article uses the Visual Studio Community 2017 for Mac, but you can use F# with the version of your choice.
1818

@@ -116,20 +116,15 @@ val it : bool = true
116116

117117
The pipe-forward operator, and more, are covered in later tutorials.
118118

119-
This is only a glimpse into what you can do with F# Interactive. To learn more, check out [Interactive Programming with F#](tutorials/fsharp-interactive/index.md).
119+
This is only a glimpse into what you can do with F# Interactive. To learn more, check out [Interactive Programming with F#](../tutorials/fsharp-interactive/index.md).
120120

121121
## Next steps
122122

123123
If you haven't already, check out the [Tour of F#](../tour.md), which covers some of the core features of the F# language. It will give you an overview of some of the capabilities of F#, and provide ample code samples that you can copy into Visual Studio for Mac and run. There are also some great external resources you can use, showcased in the [F# Guide](../index.md).
124124

125125
## See also
126-
127-
[Visual F#](../index.md)
128-
129-
[Tour of F#](../tour.md)
130-
131-
[F# language reference](../language-reference/index.md)
132-
133-
[Type inference](../language-reference/type-inference.md)
134-
135-
[Symbol and operator reference](../language-reference/symbol-and-operator-reference/index.md)
126+
[Visual F#](../index.md)
127+
[Tour of F#](../tour.md)
128+
[F# language reference](../language-reference/index.md)
129+
[Type inference](../language-reference/type-inference.md)
130+
[Symbol and operator reference](../language-reference/symbol-and-operator-reference/index.md)

docs/fsharp/language-reference/caller-information.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Caller Information (F#)
2+
title: Caller information (F#)
33
description: Describes how to use Caller Info Argument Attributes to obtain caller information from a method.
44
keywords: visual f#, f#, functional programming
55
author: cartermp
@@ -74,9 +74,6 @@ The following chart shows the member names that are returned when you use the Ca
7474
|No containing member (for example, assembly-level or attributes that are applied to types)|The default value of the optional parameter.|
7575

7676
## See also
77-
78-
[Attributes](attributes.md)
79-
80-
[Named Arguments](parameters-and-arguments.md#named-arguments)
81-
82-
[Optional Arguments](parameters-and-arguments.md#optional-arguments)
77+
[Attributes](attributes.md)
78+
[Named arguments](parameters-and-arguments.md#named-arguments)
79+
[Optional parameters](parameters-and-arguments.md#optional-parameters)
Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Configuring Projects (F#)
3-
description: Learn how to use the Project Designer when you work with F# projects.
2+
title: Configuring projects (F#)
3+
description: Learn how to use the Project Designer when you work with F# projects in Visual Studio.
44
keywords: visual f#, f#, functional programming
55
author: cartermp
66
ms.author: phcart
@@ -11,20 +11,16 @@ ms.technology: devlang-fsharp
1111
ms.devlang: fsharp
1212
ms.assetid: 8b2ed206-34e4-4256-a6ce-0c2499561165
1313
---
14-
1514
# Configuring Projects in Visual Studio
1615

1716
> [!NOTE]
1817
This article is not up to date with the latest Visual Studio. It will be updated.
1918

2019
This topic includes information about how to use the **Project Designer** when you work with F# projects. Working with F# projects is not significantly different from working with Visual Basic or C# projects. You can often use the general Visual Studio project documentation as your primary reference when you use F#. This topic provides links to relevant information in the Visual Studio documentation for settings that are shared with the other Visual Studio languages, and also describes the settings specific to F#.
2120

22-
2321
## Project Designer
2422
The **Project Designer** and its general use are described fully in the topic [Introduction to the Project Designer](https://msdn.microsoft.com/library/898dd854-c98d-430c-ba1b-a913ce3c73d7) in the Visual Studio documentation. The **Project Designer** consists of several pages grouped by related functionality. The pages available for F# projects are mostly a subset of those available for other languages. The pages supported in F# are described in the following table. The pages that are not available relate to features that are not available in F#, or that are available only by changing a command-line option. The pages that are available in F# resemble the C# pages most closely, so a link is provided to the relevant C# **Project Designer** page.
2523

26-
27-
2824
|Project Designer page|Related links|Description|
2925
|---------------------|-------------|-----------|
3026
|`Application`|[Application Page, Project Designer (C#)](https://msdn.microsoft.com/library/ms247046.aspx)|Enables you to specify application-level settings and properties, such as whether you are creating a library or an executable file, what version of the .NET Framework the application is targeting, and information about where the resource files that the application uses are stored.|
@@ -34,18 +30,14 @@ The **Project Designer** and its general use are described fully in the topic [I
3430
|`Reference Paths`|[Managing references in a project](https://msdn.microsoft.com/library/ez524kew.aspx)|Enables you to specify where to search for assemblies that the code depends on.|
3531

3632
## F#-Specific Settings
37-
The following table summarizes settings that are specific to F#.
38-
39-
33+
The following table summarizes settings that are specific to F#:
4034

4135
|Project Designer page|Setting|Description|
4236
|---------------------|-------|-----------|
4337
|`Build`|`Generate tail calls`|If selected, enables the use of the tail Microsoft intermediate language (MSIL) instruction. This causes the stack frame to be reused for tail recursive functions. Equivalent to the `--tailcalls` compiler option.|
4438
|`Build`|`Other flags`|Allows you to specify additional compiler command-line options.|
4539

4640
## See Also
47-
[Get Started with F# in Visual Studio](get-started/get-started/get-started-visual-studio.md)
48-
49-
[Compiler Options](../language-reference/compiler-options.md)
50-
51-
[Introduction to the Project Designer](https://msdn.microsoft.com/library/898dd854-c98d-430c-ba1b-a913ce3c73d7)
41+
[Get Started with F# in Visual Studio](../get-started/get-started-visual-studio.md)
42+
[Compiler Options](../language-reference/compiler-options.md)
43+
[Introduction to the Project Designer](https://msdn.microsoft.com/library/898dd854-c98d-430c-ba1b-a913ce3c73d7(v=vs.100))

docs/fsharp/using-fsharp-in-visual-studio/visual-fsharp-development-environment-features.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,9 @@ This article is not up to date with the latest Visual Studio. It will be update
1919

2020
This topic includes information about which features of Visual Studio 2012 are supported in F#.
2121

22-
2322
## Project Features
2423
The following table summarizes the templates that are available for use in F# projects. For information about project and item templates, see [NIB Creating Projects from Templates](https://msdn.microsoft.com/library/7c36d86a-6b79-4480-8228-0f925f1204b2).
2524

26-
27-
2825
|Template type|Description|Supported templates|
2926
|-------------|-----------|-------------------|
3027
|Project templates|Types of projects available in the **New Project** dialog box.|<ul><li>F# Application<br /></li><li>F# Library<br /></li><li>F# Tutorial<br /></li><li>F# Portable Library<br /></li><ul/>|
@@ -35,8 +32,6 @@ For more information about the item templates for data access, see [Type Provide
3532

3633
The following table summarizes project-properties features supported and not supported in F#. For more information, see [Configuring Projects](configuring-projects.md) and [Introduction to the Project Designer](https://msdn.microsoft.com/library/898dd854-c98d-430c-ba1b-a913ce3c73d7).
3734

38-
39-
4035
|Project setting|Supported in F#?|Notes|
4136
|---------------|----------------|-----|
4237
|Resource files|Yes||
@@ -53,8 +48,6 @@ The following table summarizes project-properties features supported and not sup
5348
## Code and Text Editor Features
5449
The following features of the Visual Studiocode and text editors are supported in F#. For general information about editing code in Visual Studio, and features of the text editor, see [Writing Code in the Code and Text Editor](https://msdn.microsoft.com/library/efc4xwkb.aspx).
5550

56-
57-
5851
|Feature|Description|Supported in F#?|
5952
|-------|-----------|----------------|
6053
|Automatically comment|Enables you to comment or uncomment sections of code.|Yes|
@@ -74,8 +67,6 @@ The following features of the Visual Studiocode and text editors are supported i
7467
## IntelliSense Features
7568
The following table summarizes IntelliSense features supported and not supported in F#. For general information about IntelliSense, see [Using IntelliSense](https://msdn.microsoft.com/library/hcw1s69b.aspx).
7669

77-
78-
7970
|Feature|Description|Supported in F#?|
8071
|-------|-----------|----------------|
8172
|Automatically implement interfaces|Generates code stubs for interface methods.|No|
@@ -89,12 +80,9 @@ The following table summarizes IntelliSense features supported and not supported
8980
|Quick Info|Displays the complete declaration for any identifier in your code.|Yes|
9081
Refactoring of F# code isn't supported in Visual Studio 2012.
9182

92-
9383
## Debugging Features
9484
The following table summarizes features that are available when you debug F# code. For general information about the Visual Studio debugger, see [Debugging in Visual Studio](https://msdn.microsoft.com/library/sc65sadd.aspx).
9585

96-
97-
9886
|Feature|Description|Supported in F#?|
9987
|-------|-----------|----------------|
10088
|Autos window|Shows automatic or temporary variables.|No|
@@ -129,6 +117,5 @@ The following table summarizes the support for F# in Visual Studio tools.
129117
|Toolbox|Displays tabs that contain draggable objects such as controls and sections of text or code.|Yes|
130118

131119
## See Also
132-
[Get Started with F# in Visual Studio](tutorials/get-started/get-started-visual-studio.md)
133-
134-
[Configuring Projects](configuring-projects.md)
120+
[Get Started with F# in Visual Studio](../get-started/get-started-visual-studio.md)
121+
[Configuring Projects](configuring-projects.md)

0 commit comments

Comments
 (0)