saniljhaveri / avr-project-ide

Automatically exported from code.google.com/p/avr-project-ide
0 stars 0 forks source link

cpp file contents deleted after: tab close, save all, close app, open app #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. New project 
2. add pde 
3. add cpp file using wizard with name: 'ML_Test' / any template
4. save all
5. close ML_Test.cpp tab
6. save all
7. close app
8. open app

What is the expected output? What do you see instead?
ML_Test.cpp doesn't contain the template code

What version of the product are you using? On what operating system?
Version 1.97.3892.41102
WIN XP SP3

Please provide any additional information below.
The issue is connected with the file naming - filename containing an underscore 
causes the contents to be deleted

Original issue reported on code.google.com by ewartmou...@gmail.com on 28 Sep 2010 at 10:24

GoogleCodeExporter commented 8 years ago
i can't reproduce this issue and i can't think of anything that might cause the 
issue.

however i discovered a bug where if you change the file extension before typing 
in a file name, the file extension changes back to what it was before. this 
will be fixed in version 98.

maybe the file extension bug caused some confusion as to what file contained 
what content?

Original comment by frank.zhao.main@gmail.com on 29 Sep 2010 at 1:09

GoogleCodeExporter commented 8 years ago

I've rechecked and can confirm I can reproduce the behaviour on my system using 
the following steps:

1. New Wizard button
2. All fields left default 
3. Create
4. Name: default, File Extension: pde, Creation Template: initialpde
5. Create
6. Rt click project in tree > 'Add File using wizard'
7. File Name: 'ML_Test'      Note: issue doesn't occur without underscore 
character. I don't provide an extension in this field
8. File Extension: cpp, Creation Template: defaultcode
9. Create
10. Save All
11. Close 'ML_Test' tab only        Note: issue doesn't occur without closing 
tab and resaving
12. Save All       
13. Close IDE
13. Reopen IDE. content of ML_Test is missing, pde file content is ok

If you still can't reporduce then I guess it could be something in my 
environment. 
System info below.

BTW it looks like a nice IDE and uploaded to my Mega first time without any 
issues - something that took me a few hours to achieve in Eclipse.

Microsoft Windows XP Professional  
Version: 5.1.2600  
Service Pack: 3.0  
Location: C:\WINDOWS 
Hot Fix: KB982802 

AVRProjectIDE
Version 1.97.3892.41102
Version Date: August 28 2010
Copyright © Circle of Current 2009
Company: Circle of Current
Description: An IDE for AVR projects by Frank Zhao.
----------
Default Arduino Core Path: C:\Program 
Files\arduino-0019\hardware\arduino\cores\arduino
Arduino Library Path: C:\Program Files\arduino-0019\libraries
AppData Path: C:\Documents and Settings\Admin\Application Data\AVRProjectIDE\
AppInstall Path: C:\Program Files\AVRProjectIDE\
----------
Assembly: AVRProjectIDE, Version=1.97.3892.41102, Culture=neutral, 
PublicKeyToken=null
File: C:\Program Files\AVRProjectIDE\AVRProjectIDE.exe
-----------
Assembly: ScintillaNet, Version=2.0.3575.33829, Culture=neutral, 
PublicKeyToken=948d6c9751444115
File: C:\Program Files\AVRProjectIDE\ScintillaNet.dll
-----------
Assembly: WeifenLuo.WinFormsUI.Docking, Version=2.3.1.24483, Culture=neutral, 
PublicKeyToken=null
File: C:\Program Files\AVRProjectIDE\WeifenLuo.WinFormsUI.Docking.dll
-----------
Assembly: LibUsbDotNet, Version=2.2.5.61, Culture=neutral, PublicKeyToken=null
File: C:\Program Files\AVRProjectIDE\LibUsbDotNet.dll
-----------
Assembly: mscorlib, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089
File: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
-----------
Assembly: System.Windows.Forms, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089
File: 
C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\Syst
em.Windows.Forms.dll
-----------
Assembly: System, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089
File: C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
-----------
Assembly: System.Drawing, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a
File: 
C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Dra
wing.dll
-----------
Assembly: System.Configuration, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a
File: 
C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\Syst
em.Configuration.dll
-----------
Assembly: System.Xml, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089
File: 
C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
-----------
Assembly: System.Web, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a
File: 
C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll
-----------
Assembly: System.Core, Version=3.5.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089
File: 
C:\WINDOWS\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.d
ll
-----------

Original comment by ewartmou...@gmail.com on 29 Sep 2010 at 5:33

GoogleCodeExporter commented 8 years ago
I think i found the problem, will fix tonight

New version is waiting on a few things

Original comment by frank.zhao.main@gmail.com on 29 Sep 2010 at 11:46

GoogleCodeExporter commented 8 years ago
fixed, lower-cased look-up in editor_EditorClosed

Original comment by frank.zhao.main@gmail.com on 29 Sep 2010 at 6:58