GithubHelp home page GithubHelp logo

anakondo's People

Contributors

andreyorst avatar didibus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anakondo's Issues

helm-M-x-execute-command: JSON readtable error: 47

Right now I am getting this error about JSON readtable error: 47. I am just typing the letter 'd' to see if it completes to 'defn'.

Company: backend (company-dabbrev-code :with company-capf :separate) error "JSON readtable error: 47" with args (candidates d)

helm-M-x-execute-command: JSON readtable error: 47

feat: annotate completions

Would be great if Anakondo could annotate completions like CIDER of Clojure LSP do:

image

Macros are annotated with <m>, functions with <f> and so on. Also the namespace from which the completion came is shown, which is also a good feature to have

static analysis of project taking greater than 40 seconds

Description :octocat:

A specific project is taking far longer to statically analyse that other projects. Unclear as to the cause, possibly one or more of the dependencies or the large data files in the project.

Reproduction guide ๐Ÿชฒ

  • Add anakondo to dotspacemacs-additional-packages
  • Start Emacs (Spacemacs)
  • Open covid19-dashboard project (deps.edn project)
  • SPC SPC anakondo-minor-mode to start analysis (if add-hooks were not used to automatically start the process)
  • Wait for more than 40 seconds for the analysis to complete.

Observed behaviour: ๐Ÿ‘€ ๐Ÿ’”

  • Project takes a long time to complete the analysis

Expected behaviour: โค๏ธ ๐Ÿ˜„

  • Project analysis completes in ~10 seconds or does not block Emacs use while analysing

When did it start?: ๐Ÿ•š
Approximately a week ago when first trying anakondo

System Info ๐Ÿ’ป

  • OS: gnu/linux
  • Emacs: 26.3
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 5e037c889)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(asciidoc
 (auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t auto-completion-enable-sort-by-usage t)
 (clojure :variables clojure-toplevel-inside-comment-form t cider-overlays-use-font-lock t clojure-enable-linters 'clj-kondo)
 command-log colors csv emacs-lisp emoji
 (git :variables git-magit-status-fullscreen t magit-diff-refine-hunk 'all)
 github graphviz helm html json markdown multiple-cursors
 (org :variables org-enable-github-support t org-enable-bootstrap-support t org-enable-reveal-js-support t org-want-todo-bindings t org-enable-org-journal-support t org-journal-dir "~/projects/journal/" org-journal-file-format "%Y-%m-%d" org-journal-date-prefix "#+TITLE: " org-journal-date-format "%A, %B %d %Y" org-journal-time-prefix "* " org-journal-time-format "" org-journal-carryover-items "TODO=\"TODO\"|TODO=\"DOING\"|TODO=\"BLOCKED\"|TODO=\"REVIEW\"")
 (ranger :variables ranger-show-preview t ranger-show-hidden t ranger-cleanup-eagerly t ranger-cleanup-on-disable t ranger-ignored-extensions
         '("mkv" "flv" "iso" "mp4"))
 (shell :variables shell-default-shell 'eshell shell-default-height 30 shell-default-position 'bottom)
 (spacemacs-layouts :variables spacemacs-layouts-restrict-spc-tab t persp-autokill-buffer-on-remove 'kill-weak)
 spell-checking
 (syntax-checking :variables syntax-checking-use-original-bitmaps t)
 (treemacs :variables treemacs-indentation 1 treemacs-use-filewatch-mode t treemacs-use-follow-mode t)
 (version-control :variables version-control-diff-tool 'diff-hl version-control-global-margin t))
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2

Backtrace ๐Ÿพ

Company-capf error when writing namespaced functions in Clojure

Description :octocat:

company-capf error when working with namespaced functions in Clojure. Preventing me from accessing namespaced functions.

Reproduction guide ๐Ÿชฒ

  • Use the latest develop branch
  • Start Emacs
  • Create or edit a clojure file
  • Add a require like [clojure.core :as cc] to the namespace
  • Try typing "(cc/map)"

Observed behaviour: ๐Ÿ‘€ ๐Ÿ’”

  • When typing "(cc/" spacemacs will change it to "(cc" and show a company-capf readtable JSON error below the status bar
  • See screenshot of error
    Spacemacs Error Screenshot

Expected behaviour: โค๏ธ ๐Ÿ˜„

  • I am not prevented from typing "(cc/map)"
  • If a REPL is connected via Cider or Anakondo is running I see a list of completions after typing "(cc/"

When did it start?: ๐Ÿ•š
A few days ago when I updated to latest spacemacs develop commit 1f6e39ea8ab3e7b7cb0a89889dec307523dfc6b and updated packages.

System Info ๐Ÿ’ป

  • OS: OS X Darwin 10.15.3
  • Emacs: 26.3
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 1f6e39ea8)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(react lua sql html yaml python
       (auto-completion :variables auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t auto-completion-enable-sort-by-usage t)
       (clojure :variables clojure-enable-sayid t clojure-enable-clj-refactor nil clojure-enable-linters 'clj-kondo)
       anakondo emacs-lisp
       (git :variables git-magit-status-fullscreen t git-enable-github-support t git-gutter-use-fringe t)
       helm
       (javascript :variables js2-basic-offset 2 js-indent-level 2 js-expr-indent-offset -4)
       multiple-cursors markdown org osx
       (shell :variables shell-default-height 30 shell-default-position 'bottom)
       spell-checking syntax-checking
       (version-control :variables version-control-diff-tool 'diff-hl version-control-global-margin t)
       fennel spacehammer tabbar
       (spacemacs-layouts :variables spacemacs-layouts-restrict-spc-tab t))
  • System configuration features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS

Backtrace ๐Ÿพ

Company: backend (company-capf :with company-yasnippet) error "JSON readtable error: 47" with args (candidates p/)

All history rewritten

It appears that you have rewritten all history in this repository. If you did this on purpose, then you should also update the tags to point to commits in the new history. If not, then you should undo this accident as soon as possible.

background static analysis for multiple projects loaded on Emacs startup

When using anakondo with Spacemacs (develop) and multiple projects are re-opened on restarting, interaction with Spacemacs is blocked until static analysis is complete.

To reproduce:

  1. Add anakondo as described in the Spacemacs configuration below
  2. Add several Clojure projects (or one very large one) to emacs using projectile or layouts
  3. Restart Spacemacs so existing projects reload
  4. Wait as anakondo statically analyses all project. I have 13 Clojure projects and have to wait approximately 60 seconds for the analysis (12 thread i7 cpu).
  5. Once analysis of all projects is complete, Spacemacs responds to key presses.

Spacemacs configuration
anakondo is added to the dotspacemacs-additional-packages '(anakondo) list which downloads the package.

anakondo is enabled by including the following in dotspacemacs/user-config

  ;; Lazy load of anakondo until Clojure buffer is used
  (autoload 'anakondo-minor-mode "anakondo")
  ;;
  ;; Enable anakondo-minor-mode in all Clojure buffers
  (add-hook 'clojure-mode-hook #'anakondo-minor-mode)
  ;; Enable anakondo-minor-mode in all ClojureScript buffers
  (add-hook 'clojurescript-mode-hook #'anakondo-minor-mode)
  ;; Enable anakondo-minor-mode in all cljc buffers
  (add-hook 'clojurec-mode-hook #'anakondo-minor-mode)

Add support for project.el

Hi,

first of all thank you for this package.

Would it be possible to support project.el as well as projectile? You could get the project root with project.el as well, and maybe have projectile as an optional dependency.

What do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.