NP++ on Linux?
-
I would also like to see NP++ on Linux.
I would happily contribute to this. -
Has there been any more development on NP++ for Linux?
-
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:
- NP++ works very well on wine.
- Trying to port NP++ to GTK or QT will likely end up splitting the project since too many users like the Win32 version.
- 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. -
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.
-
@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. -
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 -
OMG, Claudia, you are some kind of miracle worker!
:-D -
Currently might be a bit misleading ;-D
It already took a couple of weeks to get it to that stage.Cheers
Claudia -
@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.
-
@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 -
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!
-
I hope you and me do have the same understanding what a “couple of days” mean. ;-)
Don’t forget the gel-time? ;-DwxWidgets is also available for C++
Thank you, I know but it seems I didn’t express myself correctly.
What I am trying to say isHello 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 -
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
-
@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
-
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.
-
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 -
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.
-
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 -
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! -
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-editP.S.
I’ve used NP++ on Linux with wine for 3 years. It’s too unstable - I’ve tired :(