You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ide/fsharp-visual-studio.md
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The following image shows some of the F# item templates:
35
35
36
36
For more information about the item templates for data access, see [F# type providers](/dotnet/fsharp/tutorials/type-providers/index).
37
37
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#:
39
39
40
40
|Project setting|Supported in F#?|Notes|
41
41
|---------------|----------------|-----|
@@ -60,7 +60,9 @@ The following table summarizes project-properties features supported and not sup
60
60
|Build|[Build Page, Project Designer](reference/build-page-project-designer-csharp.md)|Enables you to control how the code is compiled.|
61
61
|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.|
62
62
|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.|
63
64
|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.|
64
66
65
67
### F#-specific settings
66
68
@@ -81,15 +83,25 @@ The following features of the Visual Studio code and text editors are supported
81
83
|Automatically format|Reformats code with standard indentation and style.|No|
82
84
|Bookmarks|Enables you to save places in the editor.|Yes|
83
85
|Change indentation|Indents or unindents selected lines.|Yes|
86
+
|Smart indentation|Automatically indents and de-indents the cursor according to F# scoping rules.|Yes|
84
87
|[Find and replace text](finding-and-replacing-text.md)|Enables you to search in a file, project, or solution, and potentially change text.|Yes|
85
88
|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|
86
89
|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|
87
90
|Go To Line|Enables you to go to a specific line in a file, by line number.|Yes|
88
91
|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|
89
93
|[Outlining](outlining.md)|Enables you to collapse sections of your code to create a more compact view.|Yes|
90
94
|Tabify|Converts spaces to tabs.|Yes|
91
95
|Type colorization|Shows defined type names in a special color.|Yes|
92
96
|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|
93
105
94
106
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).
95
107
@@ -99,15 +111,17 @@ The following table summarizes IntelliSense features supported and not supported
99
111
100
112
|Feature|Description|Supported in F#?|
101
113
|-------|-----------|----------------|
102
-
|Automatically implement interfaces|Generates code stubs for interface methods.|No|
114
+
|Automatically implement interfaces|Generates code stubs for interface methods.|Yes|
103
115
|Code snippets|Injects code from a library of common coding constructs into topics.|No|
104
116
|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|
106
119
|Generate code elements|Enables you to generate stub code for a variety of constructs.|No|
107
120
|List Members|When you type the member access operator (.), shows members for a type.|Yes|
108
121
|Organize Usings/Open|Organizes namespaces referenced by **using** statements in C# or **open** directives in F#.|No|
109
122
|Parameter Info|Shows helpful information about parameters as you type a function call.|Yes|
110
123
|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|
111
125
112
126
For general information about IntelliSense, see [Use IntelliSense](using-intellisense.md).
113
127
@@ -147,7 +161,7 @@ The following table summarizes the support for F# in Visual Studio tools.
147
161
|Properties window|Displays and enables editing of properties of the object in the development environment that has focus.|Yes|
148
162
|Server Explorer|Provides ways to interact with a variety of server resources.|Yes|
149
163
|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|
151
165
|Test projects|Provides features that help you test your code.|No|
152
166
|Toolbox|Displays tabs that contain draggable objects such as controls and sections of text or code.|Yes|
0 commit comments