Skip to content

Fsharp editor #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 101 commits into
base: release/dev16.3-mono
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
30777cc
Compiles
nosami Nov 29, 2019
c7ea713
Remove VS SDK tools
nosami Nov 30, 2019
e3fbbeb
Better tooltips
nosami Dec 10, 2019
8299f5f
stash
nosami Dec 16, 2019
69c9b75
stash
nosami Dec 16, 2019
0fe661b
stash
nosami Dec 28, 2019
397f2f3
Commit manager
nosami Jan 5, 2020
1415e5e
glyphs
nosami Jan 5, 2020
db863c3
classified intellisense descriptions
nosami Jan 5, 2020
6385303
XML docs in tooltips
nosami Jan 6, 2020
488de37
Clickable hyperlinks
nosami Jan 7, 2020
da5e900
Syntax and semantic highlighting
nosami Jan 7, 2020
b4aead7
Remove syntactic analyzer as it's unused and crashes Mono
nosami Jan 8, 2020
81f40d2
Navigable symbols
nosami Jan 8, 2020
9ecda4a
Bump FCS
nosami Jan 8, 2020
aee2642
stash
nosami Feb 14, 2020
069f198
stash
nosami Feb 14, 2020
be8082b
Update project file
nosami Feb 17, 2020
eeb2734
Update project file names
nosami Feb 17, 2020
f5b9cb2
Fix signing key
nosami Feb 17, 2020
7393def
Add shared project to FSharp.Editor.fsproj
nosami Feb 17, 2020
428234e
Add temporary references
nosami Feb 17, 2020
8de09b1
Remove dependency on FSharpBinding
nosami Feb 18, 2020
c1c2b55
Move Project type to fsharp-editor
nosami Feb 18, 2020
6fb35c4
Move F# Mime Types to FSharp.Editor
nosami Feb 19, 2020
9a5010c
Include .fsi files in editor
nosami Feb 19, 2020
1b98a2f
Bump FCS to 34.0.1
nosami Feb 19, 2020
6af9c86
Remove junk references
nosami Feb 19, 2020
27de0e4
Intellisense fixes
nosami Feb 20, 2020
ca05f4e
Intellisense fixes
nosami Feb 20, 2020
4c8b49f
Intellisense fixes
nosami Feb 20, 2020
2a23e4b
Bump FCS to 34.0.1
nosami Feb 21, 2020
2aac7ad
Don't optimize in release mode
nosami Feb 21, 2020
ca7fd46
TailCalls
nosami Feb 21, 2020
b0fcb9f
Fix project loaded indicator
nosami Feb 21, 2020
2aecebd
Fix IVT and hide workspace status icon
nosami Feb 21, 2020
cca764a
Add support for .fsx files
nosami Feb 22, 2020
b379cce
Bump FCS
nosami Feb 25, 2020
f5c04dc
Fix resx translations
nosami Feb 25, 2020
9d43046
Bump FCS
nosami Feb 25, 2020
2e44cfc
Switch logging to MD LoggingService
nosami Feb 27, 2020
4e7fe80
Add workspace invalidation
nosami Feb 28, 2020
7902505
Add Navigation bar support
nosami Mar 3, 2020
ae6ab31
Add document outline pad
nosami Mar 4, 2020
afcee8e
Document outline fix
nosami Mar 4, 2020
4694b6b
rebase and add Microsoft.CodeAnalysis.ExternalAccess.FSharp
nosami Mar 6, 2020
82c57d6
Source files should be listed under SourceFiles project option
nosami Mar 7, 2020
c37156a
Fix compiler options
nosami Mar 9, 2020
5c5fb05
Guard against empty Project options
nosami Mar 9, 2020
c188d6f
Revert FCS version
nosami Mar 9, 2020
7c0cd7c
Fix ctrl-space
nosami Mar 9, 2020
319b314
CompletionService clean up
nosami Mar 10, 2020
6718759
Color locals like C#
nosami Mar 19, 2020
04fc5fa
Highlight mutable types
nosami Mar 19, 2020
9b643f0
Respect highlight mutables setting
nosami Mar 19, 2020
2027594
Better default color
nosami Mar 19, 2020
fe6bf69
Don't local copy references
nosami Mar 19, 2020
d1c8416
Share output folder with FSharpBinding
nosami Mar 23, 2020
645a29d
Implement IBreakpointSpanResolver for more granular breakpoints
nosami Mar 26, 2020
0cca372
Simplify CompletionService
nosami Mar 30, 2020
3b82b15
Fix arg out of range exception
nosami Mar 31, 2020
d51d1ac
Start converting F# interactive pad
nosami Mar 31, 2020
7214cd9
Porting Interactive pad to new editor
nosami Mar 31, 2020
8aec525
Add prompt
nosami Apr 2, 2020
186c0ad
Allow input
nosami Apr 3, 2020
a83ed6c
Add interactive completions
nosami Apr 3, 2020
0699dcc
Fix return key when intellisense is active
nosami Apr 6, 2020
a7d2577
Add InteractiveClassification
nosami Apr 9, 2020
3b89708
Fix interactive classification
nosami Apr 15, 2020
db5b4e0
1 based column index for interactive completion
nosami Apr 16, 2020
86755f0
Get debugger tooltips for LocalName classification
nosami Apr 16, 2020
a06940b
Remove dependency on FSharpBinding
nosami Apr 16, 2020
62b93f2
Convert interactive completions to FSharpDeclarationItem API
nosami Apr 16, 2020
e0cb943
Scroll to last line
nosami Apr 17, 2020
601bd69
Add interactive command history
nosami Apr 17, 2020
e7b72bc
Mark readonly region
nosami Apr 17, 2020
cba1c75
Ensure that input only occurs on last line
nosami Apr 17, 2020
5d93b1f
Fix backspace and return key handling
nosami Apr 17, 2020
3fe16f1
Add interactive completion tooltips
nosami Apr 18, 2020
691f9e1
Add F# Interactive signature help
nosami Apr 22, 2020
0f0671b
Re-enable clear and reset buttons
nosami Apr 22, 2020
1d5fb79
Make restart work
nosami Apr 27, 2020
8383b0f
Clean up
nosami Apr 27, 2020
7a593f2
Fix key handling and refactor
nosami Apr 28, 2020
9feb3ae
extract glyph code to separate file
nosami Apr 29, 2020
b3af7a0
Fix off by one error
nosami Apr 29, 2020
e536008
Make interactive glyph prompt appear at the correct time
nosami Apr 29, 2020
2582dac
Don't block UI thread for go to definition
nosami Apr 29, 2020
2ba31a2
Clean up
nosami Apr 30, 2020
295ab48
Clean up
nosami Apr 30, 2020
1ec2ab1
Remove unneeded overrides in FSharpProject
nosami Apr 30, 2020
98c80db
Move PortableFSharpProjectFlavor to FSharp.Editor project
nosami Apr 30, 2020
559e462
rebase
nosami May 4, 2020
e576c00
Allow tests to kill fsi
nosami May 6, 2020
72c1734
Move code from fsharpbinding to FSharp.Editor
nosami May 13, 2020
9ec32c0
Wire up global search
nosami May 14, 2020
f8c61ef
Clean up Global search
nosami May 14, 2020
d431c2c
Add editor context menu xml
nosami May 14, 2020
5860c76
FSharp-Editor depends on MonoDevelop.TextEditor
nosami May 14, 2020
e2fd879
Add send text and references commands to context menu
nosami May 14, 2020
0f2c6e0
Add F# templates to FSharp.Editor addin
nosami May 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions Directory.Build.props

This file was deleted.

5 changes: 0 additions & 5 deletions Directory.Build.targets

This file was deleted.

109 changes: 0 additions & 109 deletions FSharpBuild.Directory.Build.props

This file was deleted.

64 changes: 0 additions & 64 deletions FSharpBuild.Directory.Build.targets

This file was deleted.

8 changes: 4 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<UsingToolXUnit>false</UsingToolXUnit>
<!-- opt-in properties -->
<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
<UsingToolNuGetRepack>true</UsingToolNuGetRepack>
<UsingToolSourceLink>true</UsingToolSourceLink>
<UsingToolSymbolUploader>true</UsingToolSymbolUploader>
<UsingToolVSSDK>true</UsingToolVSSDK>
<!-- <UsingToolNuGetRepack>true</UsingToolNuGetRepack> -->
<!-- <UsingToolSourceLink>true</UsingToolSourceLink> -->
<!-- <UsingToolSymbolUploader>true</UsingToolSymbolUploader> -->
<!-- <UsingToolVSSDK>true</UsingToolVSSDK> -->
</PropertyGroup>
<!-- Version number computation -->
<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/buildtools/fslex/fslex.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;netcoreapp2.1</TargetFrameworks>
<TargetFramework>net472</TargetFramework>
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstant)</DefineConstants>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/buildtools/fsyacc/fsyacc.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net472;netcoreapp2.1</TargetFrameworks>
<TargetFramework>net472</TargetFramework>
<DefineConstants>INTERNALIZED_FSLEXYACC_RUNTIME;$(DefineConstant)</DefineConstants>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
Expand Down
12 changes: 0 additions & 12 deletions vsintegration/Directory.Build.props

This file was deleted.

23 changes: 0 additions & 23 deletions vsintegration/Directory.Build.targets

This file was deleted.

12 changes: 0 additions & 12 deletions vsintegration/src/Directory.Build.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ open Microsoft.VisualStudio.Text.BraceCompletion
open Microsoft.VisualStudio.Text.Operations
open Microsoft.VisualStudio.Text
open Microsoft.VisualStudio.Text.Editor
open Microsoft.VisualStudio.Utilities
open Microsoft.CodeAnalysis
open Microsoft.CodeAnalysis.Text
open Microsoft.CodeAnalysis.Host
Expand Down Expand Up @@ -504,7 +503,7 @@ type EditorBraceCompletionSessionFactory() =
null

[<Export(typeof<IBraceCompletionSessionProvider>)>]
[<ContentType(FSharpConstants.FSharpContentTypeName)>]
[<Microsoft.VisualStudio.Utilities.ContentType(FSharpConstants.FSharpContentTypeName)>]
[<BracePair(Parenthesis.OpenCharacter, Parenthesis.CloseCharacter)>]
[<BracePair(CurlyBrackets.OpenCharacter, CurlyBrackets.CloseCharacter)>]
[<BracePair(SquareBrackets.OpenCharacter, SquareBrackets.CloseCharacter)>]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Copyright (c) Microsoft Corporation. All Rights Reserved. See License.txt in the project root for license information.

namespace Microsoft.VisualStudio.FSharp.Editor

open Microsoft.VisualStudio.Text.Classification
open System.ComponentModel.Composition
open System
open System.Windows.Media
open Microsoft.VisualStudio.Language.StandardClassification

module internal ClassificationDefinition =
[<Export>]
[<Microsoft.VisualStudio.Utilities.Name(FSharpClassificationTypes.MutableVar)>]
[<Microsoft.VisualStudio.Utilities.BaseDefinition(PredefinedClassificationTypeNames.FormalLanguage)>]
let FSharpMutableVarClassificationType : ClassificationTypeDefinition = null

[<Export(typeof<EditorFormatDefinition>)>]
[<ClassificationType(ClassificationTypeNames = FSharpClassificationTypes.MutableVar)>]
[<Microsoft.VisualStudio.Utilities.Name(FSharpClassificationTypes.MutableVar)>]
[<UserVisible(true)>]
[<Microsoft.VisualStudio.Utilities.Order(After = "keyword")>]
type internal FSharpMutableVarTypeFormat() as self =
inherit EditorFormatDefinition()

do self.DisplayName <- SR.FSharpMutableVarsClassificationType()
self.ForegroundColor <- Nullable(Color.FromRgb(255uy, 210uy, 28uy))
Loading