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

Outliner no alerting if functions or classes are doubled - functions case #6999

Closed
ManPython opened this issue Feb 28, 2025 · 2 comments
Closed
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@ManPython
Copy link

ManPython commented Feb 28, 2025

Yes, or just list this same in elements list in outliner (Then more easy to find similar code parts, it can be case where was paste part far from current [eg. not only double paste], as wrong place, etc.). Soo red color for font, counter how many duplicated bike1(3) - eg

$${\color{red}def bike1()(3)}$$ $${\color{black}def bike2()}$$ $${\color{black}def bike3()}$$ $${\color{black}def bike4()}$$ $${\color{red}def bike1()(3)}$$ $${\color{red}def bike1()(3)}$$ $${\color{black}def bike5()}$$ $${\color{red}def bike1()(3)}$$

Originally posted by @ManPython in #6992

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Feb 28, 2025
@ManPython
Copy link
Author

ManPython commented Feb 28, 2025

@debonte
You are wrong, debuger on outline allow user to have in code this same parts code, and this is problem.
#6992 (comment)

@ManPython ManPython changed the title Outliner no alerting if functions or classes are doubled Outliner no alerting if functions or classes are doubled - functions case Feb 28, 2025
@debonte
Copy link
Contributor

debonte commented Feb 28, 2025

Duplicate of #6992

@debonte debonte marked this as a duplicate of #6992 Feb 28, 2025
@debonte debonte closed this as completed Feb 28, 2025
@debonte debonte added duplicate This issue or pull request already exists and removed needs repro Issue has not been reproduced yet labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants