Community
Participate
Working Groups
1. create new c++ project 2. create file test.h with content: /* * header comment */ #pragma once void t() { printf("tst"); } 3. Move cursor to function printf and choose source\add Include. include line will be added at first line, before #pragma once directive and befor file header comment. -- Configuration Details -- Product: Eclipse 1.4.0.20110319-2300 (org.eclipse.epp.package.cpp.product) Installed Features: org.eclipse.platform 3.7.0.r20110302-9gF7SHCIFt6ms-lIjrC6vK_XO-IabJMKu
This is working fine for me with CDT 8.8.1. The include line is added after the #pragma once.
Closing per comment 1. Feel free to reopen if you're still seeing this.