[oXygen-user] Why doesn't Oxygen "learn" the meaning of file extensions?
George Bina
george at oxygenxml.com
Wed Mar 10 14:08:07 CST 2021
Dear Roger,
In this particular situation Oxygen offers in that dialog that asks you
what editor should be used to open the ".h" file an option that says:
[ ] Associate file type with editor
If you want to always open ".h" files with the C editor, just enable the
checkbox and this will automatically add an entry in
Options->Preferences -- File Types that will associate for the ".h"
extension the C editor.
We considered this to cover the use case you mentioned, and if somebody
does not want to enable this checkbox then maybe they want to have the
option to select another editor next time a ".h" file is opened.
You may also go to the "File types" preferences page and associate there
extensions with specific editors.
There are some cases when we apply the idea of learning, for example if
you open a file without any schema, then Oxygen will automatically infer
the document structure from the current file and it will offer content
completion based on that.
Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 3/10/21 7:59 PM, Roger L Costello wrote:
> Hi Folks,
>
> I am using Oxygen to create C programs. I drag and drop a .c file into Oxygen and Oxygen recognizes that it should use its C editor to open the file. I drag and drop a .h file into Oxygen and Oxygen asks me what kind of file it is. I can drag and drop the .h file into Oxygen a hundred times and Oxygen will always ask me what kind of file it is, and I always tell Oxygen the same thing. Why can't Oxygen learn? After some number of times telling Oxygen to use the C editor, Oxygen should assume that the .h file should be opened using the C editor.
>
> Well, that is on my wish list for Oxygen.
>
> /Roger
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list