Skip to content

AlexLeSang/clang-refactor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Description

clang-refactor is a small wrapper around clang-refactor cli tool from clang extra tools for Emacs.

Installation

Install manually

Clone the git repository.

Add this in your init.el:

(add-to-list 'load-path "<path-to-clang-refactor.el>")
(require 'clang-refactor)

Customization

clang-refactor defines these variables that the user can tweak:

  • clang-refactor-binary: path to clang-refactor executable.

Usage

Now clang-refactor provides only one function clang-refactor-extract-region, which uses clang-refactor to extract the code in selected region.

Contribute

All contributions are most welcome!

It might include any help: bug reports, questions on how to use it, feature suggestions, and documentation updates.

This is my first attempt on emacs-lisp code and I am glad to get some critique.

Tributes

Many thanks to the authors of clang-rename for inspiration and to the authors of clang-refactor cli tool.

License

GPL-3.0

About

Emacs wrapper around clang-refactor cli tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published