Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Change All Occurrences" could be limited to the variable's scope #7213

Closed
jamespacileo opened this issue Jun 4, 2016 · 3 comments
Closed
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@jamespacileo
Copy link

  • VSCode Version: 1.2.0 Insider

This may just be an opinion, but would appreciate if you could consider this feature.

The "Change All Occurrences" currently works as a simple find and replace,
it would help workflow if a similar option existed for only changing variables with same name and scope.

Thanks for the great software. 👍

@Spown
Copy link

Spown commented Jun 5, 2016

this would be a highly language specific feature... Don't think it will be ever fully possible.

@jrieken jrieken added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Jun 6, 2016
@jrieken jrieken closed this as completed Jun 6, 2016
@jrieken
Copy link
Member

jrieken commented Jun 6, 2016

There is the rename feature which does what you are asking for. Today there is rename for quite a few languages like TypeScript, JavaScript, Go, C# etc. Best is to file a request against the language extension you are using

@jamespacileo
Copy link
Author

thanks @jrieken 👍

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants