See Install SWI on Catalina? - #10 by janĪfter editing sources I normally type ?- make. ?- edit(file:line).Įdit If you use terminator. Typically only use the plain file name, i.e. Note that the commandline also allows for editing a file+line. That works nicely with git grep as well as to copy paste locations of error messages for editing. Now, if the Prolog editor is open you can run from any terminal edit file:line Just compile that using cc -o xpce-client client.c should work on most machines. I install that in my ~/bin and install a PceEmacs client from. Then there is a script edit in the customize directory of the release. To find stuff anywhere in the project I split the terminal and use git grep (always have my source under git). To edit anything else that has a name (predicates, modules, files, …), use ?- edit(Name). Just run Prolog in a terminal ( terminator), normally starting it as swipl There is also an experimental LSP (Language Server Protocol) that should allow using any editor of choice that supports LSP. There are many options, such as the native tools, GNU-Emacs, PDT (for Eclipse), a VSC plugin and most likely more. Just wondering, what do you use as an IDE?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |