rescript-lang / rescript-lang/rescript-vscode
[Feature Request]: Add a semantic modifier to variables that are callable
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
Adding a semantic modifier to variables if they are callable will make it possible for themes to colorize functions.
Another option would be to differentiate variables and use a semantic token function when it is callable, I think this would support more themes since the function token is defined as one of the default ones but I don't know if that option is viable for the project.
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
No files or tests are named. Start by locating the plugin's semantic-token generation and inspect how callable variables are represented; determine whether a semantic modifier or the function token is viable. Done means themes can distinguish callable variables from other variables through the supported semantic-token behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100