Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
Running "Unused Units" on all units in the project?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Here's how to show colour...
by
Boleeman
[
Today
at 03:52:59 am]
Transparent Form: Done di...
by
Boleeman
[
Today
at 03:09:13 am]
Lazarus for Windows on aa...
by
msintle
[
Today
at 02:29:50 am]
Fast Canvas Library V1.05...
by
Gigatron
[
Today
at 02:25:35 am]
Can we wallgarden this, p...
by
Gustavo 'Gus' Carreno
[
Today
at 01:37:28 am]
Status of FPC 3.4.0 or FP...
by
Martin_fr
[
Today
at 01:03:54 am]
it2play - IT/S3M module r...
by
hukka
[
Today
at 01:02:01 am]
Debian removes FPC/Lazaru...
by
dbannon
[
Today
at 12:57:16 am]
Rolling releases Lazarus[...
by
dbannon
[
Today
at 12:44:27 am]
GridPrinter requirements ...
by
sfeinst
[
Today
at 12:39:07 am]
Lazarus programs look ugl...
by
the_magik_mushroom
[February 07, 2026, 11:54:12 pm]
LCL Web Native with D2Bri...
by
xinyiman
[February 07, 2026, 10:43:41 pm]
Recommendations for wasm3...
by
PascalDragon
[February 07, 2026, 10:38:15 pm]
Migrating SK1 Project to ...
by
jamie
[February 07, 2026, 09:13:45 pm]
[SOLVED] The main screen ...
by
Hansvb
[February 07, 2026, 06:50:52 pm]
[SOLVED] Don't find the U...
by
Hartmut
[February 07, 2026, 05:23:36 pm]
[Closed]FPC error when us...
by
marcov
[February 07, 2026, 04:19:50 pm]
Sidmon Player Library
by
Gigatron
[February 07, 2026, 02:56:58 pm]
Lazaris IDE v4.4 - extrem...
by
backprop
[February 07, 2026, 02:16:58 pm]
Who is absent from year 2...
by
backprop
[February 07, 2026, 01:52:41 pm]
[RESOLVED] Log in to web ...
by
rvk
[February 07, 2026, 01:26:35 pm]
Help with diabetes projec...
by
slicke
[February 07, 2026, 12:13:28 pm]
FPC and Lazarus coding st...
by
Martin_fr
[February 07, 2026, 09:21:46 am]
Free Pascal for a small e...
by
cdbc
[February 07, 2026, 07:06:42 am]
FPCUnit returns 2 error l...
by
n7800
[February 07, 2026, 02:43:55 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Running "Unused Units" on all units in the project? (Read 820 times)
Eugene Loza
Hero Member
Posts: 729
Running "Unused Units" on all units in the project?
«
on:
November 24, 2023, 02:24:30 pm »
I wonder if there is a way to run "Source -> Refactoring -> Unused Units" tool on all units of the project? Or maybe run it from command line? ("Notes" don't seem to catch all unused units, unfortunately)
It's extremely convenient thing to clean up things that are no longer in use but I have over 200 units in my project and while it's ok to do this once, this will not work for "supporting the project in a clean state" in future.
Oh, I guess I've posted in the wrong board, should be here more likely:
https://forum.lazarus.freepascal.org/index.php/board,9.0.html
«
Last Edit: November 24, 2023, 02:27:57 pm by Eugene Loza
»
Logged
My FOSS games in FreePascal&CastleGameEngine:
https://decoherence.itch.io/
(Sources:
https://gitlab.com/EugeneLoza
)
jamie
Hero Member
Posts: 7516
Re: Running "Unused Units" on all units in the project?
«
Reply #1 on:
November 24, 2023, 09:45:34 pm »
Are these dotted units by any chance that are not being removed?
I've never used that feature, but I would say that it may not get used that much and may have gone unnoticed.
I think would need to be careful with such a feature.
Logged
The only true wisdom is knowing you know nothing
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
Running "Unused Units" on all units in the project?
TinyPortal
© 2005-2018