From 8939eb33bc1da24fb4025c252fa8a2e60bc14eeb Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Sat, 9 Sep 2023 16:36:55 +0200 Subject: [PATCH] ; * sweep.texi (Extract Goal): Improve indexing --- sweep.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5