JetBrains / JetBrains/resharper-unity

Update log live template

Open
#1,959 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

The `log` live template is set to `Debug.Log($VAR$);` with the `VAR` macro showing basic completion. Expanding this and trying to enter a string literal requires cancelling completion + selection, or hitting `"` will surround `VAR` with quotes. It would probably be better to have the template be `Debug.Log($END$);` or `Debug.Log("$END$");`

Contributor guide

Open the contributing guide

Research direction

Start by locating the `log` live template definition in the ReSharper Unity plugin and inspect how its `VAR` macro is configured. Verify the template's expansion and quoting behavior, then confirm that entering a string literal no longer requires cancelling completion or produces unwanted quotes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.