Community
    • 登入

    NP++ on Linux?

    已排程 已置頂 已鎖定 已移動 General Discussion
    42 貼文 31 Posters 150.6k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • amylonidA
      amylonid
      最後由 編輯

      I would also like to see NP++ on Linux.
      I would happily contribute to this.

      1 條回覆 最後回覆 回覆 引用 0
      • Luis Piña IIIL
        Luis Piña III
        最後由 編輯

        Has there been any more development on NP++ for Linux?

        1 條回覆 最後回覆 回覆 引用 0
        • gstaviG
          gstavi
          最後由 gstavi 編輯

          I don’t know if someone is working on it but … as much as I would like a native editor for Linux as good as NP++ I don’t really expect a port of NP++. Because:

          1. NP++ works very well on wine.
          2. Trying to port NP++ to GTK or QT will likely end up splitting the project since too many users like the Win32 version.
          3. Much of NP++ appeal is due to plugins and their developers are even less likely to port them to another GUI system.


          So I don’t expect NP++ to be ported to Linux, I just hope that someone will make a better clone than notepadqq with a framework for C/C++ plugins.

          1 條回覆 最後回覆 回覆 引用 1
          • Michael AridaM
            Michael Arida
            最後由 編輯

            There is an open source clone of Notepad++ that is called Notepadqq. I wrote a guide on how to install it here if you are interested.

            gstaviG 1 條回覆 最後回覆 回覆 引用 0
            • gstaviG
              gstavi @Michael Arida
              最後由 編輯

              @Michael-Arida
              Following what I wrote here.
              I had high hopes for Notepadqq when I first encountered it.
              But as a C developer who wrote plugins for Notepad++, I am disappointed with the technical decisions its author took.
              It could be great if Plugin developers would have easy path to maintain plugins for both platforms from a single source base. Now Notepadqq made it impossible. Notepadqq needs to grow its own community without being able to take advantage of the existing Notepad++ community. Maybe it will succeed, Linux certainly needs a good editor. But for now Notepad++ on wine is just a better alternative.

              Claudia FrankC 1 條回覆 最後回覆 回覆 引用 1
              • Claudia FrankC
                Claudia Frank @gstavi
                最後由 編輯

                @gstavi

                What if one tries to migrate it using wxWidgets?
                On windows it would/could still look like it is but
                would give the advantage to make it run under unixOS and macOS.
                It would be a lot of work and to be honest I guess it must be a hard cut
                to decide starting migrating and not to update current version anymore.
                And I do see, that maintaining multiple operating systems and relying
                on a framework might not be a first class choice but … it could be worth,
                Well, whoever defines what worth means in this context.

                I’m currently playing with this framework and so far it is looking promising

                Cheers
                Claudia

                Scott SumnerS 1 條回覆 最後回覆 回覆 引用 5
                • Scott SumnerS
                  Scott Sumner @Claudia Frank
                  最後由 編輯

                  @Claudia-Frank

                  OMG, Claudia, you are some kind of miracle worker!
                  :-D

                  Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                  • Claudia FrankC
                    Claudia Frank @Scott Sumner
                    最後由 編輯

                    @Scott-Sumner

                    Currently might be a bit misleading ;-D
                    It already took a couple of weeks to get it to that stage.

                    Cheers
                    Claudia

                    gstaviG 1 條回覆 最後回覆 回覆 引用 1
                    • gstaviG
                      gstavi @Claudia Frank
                      最後由 編輯

                      @Claudia-Frank
                      Very impressive for couple of weeks as well.
                      Anything similar to NPP on Linux will be great. I hate Mac but if you get it for free go ahead.
                      I hope you will stick with C++ and Scintilla and a similar enough plugin framework.

                      I am skeptical that a full migration of Notepad++ user base is realistic but even as just an alternative it would be a big step in the right direction.

                      Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                      • Claudia FrankC
                        Claudia Frank @gstavi
                        最後由 編輯

                        @gstavi and all

                        sorry if I gave the impression that this has been coded in c/c++.
                        It’s not - it’s python. wxWidgets does have a python port wxPython
                        and just for fun I built a python clone of npp. I just wanted to know
                        if wxWidgets could be used - or better - if it is a proper tool if Don one day
                        decides to make a linux/mac port.

                        Cheers
                        Claudia

                        Scott SumnerS 1 條回覆 最後回覆 回覆 引用 0
                        • Scott SumnerS
                          Scott Sumner @Claudia Frank
                          最後由 編輯

                          @Claudia-Frank

                          wxWidgets is also available for C++, so Claudia, I suggest you GO FOR IT ! Post back here in a couple of days when you have Notepad++ all rewritten ! ;-)

                          Seriously, though, that screenshot looks awesome!

                          Claudia FrankC 1 條回覆 最後回覆 回覆 引用 1
                          • Claudia FrankC
                            Claudia Frank @Scott Sumner
                            最後由 編輯

                            @Scott-Sumner

                            I hope you and me do have the same understanding what a “couple of days” mean. ;-)
                            Don’t forget the gel-time? ;-D

                            wxWidgets is also available for C++

                            Thank you, I know but it seems I didn’t express myself correctly.
                            What I am trying to say is

                            Hello C/C++ developers, do you know wxWidgets?
                            Might this be the tool to bring npp into the next era?
                            It does have many many features built-in and it doesn’t try to
                            emulate operating systems instead it provides an interface for the
                            different native APIs. Doesn’t this sound exciting? Did someone already
                            play with it? Could it be useful or is it just a waste of time?

                            Cheers
                            Claudia

                            Cees TimmermanC 1 條回覆 最後回覆 回覆 引用 1
                            • Eduardo Lúcio Amorim CostaE
                              Eduardo Lúcio Amorim Costa
                              最後由 Eduardo Lúcio Amorim Costa 編輯

                              The Notepad++ is the only application that came from Windows as inheritance to my beloved Linux. It works almost perfectly on Wine 2.x and with performance! I’m hoping it’ll be ported to Linux so he can natively run it! While this is not happening… I created this script
                              (https://github.com/eduardolucioac/nppstub) to try to integrate Notepad++ with Linux and its terminal (bash).
                              In this way (example) we can do powerful searches on files contents such as…

                              nppstub $(find ./ -iname "*.txt" -type f -exec grep -i -l 'some text value' -- {} \;)
                              

                              … and other things like run Notepad++ from terminal!

                              Nppstub makes Notepad++ work like these examples with Vim and Sublime…

                              vim -p $(some_comand) 
                              

                              or

                              subl3 -p $(some_comand)
                              

                              an so on… Long life to the Notepad++! =D

                              1 條回覆 最後回覆 回覆 引用 0
                              • TurbonoobT
                                Turbonoob
                                最後由 編輯

                                @milipili Any updates on this? I’ve always wondered if NP++ would come to linux and just now found this 2 year old thread.

                                There are a lot of great text editors on linux but NP++ is still my favorite. I use it at work every day and regularly work with 200+MB text files… no other text editor handles them so well. Would love to use it on my home linux machine

                                1 條回覆 最後回覆 回覆 引用 0
                                • Cees TimmermanC
                                  Cees Timmerman @Claudia Frank
                                  最後由 編輯

                                  @Claudia-Frank

                                  I’ve toyed with wxWidgets years ago, but decided HTML was fast enough for my needs. Having a native-looking app without starting an entire browser is nice, though.

                                  Python has great C++ wrappers (ctypes, swig, etc.) so npp’s killer feature – plugins – can be combined with the safety and rapid development of the cross-platform Python runtime. The heavy lifting should be done by libraries, anyway.

                                  Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                                  • Claudia FrankC
                                    Claudia Frank @Cees Timmerman
                                    最後由 編輯

                                    @Cees-Timmerman

                                    Thanks for your insight but could you elaborate on this?

                                    I’ve toyed with wxWidgets years ago, but decided HTML was fast enough for my needs. Having a native-looking app without starting an entire browser is nice, though.

                                    Sorry, but I don’t get this?

                                    Python has great C++ wrappers…

                                    Yes, especially ctypes is what I use with python but swig is also a nice tool which, by the way and
                                    as far as I know, is used by wxPython to wrap the c++ apis of wxWidgets. Very cool thing.

                                    Cheers
                                    Claudia

                                    Cees TimmermanC 1 條回覆 最後回覆 回覆 引用 0
                                    • Cees TimmermanC
                                      Cees Timmerman @Claudia Frank
                                      最後由 編輯

                                      @Claudia-Frank

                                      You’re welcome. The performance difference between native GUI and HTML elements is probably negligible, especially on new hardware and with all the fancy new APIs available to web content. I wanted to make my own Palace graphical chat app, but figured i may as well be lazy and use simple browser scripts for my GUI (no hassle with low level graphic handling, cross-platform differences, or lacking features/documentation). Turns out others already made a free modern Palace clone, so i didn’t even have to worry about figuring out a HTML version.

                                      Claudia FrankC 1 條回覆 最後回覆 回覆 引用 0
                                      • Claudia FrankC
                                        Claudia Frank @Cees Timmerman
                                        最後由 Claudia Frank 編輯

                                        @Cees-Timmerman

                                        Ahh, thank you, I guess I got it now.
                                        You referred to it in general but I was indicating to use it
                                        as new framework used to develop npp, not for general purpose.
                                        Should have made this clearer.

                                        Cheers
                                        Claudia

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • David RathboneD
                                          David Rathbone
                                          最後由 編輯

                                          NP++ is a great tool I use it everyday. No need for crazy IDE’s like Visual studio.
                                          Most paid work no longer needs Micro$oft thankfully.
                                          As most of us work cross platform . Having NP++ on Linux would be like working with an old friend.
                                          So come on guys lets see it this year!
                                          Consider how we all waited for Intel to bring a IBM PC to a phone size device (Atom), but now everyone uses ARM and the race today no longer makes sense as applications now work on all CPU based platforms.
                                          Don’t let this happen to NP++ to become another blast from the past!

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • AlekseyGurA
                                            AlekseyGur
                                            最後由 AlekseyGur 編輯

                                            If you are looking for Notepad++ analog for Linux, then try ATOM with plugin “ftp-remote-edit”.
                                            I used NP++ for remote editing of files. And for me most important features are:

                                            • ftp/sftp remote file editor
                                            • snippets - For ex. if I press Ctrl+Z then in editor will be typed: “function(){}”
                                            • php/html/js/css… syntax/block highlightening

                                            ATOM https://atom.io/
                                            with plugin “ftp-remote-edit” does it: https://github.com/h3imdall/ftp-remote-edit

                                            P.S.
                                            I’ve used NP++ on Linux with wine for 3 years. It’s too unstable - I’ve tired :(

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors