CDT DELETES #include with ctrl-shift-O [message #1850017] |
Fri, 11 February 2022 02:18 |
Eclipse User |
|
|
|
If I insert a piece o code like
int fd = open("pizza", O_RDONLY);
and insert the needed #include <fcntl.h>,
pressing ctrl+shit+O, will DELETE the already present #include <fcntl.h>
Once deleted (!!), pressing again ctrl+shit+O, will NOT insert it ....
NOR will insert the #include <sys/stat.h> , #include <sys/types.h>....
Is it a bug?
Shouldn't the shortcut check and insert the needed #include comparing the functions used in the program ?
BR
Giuliano
Eclipse 21-09 (Ubuntu) + CDT 10,4
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
|
|
|
Powered by
FUDForum. Page generated in 0.04490 seconds