-
-
Notifications
You must be signed in to change notification settings - Fork 17
66 generate server client #67
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
TheAngryByrd
merged 24 commits into
ionide:main
from
TheAngryByrd:66-generate-server-client
Mar 12, 2025
Merged
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
38beb5e
Update Fabulous Ast [1.0.0-pre16]
TheAngryByrd ccaef3e
Generating LspServer interface
TheAngryByrd d2e7fd5
Generate ClientServer Interfaces
TheAngryByrd ee96fb5
fix CI
TheAngryByrd 9e7592c
Rearrange types to support codegen serverclient
TheAngryByrd 62bcf1f
Better incremental build when gentool changes
TheAngryByrd fa31f9f
Bump FabulousAST 1.2.0
TheAngryByrd f945550
Remove stringly types
TheAngryByrd 0cf6487
Fixing watch
TheAngryByrd 72a94ab
Incremental write and comment fixes
TheAngryByrd 955e7f6
Fix Base Class implementations
TheAngryByrd 12b5dca
Add designtime check to code gen
TheAngryByrd 989faba
Generate Route mappings
TheAngryByrd 0c78f77
refactor Generate ClientServer
TheAngryByrd 20c76f1
Move Generate ClientServer to own file
TheAngryByrd 39f56ef
fix build?
TheAngryByrd 2fa4902
fantomas the world
TheAngryByrd 5889d99
fix build??
TheAngryByrd 20eaab5
Fix warnings
TheAngryByrd 6439441
fix artifact uploads
TheAngryByrd 0c4b185
Format on build
TheAngryByrd 5149ff3
purge paket remnants
TheAngryByrd 6408e3f
Delete old ILspServer
TheAngryByrd 0d1af24
Add to FileWrites to Cleanup
TheAngryByrd 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
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
"Ionide", | ||
"Newtonsoft", | ||
"Supertypes" | ||
] | ||
], | ||
"editor.formatOnSave": true | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!-- | ||
This file allows overriding of properties for all projects in the directory. | ||
See | ||
https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-by-directory?view=vs-2022#directorybuildprops-and-directorybuildtargets | ||
--> | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<_BuildProjBaseIntermediateOutputPath>$(MSBuildThisFileDirectory)build/obj/</_BuildProjBaseIntermediateOutputPath> | ||
<_DotnetToolManifestFile>$(MSBuildThisFileDirectory).config/dotnet-tools.json</_DotnetToolManifestFile> | ||
<_DotnetToolRestoreOutputFile> | ||
$(_BuildProjBaseIntermediateOutputPath)/dotnet-tool-restore-$(NETCoreSdkVersion)-$(OS)</_DotnetToolRestoreOutputFile> | ||
<_DotnetFantomasOutputFile> | ||
$(BaseIntermediateOutputPath)dotnet-fantomas-msbuild-$(NETCoreSdkVersion)-$(OS)</_DotnetFantomasOutputFile> | ||
</PropertyGroup> | ||
|
||
<!-- Make sure that dotnet tools are restored before restoring any project --> | ||
<Target Name="ToolRestore" BeforeTargets="Restore;CollectPackageReferences" | ||
Inputs="$(_DotnetToolManifestFile)" Outputs="$(_DotnetToolRestoreOutputFile)"> | ||
<Exec Command="dotnet tool restore" WorkingDirectory="$(MSBuildThisFileDirectory)" | ||
StandardOutputImportance="High" StandardErrorImportance="High" /> | ||
<MakeDir Directories="$(_BuildProjBaseIntermediateOutputPath)" /> | ||
<Touch Files="$(_DotnetToolRestoreOutputFile)" AlwaysCreate="True" ForceTouch="True" /> | ||
</Target> | ||
|
||
<!-- Make sure that files are formatted before building --> | ||
<Target Name="Format" | ||
Condition=" '$(MSBuildProjectExtension)' == '.fsproj' AND '$(DesignTimeBuild)' != 'true' " | ||
BeforeTargets="BeforeBuild" Inputs="@(Compile)" Outputs="$(_DotnetFantomasOutputFile)"> | ||
<Exec Command="dotnet fantomas $(MSBuildProjectDirectory)" StandardOutputImportance="High" | ||
StandardErrorImportance="High" WorkingDirectory="$(MSBuildThisFileDirectory)" | ||
ContinueOnError="WarnAndContinue" /> | ||
<Touch Files="$(_DotnetFantomasOutputFile)" AlwaysCreate="True" ForceTouch="True" /> | ||
</Target> | ||
|
||
</Project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.100", | ||
"rollForward": "major" | ||
"version": "9.0.100", | ||
"rollForward": "latestMinor" | ||
} | ||
} |
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Add
$(_DotnetToolRestoreOutputFile)
to theFileWrites
Item so thatdotnet clean
will remove it?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added, just double check if this is the proper way to do it.