Codelite - Remove file changes?

General questions regarding the usage of CodeLite
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Codelite - Remove file changes?

Post by ColinTaylor »

Codelite 10.0 / Windows 10

In the IDE, in the panel (looks a bit like a wxTreeCtrl and has tab name "Workspace") that lists projects and files.
Appears as though the "Right Click -> Remove" behaviour has changed a bit, uncertain if it was an intentional change.

Earlier Codelite versions
"Right Click -> Remove" for single files and multiple files used to ask 2 questions
1. Remove from project, with Yes/No answers
2. Remove from disk, with Yes/No answers
In other words you could remove a file(s) from a project whilst leaving it(them) on disk

Codelite 10
"Right Click -> Remove" for a single file asks 1 question
1. Remove with Yes/No answers
Answering Yes removes the file both from the project and from disk

"Right Click -> Remove" for multiple files works in the "2 questions" manner that codelite used to use for single files - its behaviour appears not to have changed

Is this all working as intended?

Cheers, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by eranif »

I just tested this and it does not work as you described.
I see 2 questions here for a single file (the first question asks about removal and second about deleting it from the disc)

Eran
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by ColinTaylor »

That's very odd - I've just retested it and it definitely does work as I described! Definitely seeing only one question for a single file.
Thanks for looking into it.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by eranif »

The explanation I can think of: you hit the "Remember my answer and don't ask me again"
Try clearing this from:
settings->preferences->misc->history->reset annoying dialogs answers
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by ColinTaylor »

Thanks - that is the explanation for single files

For multiple file removal, I hit "Remember my answer and don't ask me again" but Codelite isn't remembering my answer and asks every time

Cheers, Colin
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by eranif »

This is intended for multiple files.
The "Don't ask me again" only affects the current session (i.e. for the current removal, so CodeLite will not ask you per file)
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite - Remove file changes?

Post by ColinTaylor »

OK - thanks for the explanations 8-)
Post Reply