Project: appceleratorstudio
Issue TISTUD-2422: Node.ACS Method: 'new method' overwrites dirty js file without prompt
If a node.acs project has a dirty main js file, and New > Node.ACS Method is called, there is no save prompt and any changes are overwritten and auto-saved. Steps to Reproduce: 1. Create Node.ACS Project. 2. Edit main .js file and add a few lines of code without saving. 3. Right click on project > New > Node.ACS Method to create method (set name, press ok). Actual Result: New method is added to js file without save prompt, previous user edits are overwritten. Expected Result: Save prompt, then add method to js file (or cancel).
Story points: 5