From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zokkoven@gmail.com Newsgroups: gmane.emacs.help Subject: [ANN] Srefactor 0.3 with Emacs Lisp source code formatter Date: Mon, 6 Apr 2015 11:33:52 -0700 (PDT) Message-ID: <433b00d8-a549-4b29-b21c-e6f6b1933322@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428351145 26581 80.91.229.3 (6 Apr 2015 20:12:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Apr 2015 20:12:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 06 22:12:24 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YfDNg-0003d9-4W for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Apr 2015 22:12:24 +0200 Original-Received: from localhost ([::1]:41505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfDNf-00074T-CP for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Apr 2015 16:12:23 -0400 X-Received: by 10.182.44.199 with SMTP id g7mr19806652obm.11.1428345233006; Mon, 06 Apr 2015 11:33:53 -0700 (PDT) X-Received: by 10.50.118.42 with SMTP id kj10mr310431igb.9.1428345232988; Mon, 06 Apr 2015 11:33:52 -0700 (PDT) Original-Path: usenet.stanford.edu!m20no1311706iga.0!news-out.google.com!n7ni474igk.0!nntp.google.com!l13no1681647iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=14.161.13.65; posting-account=P1jqygoAAACTAk-rEc3K9jSIlBkMXzJZ Original-NNTP-Posting-Host: 14.161.13.65 User-Agent: G2/1.0 Injection-Date: Mon, 06 Apr 2015 18:33:52 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:211266 X-Mailman-Approved-At: Mon, 06 Apr 2015 16:12:14 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103548 Archived-At: Homepage: https://github.com/tuhdo/semantic-refactor If you are new, see the old demos for C/C++: https://github.com/tuhdo/seman= tic-refactor/blob/master/srefactor-demos/demos.org. What's new in this release? - Lot of bugs were fixed. - Local variable renaming now has highlighting over actual variable instanc= es to be renamed. As a reminder, actual variable instances mean that only v= ariable instances of the same type with the same name in the same scope. Fo= r example, a user may see two variables, `A::var_1` and `B::var_1` with the= same name and the same type, but only `A::var_1` is highlighted when renam= ing and `B::var_1` is not highlighted, because the one highlighted is in th= e same scope as the variable user chose to rename. - Improve getter/setter generation: + Users can specify a regexp to remove a part of variable name such as pr= efixes like "m_" or "_". + Users can capitalize the first character of variable name in getter/set= ter with `srefactor--getter-setter-capitalize-p`. So, user can combine with= `srefactor--getter-prefix ` and `srefactor--setter-prefix` to generate get= ters and setters like `get_Age` or `getAge` or `set_age` or `setAge`. + Allows getter/setter to be inserted in other file (file with the same n= ame but different extension). - Add initial support for Emacs Lisp refactoring with code formatting (not = just indentation). See buffer formatting and one line/multiple line transfo= rmation demo: https://github.com/tuhdo/semantic-refactor/blob/master/srefac= tor-demos/demos-elisp.org.