Skip to content

Commit 0391bca

Browse files
committed
refactor: move emmet command registration to desired files. Remove 'AllPreferences' file
1 parent 84d5baf commit 0391bca

File tree

6 files changed

+221
-271
lines changed

6 files changed

+221
-271
lines changed

src/command/Commands.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ define(function (require, exports, module) {
215215
/** Toggles code beautification on save */
216216
exports.EDIT_BEAUTIFY_CODE_ON_SAVE = "edit.beautifyOnSave"; // CodeHintManager.js _startNewSession()
217217

218+
exports.EDIT_EMMET = "edit.emmet"; // HTMLCodeHints CSSCodeHints
219+
218220
/** Opens find dialog */
219221
exports.CMD_FIND = "cmd.find"; // FindReplace.js _launchFind()
220222

src/command/DefaultMenus.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ define(function (require, exports, module) {
185185
menu.addMenuItem(Commands.SHOW_CODE_HINTS);
186186
menu.addMenuDivider();
187187
menu.addMenuItem(Commands.TOGGLE_CLOSE_BRACKETS);
188+
menu.addMenuItem(Commands.EDIT_EMMET);
189+
188190

189191
/*
190192
* Find menu

0 commit comments

Comments
 (0)