Text files in the IDE

Working on new editor enhancements?
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Text files in the IDE

Post by Foz »

Double click in the IDE explorer on a text file. Note that it pops up a file viewer form.
Double click in the IDE project explorer on the same text file (assuming that it has been added to a project). Note that it is now an editable file within the IDE.

I'm assuming that it is viewing text files so then it stops idiots from attempting to compile plain text. I'll take my chances with that - is there a way to always get those text files to be editable all the time or should it be a feature request?
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: Text files in the IDE

Post by Mistrel »

freak wrote:The PureBasic editor is only intended for editing PureBasic sourcecode, not other files.
http://www.purebasic.fr/english/viewtop ... 18&t=27804
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Re: Text files in the IDE

Post by Kaeru Gaman »

that answer was about a problem that the IDE adds editor window prefs to the code like

Code: Select all

; IDE Options = PureBasic v4.02 (Windows - x86)
; CursorPosition = 13
; Folding = -
he also showed how to switch that off.

maybe some "visible" flag for this options would be nice, so they are only updated when existent...?

... I think there is no reason not to edit preferences and other files for your project in the file editor window.
oh... and have a nice day.
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: Text files in the IDE

Post by Foz »

I already have that switched to separate .cfg files, so that's covered. If the separate window has to be the case, I don't mind it, but I would like it to be editable - perhaps a preference to load a text editor of your choice would be an alternative?
Post Reply