Hi All
For those who use emacs I have added smalltalk to ctags. So now you can use tags in emacs to search for the method definition. To do so, you need to get the latest smalltalk-mode.el from: https://github.com/mathk/smalltalk Then build ctags from: https://github.com/mathk/gst-ctags To build the tag file I usally do: smalltalk $ find . -type f -name '*.st' | xargs ctags -a -e Now if you are in emacs, simply hit M-. under the method you whant to search the definition. To visit a tag file: M-x visit-tags-table For more information about emacs tags: M-: (info "(emacs)Tags") HTH -Mathieu _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Le mercredi 15 décembre 2010 à 10:47 +0000, Mathieu Suen a écrit :
> Hi All > > > For those who use emacs I have added smalltalk to ctags. > So now you can use tags in emacs to search for the method definition. > To do so, you need to get the latest smalltalk-mode.el from: > https://github.com/mathk/smalltalk > > Then build ctags from: > https://github.com/mathk/gst-ctags > > To build the tag file I usally do: > > smalltalk $ find . -type f -name '*.st' | xargs ctags -a -e > > Now if you are in emacs, simply hit M-. under the method you whant to search the > definition. > > To visit a tag file: > M-x visit-tags-table > > For more information about emacs tags: > M-: (info "(emacs)Tags") > Cool mathieu! I'm going to try it ASAP ;) Nico _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Mathieu Suen-2
On 12/15/2010 11:47 AM, Mathieu Suen wrote:
> Then build ctags from: > https://github.com/mathk/gst-ctags > Have you submitted the patch upstream? Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Not yet
On Dec 15, 2010, at 8:35 PM, Paolo Bonzini wrote: > On 12/15/2010 11:47 AM, Mathieu Suen wrote: >> Then build ctags from: >> https://github.com/mathk/gst-ctags >> > > Have you submitted the patch upstream? > > Paolo __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Paolo Bonzini-2
By the way do you think is better to test it a little bit more.
I don't know if it is fully working. (I mean if all tags are found) I should test it a little bit more to see if all method are tagged Also it only support the new syntax. (but i don't think we want to add tags to the chunk format) Mth On Dec 15, 2010, at 8:35 PM, Paolo Bonzini wrote: > On 12/15/2010 11:47 AM, Mathieu Suen wrote: >> Then build ctags from: >> https://github.com/mathk/gst-ctags >> > > Have you submitted the patch upstream? > > Paolo __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 12/15/2010 10:55 PM, Mathieu Suen wrote:
> By the way do you think is better to test it a little bit more. > I don't know if it is fully working. (I mean if all tags are found) > I should test it a little bit more to see if all method are tagged > > > Also it only support the new syntax. > (but i don't think we want to add tags to the chunk format) It's more tricky for sure... There are still some old-syntax files mostly to ensure parsing code is covered, but I agree that it is not so important. Paolo _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |