|Anonymous | Login||2021-10-21 18:13 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000175||OMNeT++||IDE / INI editor||public||2010-06-24 11:14||2011-05-24 12:54|
|Target Version||4.2||Fixed in Version|
|Summary||0000175: Error markers in included ini files|
|Description||When I open an ini file that was meant to be included in other ini file(s), the editor may flag it with errors, which is confusing. The main annoyance is that every time I want to launch the simulation, the IDE will say "Error exist in project X, continue?"|
The included inifile should somehow be validated as part of a "main" inifile, not by itself.
|Steps To Reproduce||Enter the following two ini files, and open sub.ini:|
extends=Base <-- Error, because the editor doesn't know this file will be used as part of main.ini
|Tags||No tags attached.|
option 1: Add the possibility to explicitly annotate the ini file with the name of the "main" ini file to be used as validation root, e.g. as
(1) user has to enter this line explicitly (but: editor could offer inserting it)
(2) this line may become obsolete (but: line could be annotated with message: "referenced files does not exist" or "does not include this file")
(3) there may be several files this file is included into (and user wants validation as each of them as root); option to specify more than one file on the line?
option 2: Automatically validate the file as part of every "main" ini file that includes it (i.e. inifile that does not get included anywhere).
issues: it cannot be automatically detected which inifiles are "main" files, as an inifile may be used as "main" inifile in one simulation, and as "included" inifile in another.
|In 4.2b3, markers are removed from the ini files when you close the editor. This should largely alleviate the problem.|
|2010-06-24 11:14||andras||New Issue|
|2010-06-24 11:58||andras||Note Added: 0000319|
|2010-06-24 13:52||andras||Target Version||=> 4.2|
|2011-05-24 12:54||andras||Note Added: 0000456|
|2011-05-24 12:54||andras||Status||new => postponed|
|2011-05-24 12:54||andras||Resolution||open => suspended|
|Copyright © 2000 - 2021 MantisBT Team|