dgutov / robe

Code navigation, documentation lookup and completion for Ruby
584 stars 37 forks source link

support to complete symbols #84

Open stardiviner opened 8 years ago

stardiviner commented 8 years ago

I found robe does not support complete symbols. They are started with :. Is it easy to let robe to support symbol completion? For example:

class ArticlesController < ApplicationController
  before_action :set_article, only: [:show, :edit, :update, :destroy]
  before_action :authenticate, except: [:index, :show]
end
stardiviner commented 8 years ago

@dgutov should we just let robe complete function robe-complete-at-point take : as prefix for temporary solution? what do you think about this idea?

dgutov commented 8 years ago

This needs backend support anyway, like returning all matching options from Symbol.all_symbols.