Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Cursive-like enhancements #34

Open
6 tasks
cldwalker opened this issue Nov 24, 2014 · 2 comments
Open
6 tasks

Cursive-like enhancements #34

cldwalker opened this issue Nov 24, 2014 · 2 comments

Comments

@cldwalker
Copy link
Member

This is a meta issue to consider some features Colin demoed for Cursive at the Conj. Interesting features include:

  • When writing a fn from a new namespace, detect possible namespaces and provide one keystroke/click to auto-insert to :require
  • On save, detect what namespaces are unused and remove them from :require
  • Find fn usages
  • Find and highlight unused fns and vars
  • Pull up s-expression into a let assignment
  • Rename fns, vars and keywords. Renames can handle let destructuring
@rundis
Copy link
Contributor

rundis commented Mar 8, 2015

I guess I might have started to address this issue, but externally in the clj-light-refactor plugin

The first 3 are already covered, the 3 below and lots more is in the pipeline. The "snag" if you like is the dependency on an external nrepl middleware besides LT's own.

@rundis
Copy link
Contributor

rundis commented Apr 16, 2015

I believe I have most of this covered in the refactor plugin. However a clojurescript upgrade would allow me to explore using more advanced parsing of code with the help of instaparse :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants