User forums > Nightly builds
The 27 February 2010 build (6181) is out.
stahta01:
--- Quote from: critic on April 15, 2010, 02:10:03 pm ---Please, note that: sometimes at development process I add global variables or change them and when I close `global variables` dialog I expect they will be saved at that moment, but they don't. I think this example shows that behaviour of IDE in such situations is strange.
--- End quote ---
Note, never had the above behavior; but, had a behavior close to it.
Add a new global variables set; add entries to it.
Close the global variables window. Instead of using the new set it was using the old set of global variables.
After creating a new set of global variables, I must always remember to exit the window and then go back in and select the new global variables set.
Tim S.
critic:
May be my post is not clear (my english is poor) - I mean that global variables work fine (after I add new set it is applied by IDE after closing global variables dialog), but they are not saved to file system (save to prevent losing of made changes while IDE crash).
Another way - IDE can save these all setting to temporary files and when IDE crashes config is not lost, but at the next IDE startup it diagnoses that the crash happened and suggests to restore settings from temporary files (if data restored successfully - temporary files must be deleted). If settings are not changed after IDE startup temporary files mustn't exist - they must be created when user modifies IDE config.
The same can be applied to projects.
As for multiple instances of IDE - when settings of one of the running IDEs were saved the others must new settings (by supplying a question dialog box) to prevent overwriting.
I think it's normal and useful. It's a bit like in version control systems.
critic:
:oops: Excuse me for critics about Ctrl+Tab feature - it's my fault - I changed hot key from Ctrl+Tab to Alt+Left and Alt+Right and forgot about this.
nanyu:
--- Quote from: critic on April 16, 2010, 06:56:06 am ---May be my post is not clear (my english is poor) - I mean that global variables work fine (after I add new set it is applied by IDE after closing global variables dialog), but they are not saved to file system (save to prevent losing of made changes while IDE crash).
Another way - IDE can save these all setting to temporary files and when IDE crashes config is not lost, but at the next IDE startup it diagnoses that the crash happened and suggests to restore settings from temporary files (if data restored successfully - temporary files must be deleted). If settings are not changed after IDE startup temporary files mustn't exist - they must be created when user modifies IDE config.
The same can be applied to projects.
As for multiple instances of IDE - when settings of one of the running IDEs were saved the others must new settings (by supplying a question dialog box) to prevent overwriting.
I think it's normal and useful. It's a bit like in version control systems.
--- End quote ---
Can we just add a "Save" button on such dialogs ? or "Save all tabs setting" and "Save current tab setting"?
(after do save all...pls disable the "Cancel" button)?
nanyu:
when talk about the “Global variables" setting. There is a situation make me crazy...
1. add 20 global variables(gv) items to the gv setting which named "default".
2. clone the default setting to "setting2"
3. add some new gv items to setting2, such as : wx26
4. open a workspace with 10 projects. (I'll say this workspace as "Workspace1").
5. set the each project use the "wx26" gv item. (such as : add wx26 to prj's search pathes)
6. everything OK now. save everything..
7. close the workspace (close everything)
8. switch global variable setting to "default"
9. open another existsd project which use the "default" setting.
10. close c::b after close current project.
11. restart c::b
12. open the "Workspace1" (I forget to switch gv setting to "setting2")
13. now, I have to been ask the "no found wx26 gv.." at least 10 times.
the gv setting dialog will show at least 10 time.
I have do 2 test:
test1 : every time I switch the to the setting2, but everytime c::b switch it back to default ...
test2 : I create the "wx26" item and add to "default" setting...but c::b ask me next project also.
============
windows xp. c::b svn 6181
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version