From: Eshel Yaron Date: Sat, 9 Sep 2023 14:36:55 +0000 (+0200) Subject: ; * sweep.texi (Extract Goal): Improve indexing X-Git-Tag: V9.1.15-sweep-0.25.0~12 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8939eb33bc1da24fb4025c252fa8a2e60bc14eeb;p=sweep.git ; * sweep.texi (Extract Goal): Improve indexing --- diff --git a/sweep.texi b/sweep.texi index 1d5c6dd..f8d4274 100644 --- a/sweep.texi +++ b/sweep.texi @@ -212,7 +212,7 @@ On-the-fly diagnostics, @pxref{Showing Errors} @item Intelligent code completion, @pxref{Code Completion} @item -Refactoring support, @pxref{Renaming Variables} +Refactoring, @pxref{Renaming Variables} and @ref{Extract Goal} @item Integrated SWI-Prolog top-level, @pxref{The Prolog Top-level} @item @@ -2528,6 +2528,8 @@ the context menu. @xref{Context Menu}. @node Extract Goal @section Extracting Goals to Separate Predicates +@cindex extract goal +@cindex refactor, extract to separate definition Sweep can help you extract a part of the body of a Prolog clause into a separate predicate, so you can reuse it in other places.