Improve Intellisense for parameters of type Option
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 881
- Forks
- 285
- Avg merge
- 3d 36m
- Merged PRs (30d)
- 1
Description
As the title describes: the ToolTip on TransactionModel is misleading.
Creating a new test function and wanting to set the TransactionModel the ToolTip shown in VSCode tells me:
TransactionModel(TransactionModel: TransactionModel)
Filling in, for example, AutoRollback after the colon will show an error:
TransactionModel(TransactionModel: AutoRollback )
So I tried the scope operator ::
TransactionModel(TransactionModel::AutoRollback )
And this is fine. SO the Tooltip has to be changed to
TransactionModel(TransactionModel::TransactionModel)
Contributor guide
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
Reproduce the issue in Visual Studio Code by checking the IntelliSense tooltip for TransactionModel and an Option parameter such as AutoRollback. Update the displayed signature so the type qualification uses ::, then confirm the tooltip shows TransactionModel(TransactionModel::TransactionModel) without an error when the option is selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100