• NPPFTP setup with two factor authentication

    5
    0 Votes
    5 Posts
    1k Views
    PeterJonesP

    @kiranunix said in NPPFTP setup with two factor authentication:

    I followed these steps . It works. i am able to connect with Two factor authentication .

    Great news.

    Are there any settings to do sudo login to another user ?

    That’s not an option I’ve heard of for any ftp client (though I am not an expert). Sorry.

  • How to automatically make lot of Notepad or .txt (plz help)

    2
    0 Votes
    2 Posts
    384 Views
    dinkumoilD

    @Rotua-Frans-Manalu

    Though the solution for this task is a very simple Batch script I won’t post it here for two reasons:

    This is a Notepad++ user forum, i.e. it’s intended purpose is to help fellow users having problems with Notepad++ and its features and with tasks that can be solved with Notepad++ itself or with a little help by one of its plugins. The solution of this problem is so easy that you have to put only little effort in it to solve it by yourself. Moreover you will learn something useful. Hint: google for batch for loop, the for /l variant is your friend.
  • Preferences option to show only one line in search results

    2
    0 Votes
    2 Posts
    1k Views
    Alan KilbornA

    @Hans-Schulze said in Preferences option to show only one line in search results:

    Which use case needs all the search hits explicitly listed as a separate result?

    Often people are short-sighted when they complain.

    Here is the answer: When a line in the Find-result window is double-clicked, the editor window is adjusted to find the match. If multiple matches per line occur, the logic needs to know which match should be highlighted and the caret placed at.

    To produce just one line in the Find-result window for a line in the editor window that has multiple matches, use this type of regular expression find-all: ABC(?-s).*? This will find the first matching ABC on a line and will include the rest of the line in that match. Thus, even if the remainder of the line contains more ABC, there is only one match for the line. Disclaimer: I’m not near Notepad++ right now where I can test the above, so I can only say I think it will work. It may need some tweaking.

    Should be easy to implement.

    This is a great statement, most often cited by people that have no clue about software development. Perhaps the OP will respond and say they are a long-time software developer; to which I would then say “Shame on you for making such a statement, then”. :)

  • Can't open files with spaces in name

    4
    0 Votes
    4 Posts
    1k Views
    toubeptT

    @PerterJones That was it. Thank you very much. :)

  • VPAT for Notepad++

    5
  • Multiply value

    2
    0 Votes
    2 Posts
    738 Views
    PeterJonesP

    regular expressions in search-and-replace are powerful, but they don’t have built-in arbitrary math expressions.

    If all you wanted to do was replace all instances of Size1 = 20,40 with Size1 = 40,80, that would be easy. If you just had the two sizes, you could use some alternating expressions in the regex replace to make sure the right source got replaced with the right replacement in all the files. But if you have an arbitrary number of SizeN = XXX,YYY, where N, XXX, and YYY all have many values, then crafting a regexp to do that would be an exercise in futility, because you’d have to provide all possible combinations (and you’d miss one)

    You need a programming language, where you would then have to extract the data from each line of your file, do the math, and write to a new file (or use in-place editing features of your language of choice).

    You could write that code in Notepad++. If you use PythonScript or LuaScript plugins, you could even run that code on files that are open in Notepad++. But it really is not a task specific to Notepad++, and the problem is not something that Notepad++ can solve for you.

  • How to implement Notetab outline files?

    5
    0 Votes
    5 Posts
    857 Views
    David SpectorD

    I’ve got this task done. It should be useful to others moving from NoteTab to Notepad++.

    I’ve added an end-of-outline-entry symbol “End=Entry” that should appear at the end of each entry. I’ve also written a migration program in PHP to insert these end-of-outline-entry symbols automatically into outline files (.otl). I’m using the “.out” extension for the output of this program. These .out files will be “outline” files in Notepad++.

    Here is the migration program:

    <?php //--------------------------------------------------------------------// // Program to migrate .otl files to .out files // Springtime Software, David Spector, 10/3/19, public domain. //--------------------------------------------------------------------// define("NL"," "); $FileName=GetGetArg(); $PathIn="$FileName.otl"; $PathOut="$FileName.out"; $C=file_get_contents($PathIn,true); $Lines=explode(NL,$C); // Delete two header lines array_shift($Lines); array_shift($Lines); $firstLine=true; $bloat=0; foreach ($Lines as $n=>$Line) { $R=preg_match('@^H=@',$Line,$F); if ($R && !$firstLine) { array_splice($Lines,$n+$bloat,0,"End=Entry"); ++$bloat; } $firstLine=false; } // Terminate last entry array_splice($Lines,$n+$bloat+1,0,"End=Entry"); $C=implode("\n",$Lines); $BytesOrFalse=file_put_contents($PathOut,$C); function GetGetArg() { foreach ($_GET as $ArgName=>$ArgVal) { return $ArgName; } // Each expected arg } // GetGetArg ?>
  • Severe performance degradation of new forum

    6
    3 Votes
    6 Posts
    846 Views
    MeMyselfAnd_IM

    I have seen the loss of connection a number of times

  • 0 Votes
    1 Posts
    286 Views
    No one has replied
  • 0 Votes
    5 Posts
    920 Views
    dinkumoilD

    @Ekopalypse said in How to change the match higlighting tags in notepad++ like sublime?:

    @dinkumoil - maybe something your ExtSettings plugin might offer too?

    Done, see download page and announcement in the forum.

  • Suggestion to add a search criteria

    2
    0 Votes
    2 Posts
    244 Views
    Alan KilbornA

    @Abhilash-Guha

    72d07c16-5090-4228-8bda-6d5be528e092-image.png

  • Small bug

    1
    0 Votes
    1 Posts
    210 Views
    No one has replied
  • JSON Schema Support?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Website links broken

    2
    0 Votes
    2 Posts
    287 Views
    No one has replied
  • How do I activate the auto hide folder margin style in notepad ++?

    2
    0 Votes
    2 Posts
    592 Views
    PeterJonesP

    @Benny-Iskandar ,

    You enable it using Settings > Preferences > Editing > Folder Margin Style.

    90b5237a-88e3-40f4-b354-dc8b5fe82f82-image.png

    You can change the colors using Settings > Style configurator > Global Styles > Fold Margin

    3d296b0c-b576-46b2-97e1-f0f138a243d0-image.png

  • notepad++ fonts display too small on UBUNTU 16.04 (200%

    5
    0 Votes
    5 Posts
    3k Views
    pnedevP

    @ortollj ,

    How do you run Notepad++ under Ubuntu then? By Snap?

  • Feature Request: Show only line-final whitespace.

    28
    2 Votes
    28 Posts
    17k Views
    dinkumoilD

    I wrote a plugin that can be used to display whitespace used for indentation normally but after the first visible character, it is shown as dots and arrows. Its name is ExtSettings. You can download it >>> here <<<. It will also be available soon via PluginsAdmin.

  • Decode problem

    2
    0 Votes
    2 Posts
    650 Views
  • Notepad++ won't allowed me to run google chrome

    2
    0 Votes
    2 Posts
    316 Views
    PeterJonesP

    I assume you were used to the old Run > Launch in Chrome menu item, and you upgraded Notepad++ or moved to a new computer with a newer version of Notepad++, and now you’re looking for where that went. If so, there’s an equivalent command now in View > View Current File In… > Chrome.

    If that’s not what you mean, you’ll have to explain yourself better, including giving version information (easiest and most complete by grabbing ? > Debug Info > Copy debug info into clipboard)

  • NppExec clipboard data from windows

    2
    0 Votes
    2 Posts
    630 Views
    Vitaliy DovganV

    As discussed in e-mail, the usage of
    sci_sendmsg SCI_PASTE
    instead of the
    npp_menucommand Macro/a2
    solves the problem.