Community
    • Login
    1. Home
    2. Notepad++ & Plugin Development
    Log in to post
    Load new posts
    • Recently Replied
    • Recently Created
    • Most Posts
    • Most Votes
    • Most Views
    • Vitaliy DovganV

      NPPM_DOOPEN: wrong return value

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      1 Votes
      3 Posts
      2k Views
      Vitaliy DovganV

      OK, I’ve found how to deal with it. At least, it’s one of possible solutions:

      int nFiles = (int) SendNppMsg(NPPM_GETNBOPENFILES, 0, 0); if ( !SendNppMsg(NPPM_DOOPEN, (WPARAM) 0, (LPARAM) params.c_str()) ) { nCmdResult = CMDRESULT_FAILED; DWORD dwAttr = ::GetFileAttributes(params.c_str()); if ( (dwAttr != INVALID_FILE_ATTRIBUTES) && ((dwAttr & FILE_ATTRIBUTE_DIRECTORY) == FILE_ATTRIBUTE_DIRECTORY) ) { // NPPM_DOOPEN unexpectedly returns 0 when a folder is specified // as its argument, though in fact it does open all the files // from that folder. int nFilesNow = (int) SendNppMsg(NPPM_GETNBOPENFILES, 0, 0); if ( nFilesNow != nFiles ) { nCmdResult = CMDRESULT_SUCCEEDED; } } }
    • poonam joshiP

      Notepad++ plugin to display message box if a particular word being written is in lowercase

      Watching Ignoring Scheduled Pinned Locked Moved
      6
      0 Votes
      6 Posts
      3k Views
      poonam joshiP

      Thanks for the reply
      Problem Statement:
      In my project, I do shell scripting and use notepad++ to write the script. I need to follow some rules while writing the code. Thus, I want to develop a plugin (which works like a code reviewer) which when selected in notepad++, could automatically check the code(script) at the run time while I am writing the code(script) in notepad++ and display an error message if any rule is not followed.
      For e.g. SELECT word should always be in upper case. So whenever I write SELECT word in small case in notepad++ then an error message should popup.
      Can you please suggest how should I go for it using C# template for plugin development?

    • Sybell LirwacoS

      Feature request: Link/URL "open with"

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied
    • Andrew CutforthA

      How to get my plugin into the plugin directory?

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      2k Views
      chcgC

      There is no central plugin repository. Typically plugins are published on github or sourceforge I would see. Similar to N++ itself https://github.com/notepad-plus-plus/notepad-plus-plus. See https://github.com/npp-plugins for example for some plugins of donho. Is that the information you are looking for? For github introduction see https://guides.github.com/activities/hello-world/

    • Vitaliy DovganV

      XBrackets Lite v1.3.0 (32-bit and 64-bit) released!

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      1 Votes
      3 Posts
      4k Views
      Vitaliy DovganV

      @chcg, thank you!

    • patrick-luenendonkP

      Faulty coding of file if reloaded

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      0 Votes
      1 Posts
      860 Views
      No one has replied
    • Alf P. SteinbachA

      [new plugin] “Empty files as Unicode”

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      2k Views
      chcgC

      The x64 at github you could add as pull request. For the access to the server you need the help of @bruderstein, but his is currently seldom around. I could copy the data of a x64 PR and create a corresponding entry.

    • Kjeld Mathias Stolberg PetersenK

      ANSEL character set

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      2k Views
      Kjeld Mathias Stolberg PetersenK

      Thank you very much. It is the gedcom type of files that my father wants to edit. So we will try that.

      Regards Kjeld

    • tazotoduaT

      Ability to undo (get last code) when file is updated (refreshed) accidentally

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      1k Views
      Scott SumnerS

      @tazotodua

      The solution is quite simple:
      Answer No to that prompt!

    • Guido ThelenG

      [New Plugin] Npp SQL Formatter available

      Watching Ignoring Scheduled Pinned Locked Moved sql formatter
      17
      1 Votes
      17 Posts
      75k Views
      Guido ThelenG

      Now also processes ANSI encoded SQL with special chars
      Regards
      Guido

    • Duane Michael StruykD

      Question About NPP Jumplist

      Watching Ignoring Scheduled Pinned Locked Moved
      4
      0 Votes
      4 Posts
      2k Views
      chcgC

      You may wanna test this one https://github.com/chcg/JumpList/releases/download/1.2.2.7/NppJumpList_1.2.2.7_x64.zip

    • Florent PagèsF

      Php function list and abstract functions

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      0 Votes
      3 Posts
      1k Views
      MAPJe71M

      Oops, links to correct page but should have read #15124.

    • Parviz KarimliP

      All code disappears after npp becomes not responding (Win7 32-bit)

      Watching Ignoring Scheduled Pinned Locked Moved
      5
      0 Votes
      5 Posts
      3k Views
      chcgC

      See also https://notepad-plus-plus.org/community/topic/15028/every-since-last-patch-extreme-slowness-and-not-responding/8

    • brudersteinB

      Plugin Manager x64 available - submit your plugins!

      Watching Ignoring Scheduled Pinned Locked Moved
      10
      4 Votes
      10 Posts
      143k Views
      cpmcgrathC

      I’ve made a couple, it should be pretty simple (it’s just a powershell script)
      The case which complicates things for putting any extension on there (including the plugin manager, but that might have some advantages) is what if when updating, Notepad++ is already open? The files are locked and the update will fail. It needs a way to schedule the update.

    • Ray NiccollsR

      Outline Creation

      Watching Ignoring Scheduled Pinned Locked Moved
      3
      1 Votes
      3 Posts
      4k Views
      Chip CooperC

      Giving this a little more thought… I just realized one might use a UDL (User Defined Language) and just have parentheses to do the folding for you. Menu/Language/User Defined Language. It’s fairly easy to use, won’t do anything; but, a great way to learn a Np++ feature! :-)

      It might make an ugly print; but, a quick search and replace would fix that when done, or temporarily saved as another file.

    • kapilratnaniK

      JSONViewer 1.30 alpha

      Watching Ignoring Scheduled Pinned Locked Moved jsonviewer
      1
      0 Votes
      1 Posts
      2k Views
      No one has replied
    • Kenn HamersK

      Faulty Folding of Function when } has been commented out

      Watching Ignoring Scheduled Pinned Locked Moved
      2
      0 Votes
      2 Posts
      1k Views
      dailD

      Short answer, its not a bug, it is a feature. You can define custom code fold points by using //{ and //}

    • AARRGGHHHA

      Need help with Function List for JavaScript in an HTML file

      Watching Ignoring Scheduled Pinned Locked Moved
      1
      1 Votes
      1 Posts
      948 Views
      No one has replied
    • cpmcgrathC

      Help with Appveyor Plugin Build (C#)

      Watching Ignoring Scheduled Pinned Locked Moved
      11
      0 Votes
      11 Posts
      4k Views
      chcgC

      I just retested and could confirm that. After unblocking the downloaded appveyor files are also functional.

    • matteshM

      AnalysePlugin 1.11 in x64 available

      Watching Ignoring Scheduled Pinned Locked Moved
      11
      1 Votes
      11 Posts
      8k Views
      chcgC

      Look fine.

      With the version available from versioninfo the additional data:

      <versions> <version number="1.11.34" md5="56a19878b902d25d0c1b12b33d3ba44a"/> <version number="1.11.37" md5="b8dfbf18248c53b9d7e368e013590b55"/> </versions>

      is not necessary any longer. I corrected the validation for the x86 version. The click on add hash for the dll was missing in the webinterface.

      Currently the validation for x64 also fails. I think that is just a sync issue and should be fine in one hour.

    The Community of users of the Notepad++ text editor.
    Powered by NodeBB | Contributors