Skip to content

A few improvements to common lightbulb cases.#60251

Merged
CyrusNajmabadi merged 5 commits intodotnet:mainfrom
CyrusNajmabadi:lightBulbImprovements
Mar 18, 2022
Merged

A few improvements to common lightbulb cases.#60251
CyrusNajmabadi merged 5 commits intodotnet:mainfrom
CyrusNajmabadi:lightBulbImprovements

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

Before:

image

After

image

Deprioritized spell-check fixes, and tweaked 'generate variable' to be better about taking naming into account to not show lots of highly unlikely destination choices.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner March 18, 2022 02:13
Copy link
Copy Markdown
Member

@davidwengier davidwengier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could see this going further in future, and just checking if the identifier name starts with the right prefix, though would probably want the other options available in a secondary list in that case. Also if the identifier doesn't start with _ then put generate local first. Just so much bikeshedding potential!

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

@davidwengier I completely agree. But I wanted to just make a tiny qol difference here since I was getting so annoyed :-D

@CyrusNajmabadi CyrusNajmabadi merged commit 7d3f6d1 into dotnet:main Mar 18, 2022
@ghost ghost added this to the Next milestone Mar 18, 2022
@allisonchou allisonchou modified the milestones: Next, 17.2.P3 Mar 28, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the lightBulbImprovements branch May 3, 2022 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants