JetBrains / JetBrains/resharper-unity
Add "Upgrade NOTE:" as a Unity specific TODO pattern
Open
enhancement
shaderlab
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
When Unity automatically updates a shader due to being opened in a newer version, it will add notes to the top of the file, such as:
```
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
```
`Upgrade NOTE:` should be added as a Unity specific TODO pattern that will highlight these comments and add them to the TODO explorer. A quick google search for `Unity "Upgrade NOTE"` shows results where these changes have caused issues. It would be good practise to treat these as TODO items to prompt testing and verifying the change.
Contributor guide
Assessment
This issue has not been assessed yet.