diff --git a/.gitignore b/.gitignore index 7893291..959d75d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ /wide.exe /wide +/main /data/workspace/bin/ /data/workspace/pkg/ diff --git a/static/js/wide.js b/static/js/wide.js index 165d9cb..25c70d2 100644 --- a/static/js/wide.js +++ b/static/js/wide.js @@ -432,6 +432,8 @@ var wide = { if ($(".menu li.save-all").hasClass("disabled")) { return false; } + + // TODO: 只保存未保存过的文件 for (var i = 0, ii = editors.data.length; i < ii; i++) { this.fmt(tree.fileTree.getNodeByTId(editors.data[i].id).path, editors.data[i].editor);