Same name for the tabs
-
@БС
My suggestion: Stop doing dumb things.
I’ve no more to say on the subject.
Maybe someone else cares to continue this discussion with you. -
@БС said in Same name for the tabs:
What if I don’t save the file anywhere?
Until you save to the disk, you cannot use the same name as the tab name. And when you save to disk, the only way to have the same tab name is if the files are saved with the same name in two different directories, like Alan showed.
This isn’t to protect the user from doing something foolish – though it does have that as a side effect. It’s primary reason is technical: the underlying which-file-is-in-which-tab tracking system uses the full file name as an identifier. For files that have never been saved (
new 1
and similar, or whatever you manually rename the tabs to without saving). The “full file name” internally is justnew 1
(or whatever you’ve renamed the tab to). The system would not be able to track the difference betweennew 1
andnew 1
(or, in your example,tab1
andtab1
) on two separate tabs. For example, this caused problems when you do a “Find in all open files” or similar, as described in this bug report – and there are plenty of other conditions that would have similar problems – so they intentionally removed this bug in v7.9.2.If you feel you absolutely must have two tabs with the same name on the tab, then save those files to disk in two different folders, which will give the tabs the same visible name, but allow Notepad++ to distinguish them.
Further advice, which you didn’t ask for: Actually, if you feel that you need to have one or more files open in Notepad++ for more than 7 seconds, save those files to disk in appropriate folders where you know you will be able to find them in the future. Use the Auto Save plugin, configured per our FAQ, if you cannot be bothered to manually save files to disk.
-
@Alan-Kilborn said in Same name for the tabs:
@БС
My suggestion: Stop doing dumb things.
I’ve no more to say on the subject.
Maybe someone else cares to continue this discussion with you.First of all, don’t call anyone’s actions dumb, because you look dumb yourself by writing such a thing, especially if you have nothing to add.
Secondly, your post is not useful. Which begs the question: Who is doing dumb things here?
Thirdly, I asked a question and wanted an answer, not a useless answer, which led to the transfer of the question into a discussion.
In the fourth, if you think someone else’s actions are dumb without understanding why it is necessary in general, then maybe you yourself are dumb and you have nothing to do, but to write your unnecessary opinion?
-
@PeterJones said in Same name for the tabs:
@БС said in Same name for the tabs:
What if I don’t save the file anywhere?
Until you save to the disk, you cannot use the same name as the tab name. And when you save to disk, the only way to have the same tab name is if the files are saved with the same name in two different directories, like Alan showed.
This isn’t to protect the user from doing something foolish – though it does have that as a side effect. It’s primary reason is technical: the underlying which-file-is-in-which-tab tracking system uses the full file name as an identifier. For files that have never been saved (
new 1
and similar, or whatever you manually rename the tabs to without saving). The “full file name” internally is justnew 1
(or whatever you’ve renamed the tab to). The system would not be able to track the difference betweennew 1
andnew 1
(or, in your example,tab1
andtab1
) on two separate tabs. For example, this caused problems when you do a “Find in all open files” or similar, as described in this bug report – and there are plenty of other conditions that would have similar problems – so they intentionally removed this bug in v7.9.2.If you feel you absolutely must have two tabs with the same name on the tab, then save those files to disk in two different folders, which will give the tabs the same visible name, but allow Notepad++ to distinguish them.
Further advice, which you didn’t ask for: Actually, if you feel that you need to have one or more files open in Notepad++ for more than 7 seconds, save those files to disk in appropriate folders where you know you will be able to find them in the future. Use the Auto Save plugin, configured per our FAQ, if you cannot be bothered to manually save files to disk.
I understand everything, but there is such a thing as an order or a unique code, could do so.
For example:
Tab1 has order 1
Tab2 has order 2
Tab3 has order 3
and so on.Thank you for pointing out the version in which it worked, I will install an older version.
-
I meant that:
Tab1 has order 1
Tab1 has order 2
Tab1 has order 3
and so on.
The system just wouldn’t let me correct what I wrote, some kind of spam protection that’s crooked. -
@NameNotShort said in Same name for the tabs:
Who is doing dumb things here?
I’d say it is the person with
-1
reputation point versus the one with+9463
…Seriously, though, my (harsh) post was really designed to cause you to have a moment of reflection, to the tune of “IS what I’m wanting to do really dumb?”. There’s only one answer to that, IMO.
Cheers.
-
@Alan-Kilborn said in Same name for the tabs:
@NameNotShort said in Same name for the tabs:
Who is doing dumb things here?
I’d say it is the person with
-1
reputation point versus the one with+9463
…It’s a self-licking ice cream cone. Nobody gets permission to vote unless the incumbents agree first.
Seriously, though, my (harsh) post was really designed to cause you to have a moment of reflection, to the tune of “IS what I’m wanting to do really dumb?”. There’s only one answer to that, IMO.
Cheers.
Bad Assumptions that over-engineer features.
He is absolutely correct.
Would you make a person’s email address their login and identifier?
Email addresses change. Names change–ask some women when they get married.
Use globally unique identifiers.
Don’t create brittle connections between system concerns (i.e., file names and identifiers) and view concerns (i.e., a tab label).
Most importantly don’t call someone dumb because you ASSUME something should be engineered a certain way.
+9463 arrogance.
-
@NameNotShort said in Same name for the tabs:
I understand everything, but there is such a thing as an order or a unique code, could do so.
Since I’m not the developer, and this forum isn’t the issues tracker for Notepad++, telling us how you think it should be implemented will not change anything.
I will install an older version.
Good luck. Just remember, having unsaved documents as tabs with the same name will cause problems with many Notepad++ features, including the Search Results window: you are using an outdated Noteapd++ at your own risk.
At this point, I don’t see much of a reason for this discussion to continue, since the technical Notepad++ discussion seems to have run its course.
-
-
-
@Alan-Kilborn ++ to your answer. I would have asked the OP, “Why”??
-
@Stephen-Mann-0 said in Same name for the tabs:
@Alan-Kilborn ++ to your answer. I would have asked the OP, “Why”??
Probably I didn’t because there is no good reason for it, and no good to come of it if it is possible (that outweighs the bad). I stand pat on this. Note that I’m only responding in this thread because you are a new poster.
-
@Alan-Kilborn I thought that “Why?” was appropriate. To me, it sounds illogical, and even confusing. If there is a productive reason for why this is a good idea, and how I would see it as a benefit, then I would be curious.
-
@Stephen-Mann-0 said in Same name for the tabs:
To me, it sounds illogical, and even confusing.
Yep.
If there is a productive reason for why this is a good idea, and how I would see it as a benefit, then I would be curious.
OP has had ample time and opportunity to provide the “why”. Nothing stated has convinced me it is reasonable.
-
and who are you to justify such a demand?
It’s just as logical to ask, “why not?”
I would have responded, “because I have an idea and it’s none of your business.”
Another generalized example of why engineers are technicians and not architects.
Obviously this was possible before and someone took the time and effort to change it.
Why? It seems illogical to me if it wasn’t causing a problem.
And you can stick your -1s wherever you like. Not a single person here has disputed the facts of my statements. Not worth the time? or is it a lack of capacity?
-
Then if it’s none of his business, figure it out yourself. This is a volunteer help forum. People are gracious enough to come here and help people who have legitimate questions. @Alan-Kilborn 's original post was succinct and to the point. Then the OP posted a hypothetical argument, to which @Alan-Kilborn posted a likewise hypothetical answer.
The OP as well as you, seem more intent on wasting other people’s time in circular arguments and envious challenges to perceived authority, rather than in seeking legitimate help.
Most of us, as we age, recognize that when the pig is trying to wrestle with someone in the mud, it’s because the pig enjoys it. The volunteers here, however, have little patience to placate that intellectually bored shenanigans.
The question, no matter how legitimate it may have been at first, has devolved when it became a debate about hypotheticals, and even further when it started trying to devolve it into a morality argument. Fini.
-
@Alan-Kilborn said in Same name for the tabs:
@NameNotShort said in Same name for the tabs:
Who is doing dumb things here?
I’d say it is the person with
-1
reputation point versus the one with+9463
…Seriously, though, my (harsh) post was really designed to cause you to have a moment of reflection, to the tune of “IS what I’m wanting to do really dumb?”. There’s only one answer to that, IMO.
Cheers.
I just had some tea.
This sentence has as much value as your +9463 reputation points. It doesn’t change anything and doesn’t make you superman.You’d better think about the nonsense you’re writing.
No one asked your opinion about what is stupid and what is not. Anything can look stupid if you think stupid. -