mP v.7.0.1 - Last open files are not open

General discussion on mikroPascal PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
VCC
Posts: 463
Joined: 08 Jun 2009 18:31
Location: Romania

mP v.7.0.1 - Last open files are not open

#1 Post by VCC » 26 Oct 2017 11:20

Main post: viewtopic.php?f=106&t=71100
mikroPascal PRO for dsPIC v.7.0.1

The last open files are ignored, although the OPENED_FILES section in project file has the proper content and the "Restore All Opened Files" checkbox is checked (Options.Editor Settings window). I can confirm that this setting is properly saved and loaded to/from mikroPascal's settings.ini file (CheckBox3 key from frmOptions2 section in settings.ini). The option, simply has no effect on the loaded files. The only file which is reloaded on IDE start-up is the main file of the project, although the other file are present in the Project Manager window. This happens both for VTFT and non-VTFT projects.
On previous versions, the project was modified on closing either the IDE altogether, or simply the project itself. Now, many files are mentioned in project's file OPENED_FILES (.mpas, .lst etc), but that list is not updated on close and is ignored on loading.

How to reproduce:
1. Create a new project (either VTFT or non-VTFT project)
2. Save all unsaved files (main mpas file and the project file)
3. Create 2-3 new files to project from File -> New -> Add New File. No need to add content to them.
4. Save the new files and save the project again. The files should already be open in the editor and also present under Sources folder in Project Manager. They are also mentioned in the project's file OPENED_FILES section as expected.
5. Close mikroPascal and re-open it. The only file, which is loaded into editor is the main mpas file.

User avatar
lana.arsic
mikroElektronika team
Posts: 1715
Joined: 15 Jan 2016 12:50

Re: mP v.7.0.1 - Last open files are not open

#2 Post by lana.arsic » 27 Oct 2017 16:57

Hi,

I have answered you here:

viewtopic.php?f=106&t=71100&p=286940#p286940

Kind regards,
Lana

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”