Skip to content

Commit 0f25568

Browse files
authored
Merge pull request #2482 from cartermp/fs-update
Update F# doc based on current feature set
2 parents b0661ba + 815aeca commit 0f25568

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

docs/ide/fsharp-visual-studio.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The following image shows some of the F# item templates:
3535

3636
For more information about the item templates for data access, see [F# type providers](/dotnet/fsharp/tutorials/type-providers/index).
3737

38-
The following table summarizes project-properties features supported and not supported in F#:
38+
The following table summarizes features in project properties for F#:
3939

4040
|Project setting|Supported in F#?|Notes|
4141
|---------------|----------------|-----|
@@ -60,7 +60,9 @@ The following table summarizes project-properties features supported and not sup
6060
|Build|[Build Page, Project Designer](reference/build-page-project-designer-csharp.md)|Enables you to control how the code is compiled.|
6161
|Build Events|[Build Events Page, Project Designer](reference/build-events-page-project-designer-csharp.md)|Enables you to specify commands to run before or after a compilation.|
6262
|Debug|[Debug Page, Project Designer](reference/debug-page-project-designer.md)|Enables you to control how the application runs during debugging. This includes what commands to use and what your application's starting directory is, and any special debugging modes you want to enable, such as native code and SQL.|
63+
|Package (.NET SDK only)|N/A|Enables you to define NuGet Package metadata when publishing as a NuGet package.|
6364
|Reference Paths|[Manage references in a project](managing-references-in-a-project.md)|Enables you to specify where to search for assemblies that the code depends on.|
65+
|Resources (.NET SDK only)|N/A|Enables you to generate and manage a default resources file.|
6466

6567
### F#-specific settings
6668

@@ -81,15 +83,25 @@ The following features of the Visual Studio code and text editors are supported
8183
|Automatically format|Reformats code with standard indentation and style.|No|
8284
|Bookmarks|Enables you to save places in the editor.|Yes|
8385
|Change indentation|Indents or unindents selected lines.|Yes|
86+
|Smart indentation|Automatically indents and de-indents the cursor according to F# scoping rules.|Yes|
8487
|[Find and replace text](finding-and-replacing-text.md)|Enables you to search in a file, project, or solution, and potentially change text.|Yes|
8588
|Go to definition for .NET Framework API|When the cursor is positioned on a .NET Framework API, shows code generated from .NET Framework metadata.|No|
8689
|Go to definition for user-defined API|When the cursor is on a program entity that you defined, moves the cursor to the location in your code where the entity is defined.|Yes|
8790
|Go To Line|Enables you to go to a specific line in a file, by line number.|Yes|
8891
|Navigation bars at top of file|Enables you to jump to locations in code, by, For example, function name.|Yes|
92+
|Block Structure Guidelines|Shows guidelines that indicate F# scopes, which can be hovered over for a preview.|Yes|
8993
|[Outlining](outlining.md)|Enables you to collapse sections of your code to create a more compact view.|Yes|
9094
|Tabify|Converts spaces to tabs.|Yes|
9195
|Type colorization|Shows defined type names in a special color.|Yes|
9296
|Quick Find. See Quick Find, Find and Replace Window.|Enables you to search in a file or project.|Yes|
97+
|**Ctrl**+**click** to Go to Definition|Allows you to hold **Ctrl** and click on an F# symbol to invoke Go to Definition.|Yes|
98+
|Go to Definition from QuickInfo|Clickable symbols inside tooltips that invoke Go to Definition.|Yes|
99+
|Go to All|Enables global, fuzzy-matching navigation for all F# constructs via **Ctrl**+**T**.|Yes|
100+
|Inline Rename|Renames all occurrences of a symbol inline.|Yes|
101+
|Find all References|Finds all occurrences of a symbol in a codebase.|Yes|
102+
|Simplify Name code fix|Removes unnecessary qualifiers for F# symbols.|Yes|
103+
|Remove unused `open` statement code fix|Removes all unnecessary `open` statements in a document.|Yes|
104+
|Unused value code fix|Suggests renaming an unused identifier to underscore.|Yes|
93105

94106
For general information about editing code in Visual Studio, and features of the text editor, see [Write code in the editor](writing-code-in-the-code-and-text-editor.md).
95107

@@ -99,15 +111,17 @@ The following table summarizes IntelliSense features supported and not supported
99111

100112
|Feature|Description|Supported in F#?|
101113
|-------|-----------|----------------|
102-
|Automatically implement interfaces|Generates code stubs for interface methods.|No|
114+
|Automatically implement interfaces|Generates code stubs for interface methods.|Yes|
103115
|Code snippets|Injects code from a library of common coding constructs into topics.|No|
104116
|Complete Word|Saves typing by completing words and names as you type.|Yes|
105-
|Consume-first completion mode|When enabled, causes the word completion to select the first match as you type, instead of waiting for you to select one or press **Ctrl**+**Space**.|No|
117+
|Automatic completion|When enabled, causes the word completion to select the first match as you type, instead of waiting for you to select one or press **Ctrl**+**Space**.|Yes|
118+
|Offer completion for symbols in unopened namespaces|With automatic completion, a matching symbol that resides in an unopened namespace is suggested, offering to complete with the corresponding `open` statement when selected.|Yes|
106119
|Generate code elements|Enables you to generate stub code for a variety of constructs.|No|
107120
|List Members|When you type the member access operator (.), shows members for a type.|Yes|
108121
|Organize Usings/Open|Organizes namespaces referenced by **using** statements in C# or **open** directives in F#.|No|
109122
|Parameter Info|Shows helpful information about parameters as you type a function call.|Yes|
110123
|Quick Info|Displays the complete declaration for any identifier in your code.|Yes|
124+
|Automatic brace completion|Automatically completes F# brace-like syntax constructs in a transactional manner.|Yes|
111125

112126
For general information about IntelliSense, see [Use IntelliSense](using-intellisense.md).
113127

@@ -147,7 +161,7 @@ The following table summarizes the support for F# in Visual Studio tools.
147161
|Properties window|Displays and enables editing of properties of the object in the development environment that has focus.|Yes|
148162
|Server Explorer|Provides ways to interact with a variety of server resources.|Yes|
149163
|Solution Explorer|Enables you to view and manage projects and files.|Yes|
150-
|Task List|Enables you to manage work items pertaining to your code.|Yes|
164+
|Task List|Enables you to manage work items pertaining to your code.|No|
151165
|Test projects|Provides features that help you test your code.|No|
152166
|Toolbox|Displays tabs that contain draggable objects such as controls and sections of text or code.|Yes|
153167

0 commit comments

Comments
 (0)