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

Feature: Avoid duplicating targets function names? #23

Open
mattmoo opened this issue Oct 18, 2023 · 2 comments
Open

Feature: Avoid duplicating targets function names? #23

mattmoo opened this issue Oct 18, 2023 · 2 comments

Comments

@mattmoo
Copy link

mattmoo commented Oct 18, 2023

Great add-in, I use it all the time. One thing that sometimes happens is that I'll accidentally have the cursor where I don't want it, and particularly something like tar_target(). Maybe an option to ignore with warning would be cool.

@MilesMcBain
Copy link
Owner

MilesMcBain commented Oct 18, 2023

Yeah good idea. Happens to me too from time to time.

I’m think a configurable list of banned names would be good, but also a kind of block to creating a function with the same name as one that’s already in your global namespace. Potentially like what happens when you use the addin twice in a row on the same function.

@mattmoo
Copy link
Author

mattmoo commented Oct 24, 2023

That sounds like a good, cohesive solution.

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

No branches or pull requests

2 participants