Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » proc files and Eclipse 2020-03
proc files and Eclipse 2020-03 [message #1824245] Fri, 10 April 2020 15:32 Go to next message
Jeff Lake is currently offline Jeff LakeFriend
Messages: 3
Registered: April 2020
Junior Member
Hello,

I use "Eclipse IDE for C/C++ Developers Version: 2020-03 (4.15.0)".
My C++ projet contains proc (*.pc) files.
"Open Declaration" doesn't work in *.pc files (it isn't visible in menu).
As it works in C++ files, I have declared a file association *.pc with C/C++ Editor, without success.

I have seen : https://github.com/buntatsu/cdt-proc but it 's for Eclipse CDT whereas I use the 2020-03 version

What can I do to "Open Declaration" works with *.pc files ?

Thank for your help.
Re: proc files and Eclipse 2020-03 [message #1824275 is a reply to message #1824245] Sun, 12 April 2020 08:29 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Not sure what Open Declaration looks for and don't have time to experiment just now.

You may have to add *.pc to the Content Type for C++.
Window --> Preferences --> Content Types --> C++ Source File or
Window --> Preferences --> Content Types --> C++ Header File

Re: proc files and Eclipse 2020-03 [message #1824350 is a reply to message #1824275] Tue, 14 April 2020 08:46 Go to previous message
Jeff Lake is currently offline Jeff LakeFriend
Messages: 3
Registered: April 2020
Junior Member
Hello,

Thank you very very much !
You are right, it works :-)

Have a very good day.
Previous Topic:Indexing Synchronized C++ Projects (PTP)
Next Topic:View Build Output Parser Results
Goto Forum:
  


Current Time: Sun Sep 08 00:02:18 GMT 2024

Powered by FUDForum. Page generated in 0.04409 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top