• Roadmap to start contributing with development

    2
    0 Votes
    2 Posts
    270 Views
    cmeriauxC

    There isn’t any clear roadmap.
    I read in some posts that plugin manager dynamic updates is priority

  • Problem with indentation and PHP

    2
    0 Votes
    2 Posts
    252 Views
    dinkumoilD

    @Момчил-Божинов

    Hmm, we don’t know how your code looks in your Notepad, how it looks on GitHub, how it looks in your Notepad++ nor do we know how you expect it to look. And finally we don’t know which version of Notepad++ you use. How can we help without knowing anything?

    Please provide your Notepad++ version info ((menu) ? -> Debug Info), some screenshots how your code looks in Notepad, GitHub and Notepad++ (you can paste images from your clipboard into your forum comments) and tell us what you expect how it should look.

  • Can't run the browser for all file types from the View menu

    13
    1 Votes
    13 Posts
    2k Views
    PeterJonesP

    @László-Botka said in Can't run the browser for all file types from the View menu:

    Maybe will work in a next version?

    He incorporated the change and closed the ticket yesterday (Nov 1). That means it cannot be in the version that was released on Oct 27. Since the change has been incorporated into the main codebase, the fix will be available in the next version, whenever that is released.

  • Language editor -> Colorize full line

    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • Is it possible to switch column lines?

    12
    0 Votes
    12 Posts
    2k Views
    dinkumoilD

    @dkeenan7 said in Is it possible to switch column lines?:

    I have added Reverse Selections/Characters Ctrl+Alt+Shift+T to @dinkumoil’s and my Transpose script.

    I have to intervene, this script is far from being even partially my script! The honor is due to @dkeenan7. Thank you again!

  • I can't close without save anymore ?

    4
    0 Votes
    4 Posts
    2k Views
    menton franceM

    Thank you it was there ! YOUPI !

  • Dark theme template (no plugins)

    3
    0 Votes
    3 Posts
    414 Views
    PeterJonesP

    By default, Notepad++ comes with about 20 themes, many of which are “dark”. None of those themes affect the UI (window borders, menu bars, buttons, etc); they only affect the editor coloring.

    If by theme you mean what Notepad++ means by theme, then you have plenty to choose from already, and you can modify any one of them using the Preferences > Style Configurator dialog to change the colors from the normals for that theme. If you want to affect the UI as well, that requires plugins.

    Links to the official Docs:

    Themes (overview) Style Configurator Info on stylers.xml and themes\[styleName].xml
  • Cannot update NPP, not a valid GUP

    3
    1 Votes
    3 Posts
    5k Views
    Murray Sobol 0M

    I am receiving the same error: “It’s not a valid GUP xml”
    Let us know when the server error is resolved.
    Mixed feelings re: involving politics with software.

    Murray

  • Python Indent plugin not working correctly?

    23
    1 Votes
    23 Posts
    7k Views
    Derek BrownD

    Hey, this is old but I just now stumbled upon it. I am the author of this plugin.

    As some of the posters above have figured out, the plugin does not attempt to follow PEP8. This is not because I have anything against PEP8, but simply I didn’t want to deal with that amount of parsing. I originally wrote this plugin to deal with the simple annoyance of having to tab every time I opened a new block. It applies a very simple heuristic of checking the start of the line for one of the keywords that open a new block in Python.

    It can actually be tricked into doing the wrong thing in a number of other situations (fairly unlikely situations though), such as having a multi-line statement to open a block, or using one of those keywords at the start of a line in a multi-line string. These situations are sufficiently rare that I have never attempted to fix them. In the much more common case of line continuations (which OP is talking about), I simply manually align them with space.

    If you want to get in touch with me about the plugin the best way is to open an issue on the Bitbucket page. I do not check these forums very often. I am also open to any code contributions if someone would like to tackle this.

  • Customize colors with simple signs

    2
    0 Votes
    2 Posts
    248 Views
    PeterJonesP

    Your examples don’t use “start sentences” like you said; they use surrounding. That’s actually easier:

    62e16224-b864-4376-9e86-76923857608c-image.png

    User defined languages (UDL) are given an overview in the official docs here. And Ivan Radić has a in-depth description of the details of UDL in this semi-official UDL documentation.

  • No results displayed

    4
    0 Votes
    4 Posts
    288 Views
    Ray FoucherR

    @Alan-Kilborn Thanks - that helps

  • run problems:-

    5
    0 Votes
    5 Posts
    684 Views
    PeterJonesP

    @Terry-Shaw ,

    When diagnosing problems, it’s useful to provide information, such as Notepad++ version. This FAQ goes into more detail on that.

    However, based on what you’ve said, you should see one or both of two things, depending on which version of Notepad++ you are using:

    If the Notepad++ is recent enough, there should be a View > View Current File In… menu entry (as @Alan-Kilborn said). This is the way to launch certain web-related files (.html, .js, .xml) in your browser. They will be grayed out for other files (like .txt, .asp, .php). (This issue and the Pull Request it links to will get rid of that restriction, and all file types will be able to be launched in the browser, if the PR is ever incorporated.) Your Run menu should have Launch in ___ entries, because of what you reported seeing in your shortcuts.xml.

    However, since you see that shortcuts.xml has those entries, but you don’t see it in your Run menu, there are two likely scenarios that would cause this:

    you are looking at the wrong shortcuts.xml: if you have a normal installation, it will be in the location that @Prahlad-Makwana4145 described; however, if you have a portable installation, or if you disabled the %appdata%-storage during install, then it will be in the same directory as your notepad++.exe executable. If you provide us with the ? > Debug Info, like the FAQ requests, it will tell us which shortcuts.xml you should look at.

    when looking at the shortcuts.xml file, there may have been <!-- and --> surrounding the Launch in ___ entries; if so, those entries are commented out, and Notepad++ will not know that they are there.

    For example, all the versions I looked at (from v7.6.6 - v7.8.1) ship with shortcuts.xml containing:

    <!-- The following shortcuts are dangerous if your computer is compromised. (But if your computer is compromised, EVERYTHING IS DANGEROUS!) Remove the comment and use them at your own risk!!! <Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in IE" Ctrl="yes" Alt="yes" Shift="yes" Key="73">iexplore &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Launch in Safari" Ctrl="yes" Alt="yes" Shift="yes" Key="65">safari &quot;$(FULL_CURRENT_PATH)&quot;</Command> <Command name="Send via Outlook" Ctrl="yes" Alt="yes" Shift="yes" Key="79">outlook /a &quot;$(FULL_CURRENT_PATH)&quot;</Command> -->

    Because of the XML comment syntax, those entries will be disabled by default. If yours looks like that, just remove the <!-- line, the lines of plain text, and the --> line, leaving only the <Command ...> lines from that section. (Don’t change anything before or after the comment-section.) Then save. Then exit Notepad++ completely. Then re-run Notepad++. It should now be in your Run menu.

    Also, for future reference, this issue has been talked about multiple times in the forum. Here, or any other help forum, it is considered polite to search for an issue before asking your question. Just searching for “launch in chrome” in the forum search (using the traditional magnifying-glass search icon in the forum) had 9 of the first 10 results which would have answered your question directly.

  • When using Cloud Syncing, how to share or keep Style Configuration

    1
    0 Votes
    1 Posts
    181 Views
    No one has replied
  • Find and increment by 1

    6
    0 Votes
    6 Posts
    3k Views
    Alan KilbornA

    @guy038 said in Find and increment by 1:

    But I just realize that, in case the 45371001190000 number is not on consecutive lines

    I’m glad you realized that…

    :-)
  • Find results window - lines truncated on NULL character

    6
    0 Votes
    6 Posts
    430 Views
  • 0 Votes
    9 Posts
    1k Views
    Ramon BeiboerR

    @Ekopalypse Thanks for looking this up. It makes more sense now. I now assigned some keyboard shortcuts to the binary copy and paste commands.

  • Replace string, but maintain substring (convert Markdown to HTML image)

    4
    0 Votes
    4 Posts
    805 Views
    guy038G

    Hi, @jeroen-borgman, and All,

    Thanks for your comment !

    The Free Spacing regex mode also allows you to place the different parts of your regex in consecutive lines, with possible comments after a # character, as below :

    (?x) # FREE SPACING regex mode (?-is) # DOT regex char = 1 STANDARD char and search SENSITIVE to case ^ # START of CURRENT line boundary ( Added to be more RIGOROUS ! ) \Q![](..\pregit\uploads\\E # LITTERAL string ![](..\pregit\uploads\ (.+?) # Part BETWEEN uploads\ and /media ( Group 1 ) /media # LITTERAL string /media (/.+?) # Image NAME ( Group 2 ) \) # LITTERAL string ) The ESCAPED form is necessary as PARENTHESES are REGEX chars ! .+ # REMAINING chars of CURRENT line scanned

    Just select all these lines and paste them in the Find what: field of the Find dialog ;-))

    Note that if your regex must contain a # char, just place use the escaped syntax \# or the character class [#]

    Cheers,

    guy038

  • How to insert Path+Filename in an already opened doc

    5
    0 Votes
    5 Posts
    576 Views
    Elodie CEMOIE

    @guy038

    Sorry, sorry,… I apologize !
    I had stopped to use N++ about a year ago because of other priorities , and I just restart…
    Thank you very much ,

  • Find and Replace characters in a column range using Regex

    3
    0 Votes
    3 Posts
    2k Views
    guy038G

    Hello, @bob-johnson, @terry-r and All,

    OK, Bob. Luckily your S/R does not change the columns order, as you just want to replace 1 char with a single char, too. So, given the sample text below :

    Column 4455555555 8901234567 0 ABCDE VWXYZ - 12345 # - at column 48 0 ABCDE VWXYZ - 12345 # - at column 49 0 ABCDE VWXYZ -BCDEFG 12345 # - at column 50 0 ABCDE VWXYZ A-CDEFG 12345 # - at column 51 0 ABCDE VWXYZ AB-DEFG 12345 # - at column 52 0 ABCDE VWXYZ ABC-EFG 12345 # - at column 53 0 ABCDE VWXYZ ABCD-FG 12345 # - at column 54 0 ABCDE VWXYZ ABCDE-G 12345 # - at column 55 0 ABCDE VWXYZ - 12345 # - at column 56 0 ABCDE VWXYZ - 12345 # - at column 57

    The following regex S/R :

    SEARCH (?-s)^.{49}.{0,5}\K-

    REPLACE .

    Tick the Wrap around option

    Click on the Replace All button

    And choose, of course, the Regular expression search mode

    It should modify the text, as expected :

    Column 4455555555 8901234567 0 ABCDE VWXYZ - 12345 # - at column 48 0 ABCDE VWXYZ - 12345 # - at column 49 0 ABCDE VWXYZ .BCDEFG 12345 # - at column 50 0 ABCDE VWXYZ A.CDEFG 12345 # - at column 51 0 ABCDE VWXYZ AB.DEFG 12345 # - at column 52 0 ABCDE VWXYZ ABC.EFG 12345 # - at column 53 0 ABCDE VWXYZ ABCD.FG 12345 # - at column 54 0 ABCDE VWXYZ ABCDE.G 12345 # - at column 55 0 ABCDE VWXYZ - 12345 # - at column 56 0 ABCDE VWXYZ - 12345 # - at column 57

    Notes :

    The first part (?-s) forces the regex engine to consider that dot ( . ) represents a single standard char only ( Not an EOL one )

    The special syntax \K, cancels any previous search, already matched, at current location of the regex engine and, in your case, just consider the last - character

    Best Regards,

    guy038

  • word wrapp settings are not saved

    3
    0 Votes
    3 Posts
    592 Views
    Anonym InkognitoA

    Thank you very much!

    The folder was write protected, after i set the permission to folder and files it still doesnt save the setting.

    The config.xml was hidden, so i set it to visible and changed the setting Wrap=“no” to Wrap=“yes”. After restart npp the word wrap was enabled.
    But then, if i disabled this setting with the button and restart npp the setting was enabled again (vice versa problem).

    Then i started npp one time with right click/admin rights and i noticed a change at the date from the config.xml file. From now on i can change the settings and everything worked now.

    Problem solved with your help.
    Thanks again :)