Skip to main content
decent tags
Source Link

Search and replace with camel/snake case preservation and plurals

Is there a way (or package) to search and replace code like:

class Account
  def list_accounts
  end
end

to

class Company
  def list_companies
  end
end

Basically I want to replace account(s) with compan(y/ies)

Vim does this with Subvert http://vimcasts.org/episodes/smart-search-with-subvert/Subvert

Thanks

Search and replace with camel/snake case and plurals

Is there a way (or package) to search and replace code like:

class Account
  def list_accounts
  end
end

to

class Company
  def list_companies
  end
end

Basically I want to replace account(s) with compan(y/ies)

Vim does this with Subvert http://vimcasts.org/episodes/smart-search-with-subvert/

Thanks

Search and replace with case preservation and plurals

Is there a way (or package) to search and replace code like:

class Account
  def list_accounts
  end
end

to

class Company
  def list_companies
  end
end

Basically I want to replace account(s) with compan(y/ies)

Vim does this with Subvert

Source Link

Search and replace with camel/snake case and plurals

Is there a way (or package) to search and replace code like:

class Account
  def list_accounts
  end
end

to

class Company
  def list_companies
  end
end

Basically I want to replace account(s) with compan(y/ies)

Vim does this with Subvert http://vimcasts.org/episodes/smart-search-with-subvert/

Thanks