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?
Text files in the IDE
Re: Text files in the IDE
http://www.purebasic.fr/english/viewtop ... 18&t=27804freak wrote:The PureBasic editor is only intended for editing PureBasic sourcecode, not other files.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Text files in the IDE
that answer was about a problem that the IDE adds editor window prefs to the code like
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.
Code: Select all
; IDE Options = PureBasic v4.02 (Windows - x86)
; CursorPosition = 13
; Folding = -
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.
Re: Text files in the IDE
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?