-
Notifications
You must be signed in to change notification settings - Fork 45
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
SyntaxInformation about options #218
Labels
feature
New functionality, or change in existing functionality
wolfram language
Requires Wolfram Language implementation
Comments
daneelsan
added a commit
that referenced
this issue
Oct 12, 2020
## Changes * Closes #218. * Adding "OptionNames" in `SyntaxInformation` of `WolframModelPlot`. ## Examples ```wl In[] := WolframModelPlot[{{1, 2, 3}}, "InvalidOption" -> 4] ``` ![image](https://user-images.githubusercontent.com/40190339/95776857-c0869e00-0c8a-11eb-93e7-74b8df0853b0.png) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/maxitg/setreplace/454) <!-- Reviewable:end -->
We need to do this for all other functions as well (e.g., |
maxitg
added
feature
New functionality, or change in existing functionality
wolfram language
Requires Wolfram Language implementation
and removed
weed
Something isn't working
labels
Oct 14, 2020
daneelsan
added a commit
that referenced
this issue
Jan 12, 2021
## Changes * Closes #218. * Adds "OptionNames" of `SyntaxInformation` for all exposed symbols with `Options`. ## Comments: * List of symbols that were missing "OptionNames": ```wl {HypergraphUnificationsPlot, SetReplace, SetReplaceAll, SetReplaceFixedPoint, SetReplaceFixedPointList, SetReplaceList, WolframModel} ``` ## Examples ```wl In[] := SetReplace[{{1, 2, 3}}, {{{1, 2, 3}} -> {4}}, 1, "InvalidOption" -> "test"] ``` ![image](https://user-images.githubusercontent.com/40190339/104142600-40a3c900-538a-11eb-9e73-9dc8d4d319d3.png) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/maxitg/setreplace/592) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature
New functionality, or change in existing functionality
wolfram language
Requires Wolfram Language implementation
Currently,
SyntaxInformation
is not defined for options of most functions with the exception ofRulePlot
, i.e., the followingshould color
"InvalidOption"
in red, which does not currently do:Expected behavior
It should do something similar to
RulePlot
:Version:
The text was updated successfully, but these errors were encountered: