It is currently Sun May 26, 2013 8:32 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Editor option settings also saved in CSV-file
PostPosted: Wed Mar 21, 2012 7:19 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 03, 2011 5:54 pm
Posts: 253
Hi,

i have configured my PB IDE to save the editor option settings at the end of the file. Today i edited a CSV-file with PB which works fine, but after saving the changes to file, i noticed that the option settings were also attached to the end of the file. In my case, the data file was partially destroyed. From my point of view it would make sense to save these settings to PB owned files (*.pb) only. What do you think?

Best regards
Uwe

_________________
Purebasic 5.11 | Fedora 18 (32-bit)


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Wed Mar 21, 2012 10:07 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1388
Location: Boston, MA
See: Preferences - Editor - Save Settings to: :wink:

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Wed Mar 21, 2012 10:15 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 03, 2011 5:54 pm
Posts: 253
Yes, i know. I want the settings to be saved to the end of all *.pb files, but not any other. I think it does not make too much sense to store information like
Code:
; IDE Options = PureBasic 4.61 Beta 1 (Linux - x64)
; EnableThread
; EnableXP
in any other file than a *.pb file ;-)

_________________
Purebasic 5.11 | Fedora 18 (32-bit)


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Thu Mar 22, 2012 12:23 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1575
Location: Berlin, Germany
The PureBasic IDE is for .pb files, it's not a general purpose text editor.
For CSV files, better use e.g. Notepad++ or another text editor.

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Thu Mar 22, 2012 12:53 am 
Offline
Enthusiast
Enthusiast

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 794
I use Notepad++ also, and sometimes Programmers Notepad depending on the feature I need...

But if PB's IDE had a plain text mode (or better, additional languages that are common to PB users), then other editors could be avoided.


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Thu Mar 22, 2012 7:21 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Dec 03, 2011 5:54 pm
Posts: 253
I do not use another editor. Recently i loaded an XML file into PB's IDE and was really impressed about the very nice synthax highlighting. It's just bad that the file gets attached these additional option lines when saving, so it is not conform anymore with the XML standard.

_________________
Purebasic 5.11 | Fedora 18 (32-bit)


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Fri Mar 23, 2012 2:45 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1575
Location: Berlin, Germany
Tenaja wrote:
But if PB's IDE had a plain text mode (or better, additional languages that are common to PB users), then other editors could be avoided.

Not generally. Actually, that would apply only to a small number of people.
People who use some advanced features of e.g. Notepad++ can't "avoid" that program and use the PB IDE instead, until those fatures are implemented in the IDE. The same applies to PSPad, UltraEdit, and and, and ... In other words, a plain text mode in the PB IDE would only serve the needs of people who don't have high demands for a text editor. All other people will need an additional good general purpose editor anyway. Actually, even if you want to search correctly for "whole words only" in PureBasic source code, you need an additional editor, since the PB IDE (e.g. versions 4.50, 4.60) is not capable of doing so. :evil:

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Fri Mar 23, 2012 3:23 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 794
Little John wrote:
Not generally. Actually, that would apply only to a small number of people.


While I am a heavy Notepad++ user, I could avoid it about 60 to 70% of the time if PB's IDE could do plain text (the capitalization ruins a LOT of text), an additional 20-25% if you could view two panes at a time, and a full 95% of the time if you could also add custom language styling. Add selected-word highlight, and I could probably skip npp all together.

On the other hand, I know plain text support could be implemented with very little coding time, and I would greatly appreciate it. However, before they spent a full day implementing new IDE features, I'd much rather they spent that time making the output code more efficient.


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Fri Mar 23, 2012 3:38 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1575
Location: Berlin, Germany
Tenaja wrote:
While I am a heavy Notepad++ user, I could avoid it about 60 to 70% of the time if PB's IDE could do plain text (the capitalization ruins a LOT of text), an additional 20-25% if you could view two panes at a time, and a full 95% of the time if you could also add custom language styling. Add selected-word highlight, and I could probably skip npp all together.

This is just your personal choice. Other Notepad++ users probably think similarly, but in respect to their most frequently used features of Notepad++. As I wrote, the same applies to PSPad, UltraEdit, and dozens of other editor and their users ... So yes, if all features of all editors were implemented in the PB IDE, all other editors could be "avoided". :)

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Fri Mar 23, 2012 4:00 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 1388
Location: Boston, MA
NotePad++ and the PB IDE use the Scintilla library. But many of the features of NotePad++ are extended by a plug-in system. If PB IDE enables some sort of automation or plug-in system..., then I would implement the features I need in the IDE.

_________________
To understand recursion, you must first understand recursion. ~ unknown
I never make stupid mistakes. Only very, very clever ones. ~ John Peel


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Fri Mar 23, 2012 4:09 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1575
Location: Berlin, Germany
skywalk wrote:
If PB IDE enables some sort of automation or plug-in system...,

AFAIR freak had announced something like that, but did not yet have enough time to implement it.

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Mon Apr 09, 2012 1:44 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1462
Tenaja wrote:
if PB's IDE could do plain text (the capitalization ruins a LOT of text)

PB's IDE can do plain text without capitalization. It's in the Preferences.

_________________
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Mon Apr 09, 2012 7:50 pm 
Offline
Enthusiast
Enthusiast

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 794
MachineCode wrote:
Tenaja wrote:
if PB's IDE could do plain text (the capitalization ruins a LOT of text)

PB's IDE can do plain text without capitalization. It's in the Preferences.


Sure, but I am not about to change the preferences every time I switch tabs from a .pb file to a .txt file!


Top
 Profile  
 
 Post subject: Re: Editor option settings also saved in CSV-file
PostPosted: Sat Jun 23, 2012 8:22 pm 
Offline
Addict
Addict

Joined: Sun Dec 12, 2010 12:36 am
Posts: 1285
Location: Waterloo, WI - USA
I think this really is a no brainer.

Irrelevant of the fact that the IDE is not a general purpose editor, it seems to me to be common for people to open up other file types related to a project they are working on, and the IDE should be respecting the data structure of those other file types regardless.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye