Notepad++ or similar php coding/text editing tool for linux
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Notepad++ or similar php coding/text editing tool for linux
Hello,
I find Notepad++ amazing as a plain text editor, but it only is available for Windows. I installed it with wine, and it's working fine even though there are some font issues with it.
I would feel much more comfortable if I were using something already built for linux, or something that had its code ported to linux.
I find vim for exemple very useful, but there is one particular thing that I find SO AMAZING, the macro feature that some open source text editors have. But I couldn't find it in any text editor for linux.
Well, I tried to compile the notepad++ source but it's very complicated.
What would you guys recommend? Something that is lightweight such as kate, but with some very neat features such as notepad++...
What features are you wanting? Gvim has macros, even some neat shortcuts. Scite or such. Are you wanting to edit web/python/php? If so, Bluefish has some great stuff in it. What functions does notepad++ have that you miss? There is likely a way to get those functions in Gvim or kate, just gotta know how to get to them.
I understand a lot of people love vim, I really enjoy it, but it lacks some features that makes much more productive to work with other editors.
Notepad++'s features I look for is:
Column selection
easy keyboard macro recording/playing
nice find features
I used to use ConTEXT for windows, but notepad++ is better.
I've tried installing Scite, amaya, screem, but always some GLIB2 related problem makes me give up.
Like, when I'm trying scite because it uses scintilla library such as notepad++, i get:
make
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
g++ -DNDEBUG -Os -Wall -Wno-missing-braces -Wno-char-subscripts -pedantic -Os -DGTK -DSCI_LEXER -I ../include -I ../src -c PlatGTK.cxx
PlatGTK.cxx:11:18: error: glib.h: No such file or directory
PlatGTK.cxx:12:21: error: gmodule.h: No such file or directory
PlatGTK.cxx:13:21: error: gdk/gdk.h: No such file or directory
PlatGTK.cxx:14:21: error: gtk/gtk.h: No such file or directory
PlatGTK.cxx:15:28: error: gdk/gdkkeysyms.h: No such file or directory
In file included from PlatGTK.cxx:20:
../include/ScintillaWidget.h:26: error: ‘GtkContainer’ does not name a type
../include/ScintillaWidget.h:31: error: ‘GtkContainerClass’ does not name a type
../include/ScintillaWidget.h:38: error: ‘GtkType’ does not name a type
../include/ScintillaWidget.h:42: error: expected constructor, destructor, or type conversion before ‘*’ token
PlatGTK.cxx:107: error: ISO C++ forbids declaration of ‘GdkFont’ with no type
PlatGTK.cxx:107: error: expected ‘;’ before ‘*’ token
PlatGTK.cxx:112: error: expected `)' before ‘*’ token
PlatGTK.cxx: In destructor ‘FontHandle::~FontHandle()’:
PlatGTK.cxx:133: error: ‘pfont’ was not declared in this scope
PlatGTK.cxx:134: error: ‘gdk_font_unref’ was not declared in this scope
PlatGTK.cxx:135: error: ‘pfont’ was not declared in this scope
PlatGTK.cxx: At global scope:
PlatGTK.cxx:176: error: expected initializer before ‘*’ token
PlatGTK.cxx:180: error: expected initializer before ‘*’ token
PlatGTK.cxx: In member function ‘void Palette::Release()’:
PlatGTK.cxx:207: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:207: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:207: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:207: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:207: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:207: error: expected `)' before ‘;’ token
PlatGTK.cxx: In member function ‘void Palette::Allocate(Window&)’:
PlatGTK.cxx:252: error: ‘PWidget’ was not declared in this scope
PlatGTK.cxx:252: error: ‘gtk_widget_get_colormap’ was not declared in this scope
PlatGTK.cxx:253: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:253: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:253: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:253: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:253: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:255: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:255: error: expected `>' before ‘GdkColor’
PlatGTK.cxx:255: error: expected `(' before ‘GdkColor’
PlatGTK.cxx:255: error: expected primary-expression before ‘>’ token
PlatGTK.cxx:255: error: expected `)' before ‘;’ token
PlatGTK.cxx:259: error: ‘GdkColor’ was not declared in this scope
PlatGTK.cxx:259: error: ‘paletteNew’ was not declared in this scope
PlatGTK.cxx:259: error: expected type-specifier before ‘GdkColor’
PlatGTK.cxx:259: error: expected `;' before ‘GdkColor’
PlatGTK.cxx:261: error: ‘gboolean’ was not declared in this scope
PlatGTK.cxx:261: error: ‘successPalette’ was not declared in this scope
PlatGTK.cxx:261: error: expected type-specifier before ‘gboolean’
PlatGTK.cxx:261: error: expected `;' before ‘gboolean’
PlatGTK.cxx:271: error: ‘PWidget’ was not declared in this scope
PlatGTK.cxx:271: error: ‘gtk_widget_get_colormap’ was not declared in this scope
PlatGTK.cxx:272: error: ‘FALSE’ was not declared in this scope
PlatGTK.cxx:272: error: ‘TRUE’ was not declared in this scope
PlatGTK.cxx:273: error: ‘gdk_colormap_alloc_colors’ was not declared in this scope
PlatGTK.cxx:278: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
PlatGTK.cxx: At global scope:
PlatGTK.cxx:494: error: expected initializer before ‘*’ token
PlatGTK.cxx:68: warning: ‘void FontMutexAllocate()’ defined but not used
PlatGTK.cxx:77: warning: ‘void FontMutexFree()’ defined but not used
PlatGTK.cxx:330: warning: ‘bool IsDBCSCharacterSet(int)’ defined but not used
PlatGTK.cxx:345: warning: ‘void GenerateFontSpecStrings(const char*, int, char*, int, char*, int, char*, int)’ defined but not used
make: *** [PlatGTK.o] Error 1
but when I run:
rpm -q gtk2
gtk2-2.12.0-5.4
uname -r
2.6.22.12-0.1-default
uname -m
x86_64
openSuse 10.3
I'm betting on Scite. Can someone help me out with these errors?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.