View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023928 | Lazarus | - | public | 2013-02-20 21:20 | 2020-12-05 14:16 |
Reporter | John Shand | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | new | Resolution | open | ||
Platform | linux x86_64 | OS | opensuse | ||
Product Version | 1.1 (SVN) | ||||
Summary | 0023928: Removing unneeded controls and lazarus automatically removes those required units for that or those controls | ||||
Description | I am just wondering if this feature could be added to lazarus. 1. you removed unneeded controls from your form (but units relating to those controls are left behind in the uses clause. 2. after removing those controls, lazarus should also remove those units required for the removed controls. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | |||||
Widgetset | GTK 2 | ||||
Attached Files |
|
related to | 0023045 | closed | Juha Manninen | registersqldb: Auto declare unit in uses |
|
Not fully automated, but: Menu > Source > Refactoring > Unused Units |
|
yeah, but if you don't know the units well and what requires them, then you have a problem. |
|
Say I drop a component on the form an then later on decide to create that control elsewhere in code and then remove the now not needed component from the form: now codetools must scan my entire code to see wether or noy I use that unit before removing it? Since no developer has shown an interest in this since 2013 and since no one supplied a patch impelemnting this, I would suggest to resolve this as "no change required" or "won't fix". |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-20 21:20 | John Shand | New Issue | |
2013-02-20 23:28 | Martin Friebe | Note Added: 0065789 | |
2013-02-21 06:49 | John Shand | Note Added: 0065792 | |
2013-04-29 09:42 | Juha Manninen | Relationship added | related to 0023045 |
2020-12-05 14:16 | Bart Broersma | Note Added: 0127357 |