Editor option settings also saved in CSV-file
Editor option settings also saved in CSV-file
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
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
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Re: Editor option settings also saved in CSV-file
See: Preferences - Editor - Save Settings to: 

The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Editor option settings also saved in CSV-file
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
in any other file than a *.pb file 
Code: Select all
; IDE Options = PureBasic 4.61 Beta 1 (Linux - x64)
; EnableThread
; EnableXP

PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Editor option settings also saved in CSV-file
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.
For CSV files, better use e.g. Notepad++ or another text editor.
Re: Editor option settings also saved in CSV-file
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.
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.
Re: Editor option settings also saved in CSV-file
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.
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Editor option settings also saved in CSV-file
Not generally. Actually, that would apply only to a small number of people.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.
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.

Re: Editor option settings also saved in CSV-file
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.Little John wrote: Not generally. Actually, that would apply only to a small number of people.
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.
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Editor option settings also saved in CSV-file
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".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.

Re: Editor option settings also saved in CSV-file
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.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
-
- Addict
- Posts: 4789
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Editor option settings also saved in CSV-file
AFAIR freak had announced something like that, but did not yet have enough time to implement it.skywalk wrote:If PB IDE enables some sort of automation or plug-in system...,
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Editor option settings also saved in CSV-file
PB's IDE can do plain text without capitalization. It's in the Preferences.Tenaja wrote:if PB's IDE could do plain text (the capitalization ruins a LOT of text)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: Editor option settings also saved in CSV-file
Sure, but I am not about to change the preferences every time I switch tabs from a .pb file to a .txt file!MachineCode wrote:PB's IDE can do plain text without capitalization. It's in the Preferences.Tenaja wrote:if PB's IDE could do plain text (the capitalization ruins a LOT of text)
-
- Addict
- Posts: 1676
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: Editor option settings also saved in CSV-file
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.
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.