Follow us on Twitter
Useful Wiki Links
Getting the Source
About donations (wiki)
Computer Math and Games in Pascal
Lazarus, the complete guide
(only a few left)
Topic: Emacs+CodeTools (Read 1596 times)
April 10, 2016, 09:47:08 pm »
“I’m using Linux. A library that emacs uses to communicate with Intel hardware.”
I'm one of those that has 'emacs --daemon' in my autostart group, got atleast 10, carefully handwritten, elisp files in my .emacs.d folder. Been using it for 20 years now, and I'm still learning! If you ever used this magnificent editor to hack in C or C++, and tried the Irony-Company autocomplete/intellisense package powered by libclang you know how awesome it is. Add a few more packages like Yasnippets and your spitting out code faster then you thought was possible
Lazarus on the other hand, is a damn fine IDE - it just lacks an editor...
I've cooked up some lisp-files and a simple executable that has CodeTools running in the background, and I use a hidden buffer to pipe code and completion candidates back and forth between the editor and codetools. Not complete by far, it's not really user friendly and it still needs alot of work to be usable, right now it's not that stable and sometimes produces lots of jibberish completion candidates, but that's probably because I hacked the native executable together in about 20 minutes, just to test it out. It's this solution or remap all the IDE functions to listen to emacs key-chords
Is there any interest for such a package? Should I contnue to develop it? Anyone that might want to help out - could really need some help with the fpc backend, as I'm a newbie when it comes to pascal.
If there is interest in it, I'll put it on github and link to it from this thread.
Reply #1 on:
May 05, 2016, 02:58:04 pm »
It's something similar to RTags that uses libclang.
I was thinking about creating a Free Pascal major mode.
Lazarus is very customizable, I managed to mimic my Emacs shortcuts in it, even Ctrl-L by a keyboard macro(moving caret up and down while recording a macro), selection, Ctrl-G after selection - as an experiment.
Emacs' built-in OPascal mode colorizes all mode switches as a wall of comments.
If parsing of mode switches in Lazarus is done by CodeTools, then it's a good idea.
Though I don't think that Emacs is heard of by many in Delphi/Free Pascal world.
Last Edit: May 10, 2016, 02:21:34 pm by AlexK
Reply #2 on:
February 23, 2017, 03:24:13 am »
I am an Emacs user as well - just sayin'
Anything made for Free Pascal and Emacs would be of interest to me. As a user.
more signal - less noise
how to: Linux resource fi...
[April 25, 2017, 11:51:07 pm]
image above of panels
[April 25, 2017, 11:38:14 pm]
How to return special key...
[April 25, 2017, 10:49:42 pm]
How do you stream a whole...
[April 25, 2017, 10:07:16 pm]
LAMW: Where does save myD...
[April 25, 2017, 09:43:44 pm]
Accessing interfaces from...
[April 25, 2017, 09:42:21 pm]
BGRA Controls v126.96.36.199
[April 25, 2017, 09:19:46 pm]
Database Path contains sp...
[April 25, 2017, 08:52:32 pm]
Sending and Receiving fil...
[April 25, 2017, 08:51:40 pm]
Form shifting when non re...
[April 25, 2017, 08:47:27 pm]
SMF © 2016