Skip to content
tomtt edited this page Sep 12, 2010 · 4 revisions
  • emacs-rails wishlist
    • create emacs pend/unpend commands for rspec
      + proper in stead of key macro
      + ideally detecting what the level is at which the function is defined and pending all code inside it
    • textmate like snippets ({0:whatever} {$0}, each only entered once), reading their xml def
    • have mechanism to easily copy previous commands to prompt in rails console
    • define a command in rails console to execute current line (minus >> prompt)
    • make keys work in rails goto popup menu
    • switch between spec and code (different behaviour depending on rails/ruby)
    • prevent file from loosing rails mode when switching to console
    • make it so that a symbol (:whatever) that occured earlier can be completed as an identifier elsewhere
      For example if you have set before_filter :whatever then typing def wha ALT-/ will complete it
      And vice versa
    • toggle inserting ActiveRecord log output into console
      See: [[http://weblog.jamisbuck.org/2007/1/31/more-on-watching-activerecord][More on watching ActiveRecord]]
    • fix ansi displaying of colors in emacs buffer
    • integrate pastie support (make sure it is also easy to copy)
    • allow autocompletion after !. (other characters?)
    • tab completion of ruby code in code windows
    • understanding of ruby block so that you can do things like kill current block etc.
    • support for automatch html tag to close
    • indentation support for rSpec stories
    • automatic translation of story text to steps format
    • emacs based scaffolding (create boilerplate code based on info in files)
    • ‘rak’ output in emacs with links clickable
    • run rak on current word or selection for entire rails tree
    • allow emacs macros to be written in ruby
    • support for erb extention
    • full integration with ruby debugger
    • tab completion in console
    • integration with viewing online/offline docs
    • make ruby-backward-sexp, ruby-forward-sexp, ruby-beginning-of-block and ruby-end-of-block work as expected
    • no stack error when doing rails-rake:migrate-to-version with lots of migrations
    • show model’s schema info in model file as comments
    • create goto-method function that shows list of methods in current file
    • folding
    • Run single rspec example using -l
    • Fix ruby parsing: occasionally parsing breaks and rest of file is shown as if it were a string
Clone this wiki locally