How ti see what is starting tag without scrolling



  • @Scott-Sumner said:

    to fold with the mouse as I suggested, you have to have the top line on the screen, and this really isn’t useful if you are 500 lines away from it. :-(

    …but a keycombo tied to View (menu) -> Collapse Current Level would be useful in such a circumstance.



  • @Scott-Sumner

    Thanks for making me feel badly about my previous post. :-)

    On my version of NPP (6.8.3!), Ctrl+Alt+F is mapped to View -> Collapse Current Level and Ctrl+Alt+Shift+F is mapped to View -> Uncollapse Current Level . I may just have to use those some day…



  • @Jim-Dailey said:

    Thanks for making me feel badly about my previous post

    Not my intent…and I’m actually not sure why you’d feel that way…your post was great–I don’t wanna be the only one doing the Zingers here! In fact I wish I had your (usual) discipline to NOT respond to rude/clueless posts in a “snarky” way…like I’m known to do!

    mapped to View -> Collapse Current Level and …mapped to View -> Uncollapse Current Level

    I had these unmapped UNTIL this thread came along. Now I’ve mapped them and will be seeing how they work with Python code. One of my “problems” with Python thus far is that I can’t do “brace-matching” to jump around in blocks of code (like I can do with C/C++/C# where I can match the { and } and jump to either end).

    My workaround has been to mentally note what column some code starts in, and then when looking for the match farther down/up I have to look for that same column to see the “block”. This is trivial if the section is viewable on one screen, but when it gets far apart…well, it is a very similar problem to the OP’s. Collapsing and uncollapsing may help here…I will see. If it works out as a viable technique, well then I guess I have our rude OP to thank for it. :-)



  • @Jim-Dailey
    i hope you didn’t spoil a “if you want it, search for it” … at least that’s why i didn’t post it ;-)
    yes, it’s the same for all versions, unless it’s in conflict with a plugin’s shortcut.
    i memorized the word “fold” to remember that it’s ctrl+alt+f, because i don’t need it often



  • @Meta-Chuh Great tip (Fold) to remember Ctrl-Alt-F!



  • Are you all drunk here or… what ?

    User can’t see what is the starting tag of a closing tag. That’s all.

    Folding, Unfolding, Ctrl Alt F - dosesn’t help because it hides the closing tag.



  • @Edin-Sujoldzic

    I suppose the best advice one could offer you would be to stop using Notepad++ as it bothers you so much, and choose another text editor. As I presume that is what you will do, I wish you farewell from this Community. We don’t expect to see you post again. Cheers, mate!

    To the others, since we’ve started talking about keycombos, I’d like to say that I dislike it when people talk about keycombos (as opposed to the functionality tied to whatever keycombo). [Not that this is done in this thread, really.]

    Here’s why: When I started using Notepad++, it wasn’t my first text editor. Thus I was used to keycombos from years of use of a previous editor. I was delighted to find that in Notepad++ I could remove all of the default keycombos (one at a time) and reassign them to what I was used to. Thus I didn’t adapt to Notepad++, Notepad++ adapted to me. In fact, if Notepad++ didn’t provide this, I would likely be using a different text editor today.

    So if someone posts here and talks about only a keycombo, I have to (well, if I choose to…) go to a fresh portable install with all of the default keycombos in place and see what they are talking about. Is this a big deal to me? No.

    But…I think it would be better if people talked in terms of functionality and then it is always clear to readers here that might have remapped keycombos. Even talking in terms of both: functionality (default keycombo: ctrl+shift+___) is better than just some keycombo alone that may or may not mean anything to extensive remappers.

    My 2c, probably no one cares…everyone is just a drone, adapting their thinking to whatever Notepad++ designers have given them for keycombos. :-)



  • @Edin-Sujoldzic ,

    This is a Community Forum, made up of the Community of Notepad++ users – ie, very few people here have contributed to the codebase for NPP, and even fewer have any influence as to which features the owner/developer decides to incorporate. As fellow users, we can help you find a feature if you didn’t know it existed (assuming such existed), or we can give you reasonable workarounds – and folding and then unfolding to see where the matching tag is a quite reasonable workaround – or we can point you to the github issues page, which is the official location to request a feature, like @Eko-palypse did for you. We have done the latter two of those three possibilities, and the first wasn’t done because we don’t think the exact feature you requested exists.

    I am not sure what more you could have expected us to do, or how we could have been more helpful to you. To respond in rudeness and anger seems a poor way to get help here, and if you behave similarly when you ask this question or other questions elsewhere, you are likely to sour the milk wherever you go. (And, I hate to say it, but given the attitude you’ve expressed so far, you’re probably unlikely to find any more help in this forum. Human nature: people don’t like their hard work and volunteer effort spurned in such a manner, and are turned off from helping when they are treated in such a manner.) Good luck.



  • @Scott Summer

    I suppose the best advice one could offer you would be to stop using Notepad++. I wish you farewell from this Community. We don’t expect to see you post again. Cheers, mate!

    Is that your best about - why npp is without such a base functionality?

    So I wish you farewell from any community linked to any application, free or non-free, especially application for coding.

    It’s a too serious job for such a concept - stop using that application.

    @Peter Jones

    This is just a community forum - ok.

    What’s not ok - that someone on the forum can say - why you need the info about starting tag?

    Or - npp is free - you’re expecting too much.

    Or - you can fold/unfold tags content… - which doesn’t help.

    I don’t need any help from this community. I just can’t believe that no one here can’t say - the info about starting/closing tag is a must.

    Having such a community - Notepad++ will never be a robust, serious application.

    Bye.



  • You are free to take our advice, or not. You were rude to us, so you really shouldn’t be surprised if community members start responding harshly. When the strongest you get is “I wish you farewell” and "“We don’t expect you back” (because you don’t like it here, so obviously we don’t expect you back) and “good luck”, you’ve been pretty fortunate.

    You never previously asked “why” Notepad++ was missing this functionality, so bringing it up in your parting shot seems strange to me. If you wanted to know why, you should have asked earlier, before you had erased all goodwill you had. The why is actually easy: because the developer Don Ho never added it, and, as far as I know, because he’s never been asked to add it. (I haven’t searched the historical issues for this specific request, so maybe it has been asked for.)

    Regarding the actual task that you couldn’t solve: if you had been more polite, I would have suggested that it could probably be implemented in PythonScript or LuaScript plugins, which could have added the information you wanted to the status bar without too much difficulty. I might have even been able to cobble together a stab at it, though my Python skills aren’t great. Given your attitude and parting shots, I’m doubting you will ever see this partial suggestion. I am posting it, though, because I believe that someone else might come with a similar request for help, and if they find this thread, I want to be able to help them.

    You can complain that Scott suggested you stop using Notepad++ if you want. However, you should know, he did it only because Notepad++ was so obviously not meeting your needs: when something does not meet your needs, the reasonable choices are: politely ask for help in making it meet your needs, whether it be in the way you expect, or as a workaround; politely submit a feature request; or calmly and reasonably choosing to find a different product that does meet your needs. Since you had exhausted politeness, and didn’t seem willing to use our suggested workarounds (and were unwilling to explain why they were unsufficient), and since you were unwilling to make a feature request (which seems strange to me, given the level of effort you went to while complaining about our supposed lack of help), Scott didn’t see any alternative advice to give you, other than to recommend that his best remaining advice was for you to find a tool that does meet your needs.

    In your response directly to me:

    • I never noticed that anybody asked why you would want info about the starting tag. If they had, maybe it was because knowing why you need the information might help us tailor our response to your needs.

    • I never said “it is free, so you are expecting too much”. However, since you brought it up: if you are asking for help in a community forum for a free product where you haven’t paid for support, you only get as much out of the request as what you put into it – not how much you pay, but what you put into it. If you demand things of the volunteers who are not being paid to help you, and if you are rude to them, you shoudn’t be surprised if you get rudeness back. But instead, here, you got people who repeatedly gave you good advice, and who were genuinely trying to help you despite your rudeness. That’s pretty good value, in my opinion.

    • “fold/unforld tags … doesn’t help”: you’ve never actually explained why that’s insufficient. Your original request was to find the opening tag: When you fold that pair, it shows you the opening tag; true, it hides the closing tag, but your cursor is still technically on that closing tag, so you haven’t lost anything; you can look at the line number where the opening tag was, and then unfold to get you back exactly where you were. If you want to be able to go to the line with the opening tag, you can hit the up arrow once, and you’re there; if you then want to edit near the opening tag, just unfold, et voila. I don’t see how it doesn’t meet your needs, and you never tried to explain how it doesn’t.

    • “I don’t need any help” – well, it sure sounded that way when you started: you asked for our help, so we assumed you needed, or at least wanted, our help.

    • “I just can’t believe that no one here can’t say” – that doesn’t parse the way you intended it to.

    Notepad++ is a serious, robust application. It’s been around for years – I think I’ve been using it for more than a decade.

    Bye.



  • One can understand that free developers have no enough time, but it’s hard to understand that anyone can say - solution is here - you must fold… unfold… press arrows to see the cursor…

    Instead of just read that info in status bar.

    Also, file explorer for win 10 - doesn’t exists.
    Win 10 has its first edition five (5) years ago.

    But, excuse me, I forgot - npp is a robust application, of course.

    Also - funcion list for .js click function - all have the same name - “function”. Totally useless .

    But, excuse me, I forgot - npp is a robust application, of course.



  • You appear to be missing my point. I will try one more time, but this is the last I’ll say in response to you in this thread. (Really, I wish I were willing to let it go. Hopefully, this one last one.)

    No one has asked the developer for the feature, which is why it hasn’t been implemented. You may feel free to submit a request at the link already provided.

    You don’t like the workaround; fine. It apparently doesn’t meet some unspecified need that you have. If you had told us why it doesn’t meet your need, instead of fighting us, someone could have provided a different workaround, or an alternative solution, like a PythonScript which would have put the information on the status bar. But instead of that, you fought us, so you’re likely to be left disappointed in your desire to find this matching tag.

    NPP is easily as robust as most commerically-available software that I deal with, and more robust than many freeware titles out there. If you don’t like the way it does things, fine. But that doesn’t make it not “robust”. It doesn’t have a feature you want: fine, either ask for the feature where the developer will see the request (ie, the github issues page linked above), or find another piece of software that does what you want out of the box.

    I am now going to stop responding to this thread.



  • @PeterJones

    I’m thinking you (and maybe all of us) were being “baited” by the OP. I’m still taking this thread as a personal win because I learned something new. I’ve already forgot about the OP. :-)



  • No one has asked the developer for the feature.

    That sentence is a Shame.

    No one - including those using npp more than a decade

    Its much easier to scroll, fold, unfold end press keyboard keys…

    Something new for me too.



  • I am only posting again to correct a factual error I made (having surpassed the 3min edit timeout), because I don’t want to be the cause of misinformation in this or any discussion:

    Recently, I said

    No one has asked the developer for the feature

    Earlier, I said

    as far as I know, because he’s never been asked to add it

    I knew should have stuck with the qualified version that I used at first.

    I just searched the issues list, and found issue#302, wherein three years ago, “Noitidart” asked for that feature. “Yaron10” (presumably @Yaron, here) responded that the desired go-to-matching-tag exists in the HTMLTag Plugin – a plugin which was already recommended to (++@cipher-1024) and ridiculed by the OP, but would likely be of use to someone else seeking a solution to a similar problem. Since the developer does not share the OP’s aversion to plugins, the fact that it already existed externally was probably part of the “why” the feature was never implemented natively.


Log in to reply