[Github-comments] [geany/geany] Enable local variables for C/C++ and improve autocompletion (PR #3185)

Jiří Techet notifications at github.com
Fri Apr 29 14:30:00 UTC 2022


This is rebased #3175 with cleaned up commit history but no functional change.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/3185

-- Commit Summary --

  * Rename tm_tag_file_t to tm_tag_local_var_t
  * Enable local tag generation for C/C++
  * Update goto symbol definitions to take into account local variables
  * Update (non-scope) autocompletion to take into account local variables
  * Update scope completion to take into account local variables
  * Strip more things from variable type
  * Support (multiple) inheritance by scope completion
  * Sort tags so tags from source file's header are preferred to other files
  * Rewrite member_at_method_scope() to handle more situations
  * Sort non-scope autocompletion results by locality
  * Make validity of local variables configurable based on used language

-- File Changes --

    M src/editor.c (15)
    M src/symbols.c (13)
    M src/tagmanager/tm_parser.c (26)
    M src/tagmanager/tm_parser.h (4)
    M src/tagmanager/tm_workspace.c (546)
    M src/tagmanager/tm_workspace.h (6)

-- Patch Links --

https://github.com/geany/geany/pull/3185.patch
https://github.com/geany/geany/pull/3185.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3185
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3185 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220429/11a39929/attachment.htm>


More information about the Github-comments mailing list