SQL Variables are Different Colors

Can anyone tell me why my SQL vars are diff colors?

0
11 comments

Hello Sean,

Thank you for contacting Rider support.
Would you mind telling me what the theme do you use?

Thank you in advance and have a nice day!

0

Is this what you need?

0

Hello Sean,

Thank you for the details shared.
Apologies for keeping you so long without an answer. Have you changed a theme since the moment you reported the issue? I see a non-default editor background (you have an image in the background) on the screenshot you shared. There should be no background image if you use the default Dark theme.

If the issue is still relevant, would you mind sharing the additional information as described below?

  • Are these 4 fields constantly white or it happens occasionally?
  • Clear everything from the %LOCALAPPDATA%\JetBrains\Rider{version}\log folder;
  • Launch Rider in internal mode as described here;
  • Enable Daemon, Editors, EditorsDumpAllTypingAndActions, Documents trace scenarios via Help | Diagnostic Tools | Choose Trace Scenarios;
  • Reproduce the issue;
  • Make a fullscreen screenshot of Rider that demonstrates the issue;
  • Call the Tools | Internal Actions | Markup Actions | Dump Highlighters action;
  • Collect Rider logs via Help | Collect Logs;
  • Disable the trace scenarios enabled;
  • Attach the generated logs archive and a screenshot to this ticket or upload it to the Upload Service and let me know the Upload ID.

Thank you in advance and have a nice day!

0

Here's the upload ID: 2023_02_01_2BN2RJriBgo831UyP96AVp

As to your Q, yeah, it looks like those are always mal-colored.  I restarted rider a couple times and they always have the same color.

0

Hello Sean,

Thank you for the details shared.
Would you mind also sharing the generated highlighters dump. It should be under the C:\Users\{user}\AppData\Local\Temp folder. The file name is DumpHighlighters{date}-{timestamp}*.txt. If you can't find it for some reason, please generate it again with the problematic editor tab opened (Tools | Internal Actions | Markup Actions | Dump Highlighters).

Thank you!

0

Here you go.

2023_02_02_TjVCm7V8LQSygp5RVctBvC

0

Hello Sean,

Thank you for the details shared.

The issue looks like this known problem which is already fixed. Would you mind trying the latest Rider 2023.1 EAP and letting me know if it helps? 

Thank you in advance and have a nice day!

0

This is with the latest EAP...

Those table cols are fixed...

But the vars are still not right.

0
Hi Sean,

I wrote a procedure alike yours in a sql file, but couldn't reproduce this behavior. Can you provide a DDL of this procedure so we can do another test?
0

Here's the DDL *should* be all you need.  Just add this to a DB and you should be fine.

Upload ID: 2023_02_13_21ABFGhjMS8uXAGA2dcrKw

 

0

Thanks for the update.

These parameterized columns belong to unused code; you can see it if hovering with the cursor one of those columns. If you don't want them to be highlighted, you can disable the foreground text here:

0

Please sign in to leave a comment.