Comments (5)
Yes, makes sense
from fsharp-compiler-docs.
@ovatsus The XmlDoc for provided types should already be populated - are you seeing that?
from fsharp-compiler-docs.
In the FSharp.Data.xml file generated by the compiler there's no mention of any of the type providers:
- CsvProvider
- JsonProvider
- XmlProvider
- FreebaseData
- FreebaseDataProvider
- WorldBankData
- WorldBankDataProvider
The XmlDoc property of the FSharpEntity instances has the comments, but the XmlDocSig property is empty. We're looking for <param>
tags there to discover the parameters, but it's a very unreliable way to get the info. You don't get the type of the parameters, the default values, or event the parameters for which there's no documentation. See ovatsus/FSharp.Formatting@a5c6c06#diff-e2212151e1f9b6e7e085820d2a6b71caR572
from fsharp-compiler-docs.
Ah, turns out staticparameters were already there, I missed them. The DefaultValue and IsOptional fields you added are working, but HasDefaultValue is coming always false, even when there is a default value and its correctly populated in the DefaultValue field. I still have to hack around the xml docs, though...
from fsharp-compiler-docs.
As HasDefaultValue is not working, maybe you can remove it, IsOptional is already a good indicator ovatsus/FSharp.Formatting@d6ec05f#diff-e2212151e1f9b6e7e085820d2a6b71caR441
from fsharp-compiler-docs.
Related Issues (20)
- First interactive prompt is printed prematurely on --use:x.fsx
- [Meta] Can't disable appveyor builds for this repo HOT 3
- How to use interpolated strings with FSharp.Compiler.Service (37.0)? HOT 2
- Driver.compileOfAst fails on Xamarin.Mac due to reference to .NET Core HOT 3
- how to set __SOURCE_DIRECTORY__ , File and TopLine on FsiEvaluationSession HOT 2
- FCS update? HOT 7
- Testhost.exe in Azure DevOps on Prime Pipeline hangs after switch from 36.0.3 to 37.0.0 version
- FCS v38.0 fails with the official sample in net472 app HOT 4
- Unable to find package 'FSharp.Compiler.Service.MSBuild.v12.0'
- Expression tree with anonymous type created incorrectly HOT 1
- FSharpCompilerService not working on .NETCore 3.1.12 due to mismatch version of the App ref directory HOT 1
- a syntax highlighter for fslex, fsyacc, F#
- TypeInitializationException in GetProjectOptionsFromScript in published console application HOT 4
- This repo now contains a doc build for FSharp.Compiler.Service
- Doc warnings
- Strict build of docs
- Broken links on docs homepage HOT 4
- Docs are broken, may be fixed by fsdocs 16.1.0 HOT 1
- `nativeint` docs 404 HOT 1
- Product-specific changelogs aren't rendered helpfully in the nav HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fsharp-compiler-docs.