emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/haskell-tng-mode 224e955 307/385: add screencasts to the R


From: ELPA Syncer
Subject: [nongnu] elpa/haskell-tng-mode 224e955 307/385: add screencasts to the README
Date: Tue, 5 Oct 2021 23:59:53 -0400 (EDT)

branch: elpa/haskell-tng-mode
commit 224e955300473fd90722ad3e6e6a21c21cb2c1e5
Author: Tseen She <ts33n.sh3@gmail.com>
Commit: Tseen She <ts33n.sh3@gmail.com>

    add screencasts to the README
---
 README.md                               |  16 +++++++++++++---
 haskell-tng-hsinspect.el                |   1 +
 screencasts/fqn-at-point-completion.gif | Bin 0 -> 24356 bytes
 screencasts/fqn-at-point-completion.mp4 | Bin 0 -> 33156 bytes
 screencasts/import-symbol-at-point.gif  | Bin 0 -> 42203 bytes
 screencasts/import-symbol-at-point.mp4  | Bin 0 -> 53074 bytes
 6 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 207ae63..1eb1129 100644
--- a/README.md
+++ b/README.md
@@ -70,11 +70,21 @@ To use this feature you must install `hsinspect` command 
line tool and the `ghcf
 2. `build-depends: ghcflags == 1.0.1`
 3. add `ghc-options: -fplugin GhcFlags.Plugin`
 
-The `haskell-tng-extra-company` package will automatically complete symbols 
that are in scope.
+To find out which module a symbol belongs to, use `M-x 
haskell-tng-fqn-at-point`. The `haskell-tng-extra-company` package will 
automatically complete symbols that are in scope.
 
-To find out which module a symbol belongs to, use `M-x 
haskell-tng-fqn-at-point`.
+<!--
+recordmydesktop --no-sound --delay 3
+ffmpeg -i out.ogv -vf crop=500:300:5:0 fqn-at-point-completion.mp4
+ffmpeg -i out.ogv -vf crop=500:300:5:0,scale=300:-1 -hide_banner 
fqn-at-point-completion.gif
 
-To automatically import a symbol at point, use `M-x 
haskell-tng-import-symbol-at-point`.
+gitlab markdown allows embedded mp4s but it makes them huge, so use gifs
+-->
+
+![screencast of 
haskell-tng-fqn-at-point](screencasts/fqn-at-point-completion.gif)
+
+To automatically import a symbol at point, use `M-x 
haskell-tng-import-symbol-at-point`, which understands the difference between 
unqualified and qualified symbols.
+
+![screencast of 
haskell-tng-import-symbol-at-point](screencasts/import-symbol-at-point.gif)
 
 ## Extras
 
diff --git a/haskell-tng-hsinspect.el b/haskell-tng-hsinspect.el
index c12ad5d..94b3e16 100644
--- a/haskell-tng-hsinspect.el
+++ b/haskell-tng-hsinspect.el
@@ -47,6 +47,7 @@ A prefix argument ensures that caches are flushes."
   ;; TODO double prefix + FQN should mean use unqualified `as' import
   ;; TODO double prefix + unqualified should mean to import entire module
   ;; TODO shortlist for FQN imports (no need to calc the index)
+  ;; TODO fqn version doesn't work one after the last character and non-fqn 
version doesn't work on first
   (interactive "P")
   ;; TODO update the hsinspect-imports cache
   (when-let* ((index (haskell-tng--hsinspect-index alt))
diff --git a/screencasts/fqn-at-point-completion.gif 
b/screencasts/fqn-at-point-completion.gif
new file mode 100644
index 0000000..8c97370
Binary files /dev/null and b/screencasts/fqn-at-point-completion.gif differ
diff --git a/screencasts/fqn-at-point-completion.mp4 
b/screencasts/fqn-at-point-completion.mp4
new file mode 100644
index 0000000..abe6dcc
Binary files /dev/null and b/screencasts/fqn-at-point-completion.mp4 differ
diff --git a/screencasts/import-symbol-at-point.gif 
b/screencasts/import-symbol-at-point.gif
new file mode 100644
index 0000000..f40b045
Binary files /dev/null and b/screencasts/import-symbol-at-point.gif differ
diff --git a/screencasts/import-symbol-at-point.mp4 
b/screencasts/import-symbol-at-point.mp4
new file mode 100644
index 0000000..cd5206f
Binary files /dev/null and b/screencasts/import-symbol-at-point.mp4 differ



reply via email to

[Prev in Thread] Current Thread [Next in Thread]