• 4 Votes
    2 Posts
    937 Views
    Michael VincentM

    @Bruno-Guillemette said in XML file / Language set to None (Normal Text) / XML Tools option Set XML type automatically:

    When working with big XML files, I set the Language to None (Normal Text) to speed things up. But as soon as I was typing anything, even just [ENTER], the XML highlight was back, slowing down Notepad++ quite a bit.
    I finally realized that the culprit was the Set XML type automatically option of the XML Tools plugin. This option is selected by default I think, so I didn’t really noticed it before this.

    Good tip on the set XML to Normal Text for large file if you don’t need highlighting / function list but do need performance and I do have XML Tools installed, but not that option checked - so I wouldn’t have noticed it, but experimenting with it, I do see your behavior.

    I’m going to leave XML Tools Set XML type automatically unchecked so Notepad++ can autodetect and I can “reset” to Normal Text without worrying about it switching auto-magically for me.

    Cheers.

  • SQL Operator highlighting issue

    3
    1 Votes
    3 Posts
    208 Views
    TroshinDVT

    Screenshot_290.png

  • npp becomes slow for large text files, suggest alternative editors

    9
    0 Votes
    9 Posts
    3k Views
    artie-finkelsteinA

    In case this dead horse deceased parrot is ever viewed again:

    I found a third way to speed up the loading of large source code files by manipulating the “langs.xml” file:

    Hide or rename the “langs.xml” file. Notepad++ will complain if it can’t locate “langs.xml”, but will continue to work after the warning dialog box is dismissed.

    Create an absolute bare-bones version “langs.xml” with all source code sections removed. Full contents of <?xml version="1.0" encoding="UTF-8" ?> works nicely. The file cannot be a zero-length file, it must have some minimal contents.

    Just the specific language section can be removed or commented out (surrounded with <!-- & --> tokens):

    <!--- <Language name="json" ext="json" commentLine="" commentStart="" commentEnd=""> <Keywords name="instre1">false null true</Keywords> <Keywords name="instre2">@id @context @type @value @language @container @list @set @reverse @index @base @vocab @graph</Keywords> </Language> -->

    As with the file renaming and hardlink creation approaches, there is no syntactic and keyword highlighting or FunctionList available, but otherwise all other features are available.

    Neither hiding other folders [userDefineLangs, autoCompletion, functionList] nor hiding other files [functionList.xml, stylers.xml] showed any significant speedup in the file load time. There may be an unique combination of XML file changes that does speed up load time.

    NOTE: While variations 1 & 2 will disable formatting for ALL source code files edited, variation 3 only affects the language name commented out.

    If large source code files must be edited frequently and both the file rename and hardlink approaches are not practical to use:

    Unzip a separate portable version of Npp into Npp4FTB2EE (Npp for files too big to easily edit) <grin> Replace the default “langs.xml” file with a version based on variation 2 or 3 above The folders [userDefineLangs, autoCompletion, functionList] and file functionList.xml can be deleted

    These variations have been tested and work properly in both Npp v8.1.4rc & v7.9.5 and should also work in earlier versions but YMMV.

  • Folder as Workspace in Dark mode has the problem when open File Explorer.

    5
    1 Votes
    5 Posts
    501 Views
    Partch JatP

    OK, got it.
    Hope this problem will be fixed in the next version soon!
    Thanks!

  • Scandal! Chameleon desktop icon has disappeared

    3
    0 Votes
    3 Posts
    448 Views
    PeterJonesP

    @BLUE-AGENCY ,

    Actually, v8.1.4’s icons do have the chameleon, except for the smallest 16x16 and 32x32 pixel icons. You can see this by changing Windows Explorer from Details or Small Icons to any of Medium Icons, Large Icons, or Extra Large Icons. – All of the bigger icons still have the chameleon as the executable icon, and AFAIK, Notepad++ usually assigns that icon to file types associated with Notepad++.

    I had to go back to v5.0 from 2008 before the executable defaulted to a non-chameleon-based icon.

    (my video is focused on the executable; I hadn’t changed the file type associations for XML, so it’s still using the v8.1.3/v8.1.4-style icon for those files; just look at the executable’s icon for the point I was trying to make)

    And further, Windows allows you to change the icon for any file type to anything – whether it’s in the executable or a standalone icon or from some other DLL or executable. If you’ve got an icon you prefer, you can search the internet for “change icon for file type” and find a gazillion references for how to do that in your particular OS.

  • Updates always want to change destination path

    2
  • re-numbering phrase+number in the middle of sentence

    10
    0 Votes
    10 Posts
    796 Views
    B MRB

    finally got it!
    the problem was unnecessary space
    thank u all !!

  • Cannot add style token to selected text anymore

    4
    0 Votes
    4 Posts
    388 Views
    christian faisstnauerC

    Thank you! That solved the problem.
    Thanks also for the links, very useful!

  • New bug with "Execute this script when Notepad++ starts"?

    14
    0 Votes
    14 Posts
    746 Views
    Alan KilbornA

    BTW, the script may not work for the file active when N++ starts up. A workaround would be to add this line at the end of the __init__ function:

    self.bufferactivated_notify(None)

  • Keep RTL/LTR per tab

    4
    0 Votes
    4 Posts
    524 Views
    Moatassem TalaatM

    @Terry-R I didn’t say that in multiple instances of N++

    What I meant that changing RTL/LTR on one tab affects all tabs of the same instance … who would open N++ in multiple instances?!

    Changing text direction should not be global dynamic setting but rather significant on the tab it was altered on.

    BR,
    MT

  • Product Enhancement Request for navigating files

    2
    0 Votes
    2 Posts
    144 Views
    PeterJonesP

    @Glenn-Gnabasik ,

    Interesting idea.

    We fellow Community members cannot do anything about that, as we are mostly just users like you, and this Community exists for fellow Notepad++ users to help each other. We have a FAQ explaining how to make a feature request.

  • suggestions

    2
    0 Votes
    2 Posts
    198 Views
    Alan KilbornA

    @jim-murray-0 said in suggestions:

    please leve the cursor positioning up to me. If i select text then please deselect it when i leave it and click in a new spot.

    Isn’t this the default behavior?

  • I'm missing something in UDL

    6
    0 Votes
    6 Posts
    339 Views
    PeterJonesP

    @Pavel-Viktora ,

    You’re not stupid just because you made that assumption.

    This Forum was created by the developers, and is hosted by the developers, for the Community to use to help each other use Notepad++ and to talk about and advocate for the application.

    We just don’t have the power/authority in the forum to agree to make changes to the source code, and the forum is not the location for feature requests and bug reports. As a result, we have a FAQ entry which explains the correct procedure for making feature requests and bug reports, which can be found in the FAQ section under the name FAQ Desk: Feature Request or Bug Report

  • Large Toolbox Icons in Color

    2
    0 Votes
    2 Posts
    620 Views
    PeterJonesP

    @Dana-Basel ,

    That’s an unfortunate side effect of the Developers deciding to only have 5 toolbar icon options, instead of 6. Other than not wanting to support so many alternatives, since they already had the icon set for the large colored icons, I am not sure why they decided to remove the large-standard icons.

    You might want to go put in your 2c on issue #9913, which asks for a set of large standard icons to be added back in. The more “regular users” who weigh in, the more likely it is that the Developers team will consider implementing the request. Good luck.

  • Instant search

    7
    0 Votes
    7 Posts
    481 Views
    Alan KilbornA

    @Zohar-Levi said in Instant search:

    Maybe should say somewhere that there are no website notifications.

    The website software isn’t owned by Notepad++.
    Thus, not sure if such configuration is possible.

    It should be: if there’s a dialog (pop up window) open, then close it. Otherwise, quit.

    You may certainly have your own opinion about it, but I wouldn’t wait for such a feature to appear in Notepad++.

    The link you provided seems to discuss the same issue.

    That was my reason for posting it.
    It also provides a workaround, if you choose to go that way with your own setup.

  • How to remove all formatting including hyperlinks

    3
    0 Votes
    3 Posts
    3k Views
    Terry RT

    @Todd-Cary said in How to remove all formatting including hyperlinks:

    I would like to remove all formatting including hyperlinks.

    There is one thing that might help you. If you select text on a website, then paste that into a Notepad++ empty tab you will get the text without the formatting, although it will have EOLs included so in a way it is still formatted…
    If you wanted the text with html code included (or RTF which is another option) you “edit” (main menu), then “paste special” and select html (or RTF) and you get the additional formatting code. Works for me.

    Terry

  • Strange window layout in new installation of 8.1.3

    3
    0 Votes
    3 Posts
    242 Views
    PeterJonesP

    @Bradley-Uffner

    See this post for a list of official issues (in the github repo) and other posts in this forum that talk about the same thing. There have probably been other mentions since then.

  • Active tab color - red stripe changeable?

    5
    0 Votes
    5 Posts
    711 Views
    Michael VincentM

    @sktpin said in Active tab color - red stripe changeable?:

    with the coloring style for the editor that I had once picked, anyway.
    That extra line is superfluous no matter how you color it - IMO!

    I use Green and find it quite useful:

    2a919428-c8cf-4cec-9b1f-4851df30c0e3-image.png

    Cheers.

  • 0 Votes
    2 Posts
    199 Views
    Alan KilbornA

    The behavior is controlled by a Preference setting:

    ab066455-6dfc-4bf8-bb6a-a27125ee0d09-image.png

    AFAIK, the default settings (as shown) should do what you want, specifically, you’d only get prompted for reload of changed file, when you activate that file’s tab.

  • Tabs do not open in order selected in Windows Explorer

    16
    0 Votes
    16 Posts
    569 Views
    MarkusBodenseeM

    Example with picture:
    Select some files, order of selection doesn’t matter, but right click is done on cs.xml:
    bc85457f-bc2b-4e3b-b6d2-f9951276ec6e-grafik.png

    Order in Notepad++:
    933db1ba-d23c-4756-9f76-2b34c11156a2-grafik.png

    Hope it helps somebody to understand, even if it is nearly the same like your example. Yes, it adds no new information… but hopefully more clarity.