Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureReq: Additional IntelliSense Help for Functions w/RETURNs #22

Open
DyoungMCWI opened this issue Mar 17, 2021 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@DyoungMCWI
Copy link
Contributor

Describe the solution you'd like
FUNCTION definitions can include a RETURN value. When typing the function name, it would ne nice if IntelliSense would provide additional context to suggest that a function has a return value.

Describe possible alternatives you've considered
N/A

Additional context
Particularly helpful for externally defined functions where the function definition isn't readily available.

** Screen Cap**
2021-03-16_21-12-18

@DyoungMCWI DyoungMCWI added the enhancement New feature or request label Mar 17, 2021
@JD-Howard
Copy link
Contributor

JD-Howard commented Mar 18, 2021

My long term goal for user defined functions is probably more aligned with incorporating some form of JSDOC like you have been doing in the FabricationDefinitions.ts file. I see your point and agree, but I think making educated guesses about the intended data types could easily backfire. Probably more so should we next try to deploy that same kind of logic on argument data types. IE, they could technically mutate throughout a script.
Keep this here as a reminder, but its probably coming in a different form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants