To compile debug pluginf irst I run ./configure and it returns:
geany-plugins-1.33
Build Environment:
Geany version: 1.33 (GTK3)
Install prefix: /usr/local
Datadir: /usr/local/share/geany-plugins
Libdir: /usr/local/lib/geany-plugins
Docdir: /usr/local/share/doc/geany-plugins
Plugins path: /usr/lib/x86_64-linux-gnu/geany
Build Features:
Unit tests: no
Static code checking: no
Extra C compiler warnings: yes
Extra linker options: yes
Plugins:
Addons: yes
Autoclose: yes
Automark: yes
CodeNav: yes
Commander: yes
Debugger: no
Defineformat: yes
DevHelp: no
GeanyCtags: yes
GeanyDoc: yes
GeanyExtraSel: yes
GeanyGenDoc: no
GeanyInsertNum: yes
LaTeX: yes
GeanyLua: no
GeanyMacro: yes
GeanyMiniScript: yes
GeanyNumberedBookmarks: yes
GeanyPrj: yes
Geanypy: no
GeanyVC: yes
GeanyPG: no
GeniusPaste: no
GitChangeBar: no
keyrecord: yes
LineOperations: yes
Lipsum: yes
Markdown: no
MultiTerm: no
Overview: yes
PairTagHighlighter: yes
PoHelper: yes
Pretty Printer: no
ProjectOrganizer: yes
Scope: no
Sendmail: yes
ShiftColumn: yes
Spellcheck: no
TreeBrowser: yes
Tableconvert: yes
Updatechecker: no
WebHelper: no
Workbench: yes
XMLSnippets: yes
Features:
GeanyVC GtkSpell support: no
Markdown library: peg-markdown
TreeBrowser GIO support: yes
Utility library: yes
After that I run the command make inside debug plugin folder, but I go the following error:
Making all in src
make[1]: Entering directory '/home/epsm/Baixados/geany-plugins-1.33/debugger/src'
CC debugger_la-bptree.lo
In file included from bptree.c:48:
cell_renderers/cellrendererbreakicon.h:43:3: warning: parameter names (without types) in function declaration
guint GSEAL (enabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:43:9: error: field ‘GSEAL’ declared as a function
guint GSEAL (enabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:44:3: warning: parameter names (without types) in function declaration
const gchar* GSEAL(condition);
^~~~~
cell_renderers/cellrendererbreakicon.h:44:16: error: field ‘GSEAL’ declared as a function
const gchar* GSEAL(condition);
^~~~~
cell_renderers/cellrendererbreakicon.h:45:3: warning: parameter names (without types) in function declaration
guint GSEAL (hitscount);
^~~~~
cell_renderers/cellrendererbreakicon.h:45:9: error: field ‘GSEAL’ declared as a function
guint GSEAL (hitscount);
^~~~~
cell_renderers/cellrendererbreakicon.h:47:3: warning: parameter names (without types) in function declaration
GdkPixbuf *GSEAL (pixbuf_enabled);
^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:47:14: error: field ‘GSEAL’ declared as a function
GdkPixbuf *GSEAL (pixbuf_enabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:48:3: warning: parameter names (without types) in function declaration
GdkPixbuf *GSEAL (pixbuf_disabled);
^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:48:14: error: field ‘GSEAL’ declared as a function
GdkPixbuf *GSEAL (pixbuf_disabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:49:3: warning: parameter names (without types) in function declaration
GdkPixbuf *GSEAL (pixbuf_conditional);
^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:49:14: error: field ‘GSEAL’ declared as a function
GdkPixbuf *GSEAL (pixbuf_conditional);
^~~~~
cell_renderers/cellrendererbreakicon.h:50:3: warning: parameter names (without types) in function declaration
GdkPixbuf *GSEAL (pixbuf_file);
^~~~~~~~~
cell_renderers/cellrendererbreakicon.h:50:14: error: field ‘GSEAL’ declared as a function
GdkPixbuf *GSEAL (pixbuf_file);
^~~~~
cell_renderers/cellrendererbreakicon.h:44:16: error: duplicate member ‘GSEAL’
const gchar* GSEAL(condition);
^~~~~
cell_renderers/cellrendererbreakicon.h:45:9: error: duplicate member ‘GSEAL’
guint GSEAL (hitscount);
^~~~~
cell_renderers/cellrendererbreakicon.h:47:14: error: duplicate member ‘GSEAL’
GdkPixbuf *GSEAL (pixbuf_enabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:48:14: error: duplicate member ‘GSEAL’
GdkPixbuf *GSEAL (pixbuf_disabled);
^~~~~
cell_renderers/cellrendererbreakicon.h:49:14: error: duplicate member ‘GSEAL’
GdkPixbuf *GSEAL (pixbuf_conditional);
^~~~~
cell_renderers/cellrendererbreakicon.h:50:14: error: duplicate member ‘GSEAL’
GdkPixbuf *GSEAL (pixbuf_file);
^~~~~
bptree.c: In function ‘on_hitscount_changed’:
bptree.c:373:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (oldcount != count)
^~
bptree.c:376:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
gtk_tree_path_free(tree_path);
^~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:976: debugger_la-bptree.lo] Error 1
make[1]: Leaving directory '/home/epsm/Baixados/geany-plugins-1.33/debugger/src'
make: *** [Makefile:583: all-recursive] Error 1
I would be very gratefull for some help. Thanks in advance.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/958
Fixes issue #1000 . Geany now correctly autocompletes LaTeX macros.
The difference in behaviour can be illustrated with the following document:
````latex
\newcommand{\macroname}{}
% The following occurrences of \macro are now autocompleted to \macroname
\macro
\alpha\macro
% The following is no longer autocompleted to macroname
macro
% Example with @
\newcommand{\@anothermacro}{}
% Gets autocompleted
\@another
````
The tests were updated to accept this behaviour (since macro tags now start with `\`).
This also identifies macros defined with `\let`, `\newlength` and environments defined with `\renewenvironment`.
Finally, `@` can be used sometimes in a macro name and mostly any character can be used in a label. I added `:@` to wordchars so that they can be used in autocomplete.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1011
-- Commit Summary --
* '\' is included in macro tag.
* Updated copyright.
* Made indentation consistent with the rest of the project.
* Correctly separates LaTeX words.
* Environments can be defined with \renewenvironment as well.
* Correctly add macro tags.
* Macros can also be defined with \let
* Removed my copyright since I don't even know if I could add it.
* Updated tests to include \ in macros.
* Recognizes new lengths as macros.
-- File Changes --
M src/editor.c (31)
M tagmanager/ctags/latex.c (338)
M tests/ctags/3526726.tex.tags (4)
M tests/ctags/bug2886870.tex.tags (6)
M tests/ctags/intro_orig.tex.tags (6)
-- Patch Links --
https://github.com/geany/geany/pull/1011.patchhttps://github.com/geany/geany/pull/1011.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1011