googleworkspace / googleworkspace/apps-script-samples
@customfunction marks are missing
Open
Nobody has claimed this yet.
bug
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
Expected Behavior
Sample URL: sheets/customFunctions/customFunctions.gs
Description: "@customfunction" marks are missing
Actual Behavior
*@customfunction mark must be above metersToMiles and drivingDistance functions
Otherwise custom functions are not loaded on the sheets.
Steps to Reproduce the Problem
- Create a sheet via https://sheets.google.com/create
- Tools > Script editor
- Copy the code on sheets/customFunctions/customFunctions.gs
- Save
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
Open sheets/customFunctions/customFunctions.gs and inspect the metersToMiles and drivingDistance functions. Confirm how the sample is loaded in the Sheets script editor, then verify that the custom-function annotations are present above both functions and that the functions load after saving.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100