FYI: If you think the warnings are messy when you read the editor code and you use VSCode, add these lines into your `settings.json`.
```
"highlight.regexFlags": "g",
"highlight.regexes": {
"((NS_WARNING(_ASSERTION)?|MOZ_ASSERT(_IF)?|MOZ_ASSERT|NS_ERROR|NS_ASSERTION|MOZ_LOG)\\([^;]*(\\n[^;]*){0,10}\\);)": {
"decorations": [{"opacity": "0.5"}],
},
},
```
Bug 1620504 Comment 16 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
FYI: If you think the warnings are messy when you read the editor code and you use VSCode, add these lines into your `settings.json`.
```
"highlight.regexFlags": "g",
"highlight.regexes": {
"((NS_WARNING(_ASSERTION)?|MOZ_ASSERT(_IF)?|NS_ERROR|NS_ASSERTION|MOZ_LOG)\\([^;]*(\\n[^;]*){0,10}\\);)": {
"decorations": [{"opacity": "0.5"}],
},
},
```
FYI: If you think the warnings are messy when you read the editor code and you use VSCode, install ["Highlight" extension](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight) and add these lines into your `settings.json`. ``` "highlight.regexFlags": "g", "highlight.regexes": { "((NS_WARNING(_ASSERTION)?|MOZ_ASSERT(_IF)?|NS_ERROR|NS_ASSERTION|MOZ_LOG)\\([^;]*(\\n[^;]*){0,10}\\);)": { "decorations": [{"opacity": "0.5"}], }, }, ```
FYI: If you think the warnings are messy when you read the editor code and you use VSCode, install ["Highlight" extension](https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-highlight) and add these lines into your `settings.json`. ``` "highlight.regexFlags": "g", "highlight.regexes": { "(\\n)([\\s\\t]*(NS_WARNING(_ASSERTION)?|MOZ_ASSERT(_IF)?|NS_ERROR|NS_ASSERTION|MOZ_LOG)\\([^;]*(\\n[^;]*){0,10}\\);)(\\n)": { "decorations": [ {}, { "opacity": "0.5", }, {}, ], }, }, ```