Skip to main content

Questions tagged [syntax-highlighting]

Questions about highlighting for Mathematica input in the Mathematica front-end, and Wolfram Workbench.

0 votes
1 answer
94 views

I'm trying to copy the appearance settings from Mathematica to the Wolfram Language extension in VS Code by adding the textMateRules below. However, it doesn't work ...
internet's user avatar
  • 1,417
5 votes
1 answer
164 views

I would like user-assigned symbols to be colored dark blue instead of black, to distinguish them from built-in symbols. Is this possible? I wasn't able to find any option available for this in the ...
Diffycue's user avatar
  • 1,973
1 vote
0 answers
120 views

I know I can Style all content of a cell using: ...
user13892's user avatar
  • 10.4k
2 votes
1 answer
139 views

I use Module a lot to localize symbols. Occasionally I will forget a semicolon on one of the lines in the middle, and don't notice until I get flooded with Tag ...
Tapiocaweasel's user avatar
0 votes
0 answers
82 views

I occasionally get issues where I'm doing a expensive calculation and the symbols I'm assigning the outputs to do not become black after assignment. The value is correctly updated, but the symbol ...
Tapiocaweasel's user avatar
3 votes
1 answer
153 views

There are situations that the caret cursor symbol ^ remains in the code like if the code is not finished and something has to be added in its position yet the code ...
azerbajdzan's user avatar
  • 32.8k
10 votes
1 answer
436 views

V 14.1 seems to have introduced another annoying eye candy feature. When the cursor is next to a symbol in an expression, all matching symbols become dark blue at same time. I find this distracting. ...
Nasser's user avatar
  • 156k
4 votes
1 answer
96 views

The example below shows that the symbol test`MyFunction is still in blue, which suggests that it is not defined. The color is defined in menu Edit > Preferences&...
ScotMartin's user avatar
10 votes
1 answer
614 views

I have made this type mistake so many times: Which[a=b,expr1,True,expr2] as opposed to the intended but still correct syntax ...
Craig Carter's user avatar
  • 7,544
5 votes
1 answer
295 views

This example is obviously not useful on its own, but it will cover everything I actually need to know for a more complicated function I'm making. The example is to recreate the ...
Lucas Mumbo's user avatar
1 vote
2 answers
146 views

SyntaxInformation[f] = {"ArgumentsPattern" -> {}}; f[] := 0; After one ClearAll[f] or ...
H.v.M.'s user avatar
  • 1,103
7 votes
1 answer
261 views

I have some code (that I did not write) that has many unused local variables in Modules. I would like to clean this up. Is there any automated way to do this or to make it more clear that a local ...
Kvothe's user avatar
  • 4,931
2 votes
0 answers
88 views

For simplicity, let's say I have defined my own function f that takes in exactly one input argument which is of the Symbol type ...
bern's user avatar
  • 71
0 votes
0 answers
47 views

I have 2 problems, I need to delete the output comments of a special calculation and also see if there is a way to please the letters of the MMA menu, I have searched and read but it has not been ...
BeTDa's user avatar
  • 500
0 votes
3 answers
1k views

I'm trying to save the notebook as PDF with working. I tried all methods in old threads but nothing works. Does anyone know how to make this work? (version 12.0.0.0, windows 64-bit) ...
emnha's user avatar
  • 2,151

15 30 50 per page
1
2 3 4 5
8