• Not all files visible in "Folder as Workspace"

    2
    0 Votes
    2 Posts
    722 Views
    Terry RT

    @james-frake said in Not all files visible in "Folder as Workspace":

    Is there a filter for different types of files shown/hidden, and if so, why only on some .h files?

    I’ve just replicated the “code” folder you have with all the files you show (albeit empty) and my “open folder as workspace” shows all of the files, including the parser.output, which your image also shows to be missing. See my image below:

    7e6ce7d0-53f8-476d-9653-c3e91c4db928-image.png

    So the next question is what version of Notepad++ are you using. Use the ? menu, then Debug info and copy/paste that here in reply. My version is:
    Notepad++ v8.1.9 (64-bit)
    Build time : Oct 21 2021 - 23:37:53
    Path : C:\Program Files\Notepad++\notepad++.exe
    Command Line :
    Admin mode : OFF
    Local Conf mode : OFF
    Cloud Config : OFF
    OS Name : Windows 10 Enterprise (64-bit)
    OS Version : 1909
    OS Build : 18363.1854
    Current ANSI codepage : 1252
    Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll

    Terry

  • How to view the current file full path on top of the screen

    4
    0 Votes
    4 Posts
    559 Views
    arishyA

    @alan-kilborn
    Thanks Alan for your remark. Very enlightening.
    So, Any app in windows , is actually using MS windows object.
    So to customize it , you go to the “source”

  • Delete characters in URLs

    3
    0 Votes
    3 Posts
    1k Views
    Romain BernhardR

    @peterjones Great work. Thank you very much for your quick reply. I will save a lot of time thanks to you. You are a true genius. Many thanks again.

  • thumbnail preview option in windows

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @anybody-007 ,

    I cannot imagine that the developers would really want to spend the time writing that interface for previews… but if you wanted to ask them to, the Please Read Before Posting directs you to the actual location for feature requests.

    I’m not sure if it’s possible to tell Windows to associate with one application, but use another for generating the preview, but if it were possible, that might be a workaround – either long term, or at least until the developers implement it (if they ever did).

  • Marckdown Styling

    2
    0 Votes
    2 Posts
    255 Views
    PeterJonesP

    @luke-m ,

    The pre-installed markdown UDL is using the comment-style for titles, so that wouldn’t allow separate coloring. If you turn that off, so it’s not a comment, and instead used N of the Delimiter boxes for your N levels of title, you could get N different colors for title… but that would reduce the number of delimiters available for the other syntax. Like the other delimiters n the pre-installed md, you would use ((EOL)) as the closing text for each title line; and you would have to define the largest number of title-#'s in the lowest numbered delimiter box (so delimiter 1 = ######, 2 = #####, … – though, unless you frequently go beyond level 3 or four, I might just assign three levels: ###, ##, and # – and thus level 3 or beyond would all be same color, which might be an acceptible compromise)

    Right now, the > is defined as an operator. If you were to change it to a delimiter, you could get the whole line.

    b7e42857-ccd2-422d-872b-af4c5c502ed4-image.png

    Alternately, you could add extra highlighting to any builtin lexer or User Defined Language (UDL) using regexes via the PythonScript plugin in conjunction with the script EnhanceAnyLexer.py that @Ekopalypse shares in his github repo

  • How to find missing element from a XML

    2
    0 Votes
    2 Posts
    2k Views
    PeterJonesP

    @ajith-k

    <Net>Seomthing</Net> <Clinician>Something</Clinician> <Net>Here</Net> <OrderingClinician>There</OrderingClinician> <Clinician>Everywhere</Clinician> FIND = (?s)</Net>\K((?!<OrderingClinician).)*?(?=(\s*)<Clinician>) REPLACE = $1$2<OrderingClinician>Was Missing</OrderingClinician> SEARCH MODE = regular expression <Net>Seomthing</Net> <OrderingClinician>Was Missing</OrderingClinician> <Clinician>Something</Clinician> <Net>Here</Net> <OrderingClinician>There</OrderingClinician> <Clinician>Everywhere</Clinician>

    This will insert the OrderingClinician between the Net and Clinician if it’s missing, and indent the same amount as the Clinician.

    ----

    Useful References Please Read Before Posting Template for Search/Replace Questions FAQ: Where to find regular expressions (regex) documentation Notepad++ Online User Manual: Searching/Regex
  • Can we make saved macros visible/hidden for file types

    2
    0 Votes
    2 Posts
    684 Views
    Alan KilbornA

    @bandusiri-kadinappulige

    It’s not currently possible, but if you’d like you could make a feature request for it, details for doing so are HERE. I doubt it would be implemented, though…just a personal feeling.

    Maybe much better would be allowing submenus under the Macro menu; then macros could be organized in various ways, including roughly what you’re asking for (although having the same macros appear in more than one submenu – for multiple file types – would be problematic).

    After some research, I found a request for submenus in existence already HERE.

  • Search and Insert new line and Increment if line is missing

    5
    1 Votes
    5 Posts
    1k Views
    Alan KilbornA

    @harry-harris

    If you need help getting started with PythonScript, you can find a bit of a quick-start HERE.

  • hex number begining with '0' and ends with 'h' style

    3
    0 Votes
    3 Posts
    293 Views
    Josip JosipovicJ

    Yes, thank you .

  • Replace when inserting

    5
    0 Votes
    5 Posts
    6k Views
    Alan KilbornA

    @vic3dexe said in Replace when inserting:

    found the bug tracker.

    It is good forum etiquette to post a link to any issue you open, that you’ve also discussed here. I will do it for you this time:

    https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10769

    Also, this thread may interest you:

    https://community.notepad-plus-plus.org/topic/18715

  • Font size in menu bar

    11
    0 Votes
    11 Posts
    9k Views
    EkopalypseE

    @ai-aramchek

    thank you for sharing this with us. Does this also work under Linux derivatives with wine? And I add @Jago-Jago, as OP you are probably more interested in the matter than I am ;-)

  • Regex: Find that words that have html, but doesn't have .dot before html.

    6
    0 Votes
    6 Posts
    364 Views
    Robin CruiseR

    ok, try this solution, very good for all your example and for the 6’ case:

    SEARCH: ^(?=.*https://)(?:(?!\.html).)+$

  • Botimus p

    2
    0 Votes
    2 Posts
    212 Views
    Alan KilbornA

    @paul-horn said in Botimus p:

    rudementary level stuff but ya thanks in advance

    I don’t know what is even being asked here, but regardless it doesn’t sound like it is about Notepad++, the subject of this forum.

    So, I’m going to say that this statement you made is correct:

    so i am sure its going to sound stupid

  • 8.1.9 Dark Mode does not adapt the styles in Style Configurator

    2
    0 Votes
    2 Posts
    267 Views
    PeterJonesP

    @qmcl ,

    Themes contain both foreground and background information. You have to choose a theme that matches your own personal aesthetic for Dark Mode vs Normal Mode. That’s why there’s a “Default” theme for Normal Mode and a “DarkModeDefault” theme for use with Dark Mode.

  • Status bar to display selected word count

    6
    0 Votes
    6 Posts
    1k Views
    Alan KilbornA

    @sharkwsk

    I took the title of this thread to mean that you wanted to count the words in the current selection, but the script counts the number of occurrences of selected text throughout the entire document. Just pointing out the difference in my interpretation in case any future readers do the same.

  • How to Find the language of a document

    4
    0 Votes
    4 Posts
    448 Views
    Elodie CEMOIE

    Thank you very much:C++ is very comfortable, so I stay with it.

    Thanks again

  • Grammatical categories

    2
    0 Votes
    2 Posts
    246 Views
    Neil SchipperN

    @maría-del-mar-muñoz I can’t tell if you’re supposed to be learning about regex, or something to do with language.

    If it’s language, simply searching for ity should get you most of the way there, no?

    If you’re actually supposed to be learning regex, the expression you showed is very wrong. You need to spend some time with the docs, and play around with very simple expressions. Try including one new rule at a time to build competence. I suggest you learn what \w represents, as well as the * modifier. (I could give you more, but you’re a student, you need to study!)

  • 0 Votes
    2 Posts
    681 Views
    Alan KilbornA

    @kelsey-barnes

    I started thinking about replying but there are a lot of uncertainties. For the best help you should read and follow THIS before someone attempts to help you.

  • My API KEY

    2
    0 Votes
    2 Posts
    864 Views
    PeterJonesP

    @p-o-neill ,

    What does this question have to do with the Notepad++ editor?

    If it does have something to do with the editor, explain in detail how, and what steps you are taking in Notepad++ to see this message.

    If it does not have something to do with the editor, then this forum is not the right place for your question.

  • Erro code 2 Alguém pode ajudar?

    2
    0 Votes
    2 Posts
    563 Views
    PeterJonesP

    @odilon-jones-junior ,

    Error code 2 . Can anyone help?

    If this is an error you received while using Notepad++, you will have to be more clear – give us the ?-menu’s Debug Info, and provide screenshots if necessary, and give us enough to be able to see and hopefully replicate your problem, or at least understand where in the Notepad++ process this error is coming from.

    If this is an error that some other program generated, you will have to look elsewhere for the solution. (Please note: that is true even if you’re writing code using Notepad++, and the code you wrote gives Error Code 2, as described in our FAQ.)