I'm having this issue too, on Windows 10, types are not highlighted correctly inside `extern "C"` blocks (whether guarded or not). For example,
```c
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SomeStruct SomeTypedef;
struct SomeStruct
{
int x;
};
#ifdef __cplusplus
}
#endif
```
Doesn't highlight the type name "SomeTypedef" in C, but it does for the "SomeStruct". If I switch the filetype to C++, neither type is highlighted.
It must be Windows-specific, I know this works fine Linux for sure.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/349#issuecomment-163464304
Please consider detecting the incorrect use of single quotes to quote strings in Java as in:
![strings](https://cloud.githubusercontent.com/assets/7548378/11667168/09c6d0b0-9de8-11e5-8cbd-4745a4ec067b.png)
<b>Thanks!</b>
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/794
@techee I think I done reading the patches. I merged it in a local branch to test it for a while, but please, go ahead and fix things.
One thing that these changes seem to have broken is completing members of a static structrue like this:
```c
static struct {
int a, b;
} foo;
int main(void) {
return foo.a; // <- here nothing pops up after the dot -- yet used to
}
```
I didn't investigate why yet (maybe because anonymous structs are skipped somewhere they shouldn't be?).
Also, although this one didn't work before either, it'd be nice to skip array indexing too when searching what to complete while at it, so stuff like that would work:
```c
typedef struct {
int el1, el2;
} Test;
Test test[2] = {
{ 1, 2 },
{ 3, 4 },
};
int main(void) {
return test[0].el1; // <- here
}
```
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/505#issuecomment-163013609
Select build or compile from the Build menu is broken after upgrading to V1.26.
Downgrading back to 1.24 fixes this.
Terry
Microsoft Windows [Version 6.1.7601]
_________________________________________________________________________
V1.26 BUILD AND COMPILE BROKEN
15:58:11: Geany INFO : Geany 1.26, English_United Kingdom.1252
15:58:11: Geany INFO : GTK 2.24.10, GLib 2.28.8
15:58:11: Geany INFO : System data dir: C:\Program Files\Geany\data
15:58:11: Geany INFO : User config dir: C:\Users\terry.EUCLID\AppData\Roaming\geany
15:58:11: Geany INFO : System plugin path: C:\Program Files\Geany\lib\geany
15:58:11: Geany INFO : Added filetype Clojure (61).
15:58:11: Geany INFO : Added filetype CUDA (62).
15:58:11: Geany INFO : Added filetype Cython (63).
15:58:11: Geany INFO : Added filetype Genie (64).
15:58:11: Geany INFO : Added filetype Graphviz (65).
15:58:11: Geany INFO : Added filetype JSON (66).
15:58:11: Geany INFO : Added filetype Scala (67).
15:58:11: Geany INFO : D:\projects\E2040\firmware\V1.0\com.c : C (UTF-8)
15:58:11: Geany INFO : Loaded C:\Program Files\Geany\data\c99.tags (C), 1619 tag(s).
15:58:11: Geany INFO : D:\projects\E2040\firmware\V1.0\calibrate.c : C (UTF-8)
15:58:14: Geany INFO : build command spawning failed: The system cannot find the file specified
15:58:16: Geany INFO : build command spawning failed: The directory name is invalid
_________________________________________________________________________
V1.24 BUILD AND COMPILE WORKING
15:59:30: Geany INFO : Geany 1.24, English_United Kingdom.1252
15:59:30: Geany INFO : GTK 2.16.6, GLib 2.20.5
15:59:30: Geany INFO : System data dir: C:\Program Files\Geany\data
15:59:30: Geany INFO : User config dir: C:\Users\terry.EUCLID\AppData\Roaming\geany
15:59:30: Geany INFO : System plugin path: C:\Program Files\Geany\lib
15:59:30: Geany INFO : Added filetype Clojure (58).
15:59:30: Geany INFO : Added filetype CUDA (59).
15:59:30: Geany INFO : Added filetype Cython (60).
15:59:30: Geany INFO : Added filetype Genie (61).
15:59:30: Geany INFO : Added filetype Go (62).
15:59:30: Geany INFO : Added filetype Graphviz (63).
15:59:30: Geany INFO : Added filetype Scala (64).
15:59:30: Geany INFO : D:\projects\E2040\firmware\V1.0\com.c : C (UTF-8)
15:59:30: Geany INFO : Loaded C:\Program Files\Geany\data\c99.tags (C), 1618 tag(s).
15:59:30: Geany INFO : D:\projects\E2040\firmware\V1.0\calibrate.c : C (UTF-8)
15:59:35: Geany INFO : WIN32: actually running command:
cmd.exe /S /C "run_splint "calibrate.c" >C:\Users\TERRY~1.EUC\AppData\Local\Temp\tmp_ODIE9X 2>C:\Users\TERRY~1.EUC\AppData\Local\Temp\tmp_PDIE9X"
15:59:37: Geany INFO : WIN32: actually running command:
cmd.exe /S /C "build.bat -c "calibrate.c" >C:\Users\TERRY~1.EUC\AppData\Local\Temp\tmp_J59D9X 2>C:\Users\TERRY~1.EUC\AppData\Local\Temp\tmp_K59D9X"
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/790
@b4n nice experiment. However, I still consider my proposal technically superior, because it's more efficient as you mentioned (no recursion at all, etc) and makes dependencies global, although the latter is less of a concern for G-P.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/277#issuecomment-161271541
>
> Should check with @techee <https://github.com/techee>, I think OSX has
> super old-timey Automake, though likely a newer version can be
> built/installed using one of the package managers available for OSX
>
The osx-integration uses jhbuild which builds automake 1.10 through 1.15 so
it shouldn't be an issue - but I haven't had time to try the patch here
yet.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/277#issuecomment-161126197