Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » hpp files open in external editor
hpp files open in external editor [message #160815] Tue, 20 December 2005 19:05 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.dharty.com

When ever an error or search result occurs in a .hpp file, double
clicking on the item opens up the file in my external editor (textpad).

Double clicking the same file from the projects tab opens it up in the
Eclipse C++ editor.

In Window->Preferences->General->Editors->File Associations it has two
associated editors:

C/C++ Editor (default) (locked by 'C++ Header File' content type)
Text Editor (locked by 'C++ Header File' content type)


In Window->Preferences->C/C+->File Types, *.hpp is described as a c++
header file who's status is "locked"

I tried making the Text Editor the default, but double clicking errors
still opens up the file in the external editor. This only happens for
..hpp files, not .c, .h, .cc, or .cpp files. I haven;t tried the rest.
Re: hpp files open in external editor [message #160847 is a reply to message #160815] Wed, 21 December 2005 06:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Serge.Iovleff.univ-lille1.fr

David H a écrit :
> When ever an error or search result occurs in a .hpp file, double
> clicking on the item opens up the file in my external editor (textpad).
>
> Double clicking the same file from the projects tab opens it up in the
> Eclipse C++ editor.
>
> In Window->Preferences->General->Editors->File Associations it has two
> associated editors:
>
> C/C++ Editor (default) (locked by 'C++ Header File' content type)
> Text Editor (locked by 'C++ Header File' content type)
>
>
> In Window->Preferences->C/C+->File Types, *.hpp is described as a c++
> header file who's status is "locked"
>
> I tried making the Text Editor the default, but double clicking errors
> still opens up the file in the external editor. This only happens for
> .hpp files, not .c, .h, .cc, or .cpp files. I haven;t tried the rest.
>
>

Click Right button on your .hpp file, select open with in the list :
it should propose C/C++ editor.

Serge
Re: hpp files open in external editor [message #160960 is a reply to message #160847] Thu, 22 December 2005 15:16 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.dharty.com

thanks, that did the trick, it was set to system editor.

Serge wrote:
> David H a écrit :
>
>> When ever an error or search result occurs in a .hpp file, double
>> clicking on the item opens up the file in my external editor (textpad).
>>
>> Double clicking the same file from the projects tab opens it up in the
>> Eclipse C++ editor.
>>
>> In Window->Preferences->General->Editors->File Associations it has two
>> associated editors:
>>
>> C/C++ Editor (default) (locked by 'C++ Header File' content type)
>> Text Editor (locked by 'C++ Header File' content type)
>>
>>
>> In Window->Preferences->C/C+->File Types, *.hpp is described as a c++
>> header file who's status is "locked"
>>
>> I tried making the Text Editor the default, but double clicking errors
>> still opens up the file in the external editor. This only happens for
>> .hpp files, not .c, .h, .cc, or .cpp files. I haven;t tried the rest.
>>
>>
>
> Click Right button on your .hpp file, select open with in the list :
> it should propose C/C++ editor.
>
> Serge
Previous Topic:MBS and definedSymbols
Next Topic:compile with -gdwarf-2
Goto Forum:
  


Current Time: Sun Jul 27 08:10:04 EDT 2025

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

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

Back to the top