microsoft / microsoft/Power-Fx
Cannot add description in Custom ReflectionFunction
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
I've created a custom function (named "RelatedItems") deriving from ReflectionFunction and using Language Server package in order to provide suggestions and hint in monaco editor; but there is NO way to configure or set the function description.
looking at the source code, all other functions are created from BuiltInFunction that is NOT exposed.
Can you extend ReflectionFunction in order to have similar functionalities of built-in functions?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read ReflectionFunction and the BuiltInFunction implementation used by other functions, then trace how the Language Server obtains function descriptions for Monaco suggestions. Done means a custom ReflectionFunction can configure a description and the language-server suggestions expose it like built-in functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100