-
Notifications
You must be signed in to change notification settings - Fork 846
AddExplicitReturnType refactoring #16077
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
Merged
T-Gro
merged 63 commits into
dotnet:main
from
SebastianAtWork:features/codefix-return-type
Dec 19, 2023
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
e27012e
First Draft for AddExplicitReturnType (#15562) with exploration test …
SebastianAtWork b0fbe67
Added Workspace handling and some debug stuff #15562
SebastianAtWork 81d8f0e
Added One Way of getting the changed Solution for ExplicitReturnTypes…
SebastianAtWork 25b901e
added language resource files (not translated) #15562
SebastianAtWork c9baeda
refactor: Create test context and check return type
SebastianAtWork 42d67f5
refactor: Add explicit return type in FSharp.Editor.Tests/Refactors/A…
SebastianAtWork 493b374
feat: Add function to get return type of symbol
SebastianAtWork 12d76d4
refactor: Remove explicit return type annotation
SebastianAtWork b22a519
chore: committed resources
SebastianAtWork a14c048
* test(FSharp.Editor.Tests): finally got a working test for remove e…
SebastianAtWork 7b31775
🚀feat(tests) add F# editor refactoring tests
SebastianAtWork 83bfb1e
fix: formatting
SebastianAtWork da2dc25
* refactor(FSharp.Editor): improve explicit return type removal
SebastianAtWork 7c4f039
* feat(FSharp.Editor): add RangeOfReturnTypeDefinition and refactor m…
SebastianAtWork 9e31a4e
* refactor(FSharp.Editor.Tests): simplify and improve test code reada…
SebastianAtWork 1df0308
fix: remove debug lines
SebastianAtWork fefe14b
* refactor(FSharp.Editor.Tests): improve test method names and assert…
SebastianAtWork 7cf8ab0
* feat(FSharp.Editor): add InternalOptionBuilder module
SebastianAtWork 0c306a3
* refactor(FSharp.Editor): simplify async tasks in AddExplicitReturnT…
SebastianAtWork 8335c0b
* feat(FSharp.Editor): update condition for return type hint presence…
SebastianAtWork 0918cfb
* feat(FSharp.Editor.Tests): add new test cases for AddExplicitReturn…
SebastianAtWork 0a8c952
* feat(FSharp.Editor.Tests): add AsyncBugReproduction.fs to test suite
SebastianAtWork ac3cb24
bug: boiled bug down more
SebastianAtWork 168dc63
* feat(FSharpParseFileResults.fs): add RangeOfReturnTypeDefinition me…
SebastianAtWork 5978ad5
* refactor(FSharp.Editor.Tests): remove async tasks from test cases a…
SebastianAtWork c6ea3fc
* refactor(FSharp.Editor): simplify refactoring process in AddExplici…
SebastianAtWork a135896
remove RemoveExplicitReturnType and save for a different PR
SebastianAtWork e4f849c
test: fixed test formatting
SebastianAtWork 99e3686
* refactor(FSharp.Editor): remove InternalOptionBuilder.fs and update…
SebastianAtWork 7274f3e
* refactor(FSharp.Editor.Tests): rename AddExplicitReturnType.fs to A…
SebastianAtWork ec5ab97
* refactor(FSharp.Editor): remove unused imports in AddExplicitReturn…
SebastianAtWork 30b5fe7
* refactor(FSharpParseFileResults.fs, FSharpParseFileResults.fsi, Ref…
SebastianAtWork a3d2ce2
* feat(FSharp.Editor.Tests): add GetLastDocument method in RoslynHelp…
SebastianAtWork f8bfd0c
* refactor(RefactorTestFramework.fs): simplify TestContext type and r…
SebastianAtWork 3a2257f
* style: add space after colon in type annotations in AddExplicitRetu…
SebastianAtWork 1d24e5a
* refactor(AddExplicitReturnType.fs): remove unused CancellationToken…
SebastianAtWork c700bf8
* feat(FSharp.Editor): add checks for function or value names in AddE…
SebastianAtWork 9bb4545
* refactor(AddExplicitReturnTypeTests.fs): remove unused System.Linq …
SebastianAtWork 867803d
* refactor(RefactorTestFramework.fs): remove unused import Microsoft.…
SebastianAtWork 77987ca
I dont know this file type
SebastianAtWork 2a6e573
* refactor(AddExplicitReturnType.fs): simplify match expressions and …
SebastianAtWork 5d004eb
fixed: AddExplicitReturnTypeTests
SebastianAtWork 3edc9d0
Automated command ran: fantomas
github-actions[bot] 555ff74
Merge branch 'dotnet:main' into features/codefix-return-type
SebastianAtWork e59af47
* fix: add space before equals sign in type annotations in AddExplici…
SebastianAtWork 4c48771
* feat(AddExplicitReturnType.fs): add support for generic return type…
SebastianAtWork 79603fb
* refactor(AddExplicitReturnType.fs): improve inferredType calculatio…
SebastianAtWork d0940c2
fix: remove strange artifact
SebastianAtWork 81623d5
* refactor(FSharp.Editor): rename 'AddExplicitReturnTypeAnnotation' t…
SebastianAtWork ca88258
* refactor(FSharp.Editor): simplify CancellationToken usage in TestCo…
SebastianAtWork 2590310
Merge branch 'dotnet:main' into features/codefix-return-type
SebastianAtWork 7283db8
refactor: Improve code readability and performance
SebastianAtWork 0a5a193
refactor: Improve code readability and performance
SebastianAtWork e7d8114
Merge branch 'dotnet:main' into features/codefix-return-type
SebastianAtWork d9310a3
refactor: Refactored AddExplicitReturnType.fs and AddExplicitReturnTy…
SebastianAtWork e51805d
Merge branch 'dotnet:main' into features/codefix-return-type
SebastianAtWork 696b930
refactor: Simplify AddExplicitReturnType logic
SebastianAtWork 323c863
refactor: Add explicit return type to sum function
SebastianAtWork 6fb62df
tests: Added new special test cases for already existing opens
SebastianAtWork 8cf85ec
refactor: Update return type annotation in localization files
SebastianAtWork 3a7eac4
refactor: Rename AddExplicitReturnType to AddReturnType
SebastianAtWork b4ea8b9
Merge branch 'dotnet:main' into features/codefix-return-type
SebastianAtWork 14c2acc
Merge branch 'main' into features/codefix-return-type
SebastianAtWork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
* refactor(FSharp.Editor): remove unused imports in AddExplicitReturn…
…Type.fs, AddExplicitReturnTypeTests.fs and RefactorTestFramework.fs
- Loading branch information
commit ec5ab9729ff349322fed322261e92474b32dfdaf
There are no files selected for viewing
8 changes: 1 addition & 7 deletions
8
vsintegration/src/FSharp.Editor/Refactor/AddExplicitReturnType.fs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SebastianAtWork marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.