Page 1 of 1

Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 4:52 pm
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

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 6:32 pm
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

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 6:41 pm
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.

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 6:58 pm
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

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 7:14 pm
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

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 7:29 pm
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)

Re: Codelite - Remove file changes?

Posted: Wed Jan 18, 2017 8:09 pm
by ColinTaylor
OK - thanks for the explanations 8-)