﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4854	Feature request: delete folder related with package deletion	Christian Kral <dr.christian.kral@…>	Adeel Asghar	"If a package is deleted in OpenModelica, the underlying {{{package.mo}}} is renamed to {{{package.bak-mo}}}. This is certainly in line with the Modelica specification, since reloading a library then omits re-loading the previously deleted package.

When working with Git or Subversion, a deleted package may result in some leftover files with the extensions {{{mo}}} and {{{order}}}. When committing a library from which a package was deleted, the leftover files are not automatically excluded from the commit. If the leftover files oder the affected directory are not manually deleted, there may appear unmaintained code in the repository. 

It were helpful to provide the following feature in OpenModelica, when a library is stored as folders and files: When deleting a package from a library (right click, select ""Delete"") then following dialog appears (in the current version of OpenModelica): 

{{{
Are you sure you want to delete PACKAGENAME? 
Everything contained inside this class will also be deleted.
}}}

The button options are then {{{No}}} and {{{Yes}}}. It were good to have the additional option {{{Yes, delete dirctory}}}, to autoamtically delete the underlying directory. This would definitely simplify the maintenance of Modelica code in Git and Subversion repositories.   "	enhancement	closed	high	1.14.0	OMEdit		fixed		
