maqetta/maqetta — Issue #1192: Open As
Author: JonFerraiolo
Created: 2011-11-09 15:28:26+00:00
State: open
Labels: Files View

RIght now if you double-click on a file, we look at file type and open the appropriate editor. For example, double-click on *.html and you get the visual editor, double-click on *.svg and you get text edtior. However, sometimes our choices don't match what user wants to do. For example, maybe the user is editing a Dojo template, in which case he will want to open the *.html file is the text editor instead of the visual editor. Similarly, a user might want to view the visual result of the SVG instead of opening the text editor. (Actually, need to log a bug that *.svg files should show visual content instead of source by default - done: #1191)

One way to address this would be to add an Open As feature to the product. It wouldn't be too hard to add an Open As command to context menu on Files palette, but there are lots of UI questions: should we add a "file type" option to the Open dialog? Should we put additional icons or dropdowns on Files palette that include Open As?